.container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.main-content a {
    font-size: 35px;
    color: black;
}

.main-content a:hover {
    color: #941515;
}
.main-feature img {
    width: 50%;
    height: auto;
    border-radius: 5px;
}

.main-feature-img {
    width: 100%;               
    height: 400px;           
    object-fit: cover;
    border-radius: 5px;
}

.main-content {
    margin-top: 20px;
}

.category p {
    font-size: 10px;
    color: #1a1818;
}

.category {
    color: #941515;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 4px;
}

.description {
    color: #0c0b0b;
    font-size: 10px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-item {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-direction: row-reverse;
}

.sidebar-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.sidebar-text {
    text-align: left;
    flex: 1;         
}

.sidebar-text a {
    font-size: 16px;
    margin: 0;
    color: black;
}
.sidebar-text a:hover {
    color: #941515;
}

@media (max-width: 768px) {

  .container {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 20px auto;
  }

  .main-content a {
    font-size: 24px;
  }

  .main-feature-img {
    height: auto;
    max-height: 240px;
  }

  .sidebar-item {
    flex-direction: row;
    align-items: flex-start;
  }

  .sidebar-item img {
    width: 70px;
    height: 70px;
  }

  .sidebar-text a {
    font-size: 14px;
  }
}

/* work section */
.section-wrapper {
  width: 100%;
  background-color: #ffeded; /* Full-width background color */
  padding: 60px 0; /* Top & bottom spacing */
  margin-top: 40px;
}

.work {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  margin-top: 0;
  margin-bottom: 30px;
}

.section-tag {
  font-size: 14px;
  font-weight: bold;
  color: #941515;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 8px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin: 0;
}

.view-all-btn {
  font-size: 14px;
  background-color: transparent;
  color: #941515;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #941515;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.view-all-btn:hover {
  background-color: #941515;
  color: #fff;
}

.section-grid-wrapper {
  overflow-x: auto;
  padding-bottom: 10px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
}   

/* Card Style */
.blog-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.blog-info {
  padding: 12px 15px;
}

.blog-info p {
  font-size: 13px;
  color: #941515;
  margin-bottom: 5px;
}

.blog-info a {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  display: block;
}

.blog-info a:hover {
  color: #941515;
}

/* Responsive Tweaks */
@media (max-width: 992px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* Study section */
.study {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-top: 50px;
}

/* Food section */
.food {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-top: 50px;
}

/* Travel section */
.travel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-top: 50px;
  margin-bottom: 40px;
}