/* ==========================================================================
   Cuisine - Food Blog & Lifestyle Theme Stylesheet
   Color Palette:
   - Primary Accent (Sage Green): #95b5ac
   - Primary Dark Accent: #7b9e94
   - Background Light: #ffffff
   - Footer Background: #f9f8f3
   - Text Primary (Dark Charcoal): #111111
   - Text Body: #757575
   - Text Meta / Muted: #888888
   - Borders: #e6e6e6 / #eeeeee
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Great+Vibes&family=Lato:ital,wght@0,300;0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- Reset & Global Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: 'Lato', sans-serif;
  color: #757575;
  background-color: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #111111;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

a:hover {
  color: #95b5ac;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Helper Classes --- */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* ==========================================================================
   1. HEADER & TOP BAR
   ========================================================================== */

/* Top sage green bar */
#header-top {
  background-color: #95b5ac;
  padding: 10px 0;
  color: #ffffff;
}

#header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header-search {
  display: flex;
  align-items: center;
  position: relative;
}

#header-search input[type="text"] {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  padding-left: 26px;
  width: 180px;
  transition: width 0.3s ease;
}

#header-search input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
}

#header-search button {
  background: transparent;
  border: none;
  color: #ffffff;
  position: absolute;
  left: 0;
  cursor: pointer;
  font-size: 0.85rem;
}

.header-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-social li a {
  color: #ffffff;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.header-social li a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* Header Middle (Logo) */
#header-middle {
  padding: 35px 0 25px 0;
  text-align: center;
  background-color: #ffffff;
}

#site-logo {
  display: inline-block;
  text-decoration: none;
}

.logo-script {
  font-family: 'Great Vibes', 'Alex Brush', cursive;
  font-size: 4.2rem;
  color: #111111;
  line-height: 1;
  letter-spacing: 1px;
  display: block;
}

.logo-sub {
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #888888;
  margin-top: 2px;
  display: block;
}

/* Navigation Bar */
#header-navigation {
  background-color: #ffffff;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 1000;
}

#header-nav {
  display: flex;
  justify-content: center;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.menu > li {
  position: relative;
}

.menu > li > a {
  display: block;
  padding: 16px 20px;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #111111;
}

.menu > li > a:hover,
.menu > li.active > a {
  color: #95b5ac;
}

.menu li.has-children > a::after {
  content: " \f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.65rem;
  margin-left: 5px;
}

/* Submenu Dropdown */
.menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 200px;
  border-top: 2px solid #95b5ac;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu .sub-menu li a {
  padding: 12px 18px;
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #757575;
  border-bottom: 1px solid #f5f5f5;
}

.menu .sub-menu li a:hover {
  background-color: #f9f8f3;
  color: #95b5ac;
}

/* Mobile Nav Toggle */
#mobile-nav-button {
  display: none;
  cursor: pointer;
  padding: 10px;
}

#mobile-nav-icon span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #111111;
  margin: 5px 0;
  transition: 0.3s;
}

/* ==========================================================================
   2. FEATURED CAROUSEL / TOP GRID (3 CARDS)
   ========================================================================== */

.featured-top-section {
  padding: 35px 0 20px 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.featured-card {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 2px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.featured-card .img-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.featured-card .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-card:hover .img-wrapper img {
  transform: scale(1.05);
}

.featured-card-content {
  padding: 22px 18px 25px 18px;
  text-align: center;
  background-color: #ffffff;
}

.featured-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 8px;

}

.featured-card-title a {
  color: #111111;
}

.featured-card-title a:hover {
  color: #95b5ac;
}

.featured-card-excerpt {
  font-size: 0.82rem;
  color: #757575;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.featured-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #95b5ac;
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.featured-dots .dot.active {
  opacity: 1;
}

/* ==========================================================================
   3. MAIN CONTENT LAYOUT (POSTS FEED + SIDEBAR)
   ========================================================================== */

.main-layout {
  padding: 40px 0 60px 0;
}

.main-layout .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* --- Left Main Feed --- */

/* Featured Hero Post */
.hero-post-card {
  background-color: #ffffff;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 45px;
  padding-bottom: 40px;
  text-align: center;
}

.hero-post-img {
  margin-bottom: 25px;
  overflow: hidden;
  border-radius: 2px;
}

.hero-post-img img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-post-img:hover img {
  transform: scale(1.02);
}

.hero-post-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 10px;
}

.hero-post-meta {
  font-size: 0.78rem;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.hero-post-meta a {
  color: #888888;
}

.hero-post-meta a:hover {
  color: #95b5ac;
}

.hero-post-excerpt {
  font-size: 0.92rem;
  color: #757575;
  line-height: 1.8;
  margin-bottom: 25px;
  padding: 0 10px;
  text-align: left;
}

/* Outline Buttons */
.btn-outline {
  display: inline-block;
  padding: 10px 24px;
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #242424;
  background-color: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: #95b5ac;
  border-color: #95b5ac;
  color: #ffffff !important;
}

/* Horizontal Post Cards (Standard List) */
.posts-list {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.post-card-horizontal {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 25px;
  padding-bottom: 35px;
  border-bottom: 1px solid #e6e6e6;
  align-items: center;
}

.post-card-horizontal .post-img {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 3;
}

.post-card-horizontal .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card-horizontal:hover .post-img img {
  transform: scale(1.05);
}

.post-card-horizontal .post-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 6px;
  line-height: 1.3;
}

.post-card-horizontal .post-meta {
  font-size: 0.75rem;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.post-card-horizontal .post-excerpt {
  font-size: 0.88rem;
  color: #757575;
  line-height: 1.65;
  margin-bottom: 18px;
}

/* Feed Pagination */
.feed-pagination {
  margin-top: 45px;
  text-align: center;
}

/* ==========================================================================
   4. SIDEBAR WIDGETS
   ========================================================================== */

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

.widget {
  background-color: #ffffff;
  border: 1px solid #e6e6e6;
  padding: 28px 24px;
}

.widget-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #111111;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 22px;
}

.widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 2px;
  background-color: #95b5ac;
}

/* Widget 1: About Me */
.widget-about {
  text-align: center;
}

.widget-about .profile-img {
  width: 100%;
  max-width: 240px;
  margin: 0 auto 18px auto;
  border-radius: 2px;
  overflow: hidden;
}

.widget-about .author-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 10px;
}

.widget-about .author-bio {
  font-size: 0.83rem;
  color: #757575;
  line-height: 1.6;
  margin-bottom: 18px;
}

.social-icons-row {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons-row a {
  color: #ababab;
  font-size: 0.85rem;
}

.social-icons-row a:hover {
  color: #95b5ac;
}

/* Widget 2: Instagram Grid */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}

.instagram-grid .insta-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.instagram-grid .insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.instagram-grid .insta-item:hover img {
  transform: scale(1.08);
}

.btn-insta-follow {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background-color: #ffffff;
  border: 1px solid #d4d4d4;
  color: #242424;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
}

.btn-insta-follow:hover {
  background-color: #95b5ac;
  border-color: #95b5ac;
  color: #ffffff !important;
}

/* Widget 3: Latest Posts List */
.latest-posts-widget-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.latest-post-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #ececec;
}

.latest-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.latest-post-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
}

.latest-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-post-info .entry-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.3;
  margin-bottom: 4px;
}

.latest-post-info .entry-title a {
  color: #111111;
}

.latest-post-info .entry-title a:hover {
  color: #95b5ac;
}

.latest-post-info .entry-date {
  font-size: 0.72rem;
  color: #888888;
}

/* Widget 5 & 6: Popular / Banner Card Overlay */
.popular-banner-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
}

.popular-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Widget 7: Tags Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  background-color: #eeeeee;
  color: #888888;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.tag-cloud a:hover {
  background-color: #95b5ac;
  color: #ffffff;
}

/* Widget 8: Search */
.widget-search form {
  display: flex;
  gap: 8px;
}

.widget-search input[type="text"] {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #e6e6e6;
  font-size: 0.82rem;
  font-family: 'Lato', sans-serif;
  outline: none;
}

.widget-search input[type="text"]:focus {
  border-color: #95b5ac;
}

.widget-search button {
  padding: 10px 16px;
  background-color: #ffffff;
  border: 1px solid #d4d4d4;
  color: #242424;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.widget-search button:hover {
  background-color: #95b5ac;
  border-color: #95b5ac;
  color: #ffffff;
}

/* ==========================================================================
   5. INSTAGRAM FOOTER STRIP (8 SQUARE PHOTOS)
   ========================================================================== */

.footer-instagram-strip {
  position: relative;
  background-color: #ffffff;
  padding: 0;
  overflow: hidden;
}

.footer-insta-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  width: 100%;
}

.footer-insta-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.footer-insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.footer-insta-item:hover img {
  transform: scale(1.08);
}

.footer-insta-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.footer-insta-overlay-btn a {
  background-color: #ffffff;
  color: #242424;
  padding: 12px 24px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-insta-overlay-btn a:hover {
  background-color: #95b5ac;
  color: #ffffff !important;
}

/* ==========================================================================
   6. MAIN FOOTER
   ========================================================================== */

#footer-main {
  background-color: #f9f8f3;
  padding: 60px 0 45px 0;
  border-top: 1px solid #eeeeee;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}

.footer-col-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #111111;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 22px;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: #95b5ac;
}

.footer-bio-text {
  font-size: 0.85rem;
  color: #757575;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social-icons {
  display: flex;
  gap: 16px;
}

.footer-social-icons a {
  color: #ababab;
  font-size: 0.9rem;
}

.footer-social-icons a:hover {
  color: #95b5ac;
}

/* Footer Post Item */
.footer-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-post-item {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 15px;
  align-items: center;
}

.footer-post-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
}

.footer-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-post-info .title {
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.3;
  margin-bottom: 4px;
}

.footer-post-info .title a {
  color: #111111;
}

.footer-post-info .title a:hover {
  color: #95b5ac;
}

.footer-post-info .date {
  font-size: 0.72rem;
  color: #888888;
}

/* Sub-footer Green Bar */
#footer-social-bar {
  background-color: #95b5ac;
  padding: 14px 0;
  text-align: center;
}

.sub-footer-social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.sub-footer-social-links a {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sub-footer-social-links a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* Footer Bottom Links & Copyright */
#footer-bottom {
  background-color: #f9f8f3;
  padding: 22px 0;
  border-top: 1px solid #eeeeee;
  font-size: 0.78rem;
  color: #696969;
}

#footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-nav {
  display: flex;
  gap: 20px;
}

.footer-bottom-nav a {
  color: #696969;
}

.footer-bottom-nav a:hover {
  color: #95b5ac;
}

.footer-copyright {
  color: #696969;
}

/* Scroll-to-Top Button */
#scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  background-color: #C7C7C7;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  cursor: pointer;
  z-index: 999;
  transition: background-color 0.3s ease, transform 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

#scroll-top:hover {
  background-color: #95b5ac;
  transform: translateY(-3px);
}

/* Modal Reader Preview */
.post-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.post-modal.open {
  opacity: 1;
  visibility: visible;
}

.post-modal-content {
  background: #ffffff;
  max-width: 750px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  border-radius: 4px;
}

.post-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  color: #888;
  cursor: pointer;
}

.post-modal-close:hover {
  color: #111;
}

/* ==========================================================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 991px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .main-layout .container {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .post-card-horizontal {
    grid-template-columns: 1fr;
  }
  
  .footer-insta-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .menu {
    display: none;
  }
  
  #mobile-nav-button {
    display: block;
  }

  #footer-bottom .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   8. SINGLE POST PAGE STYLES
   ========================================================================== */

.single-post-wrapper {
  background-color: #ffffff;
  padding-bottom: 40px;
}

.single-post-header {
  text-align: center;
  margin-bottom: 25px;
}

.single-post-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 12px;
  line-height: 1.25;
}

.single-post-meta {
  font-size: 0.78rem;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.single-post-meta a {
  color: #888888;
}

.single-post-meta a:hover {
  color: #95b5ac;
}

.single-post-featured-img {
  margin-bottom: 30px;
  border-radius: 2px;
  overflow: hidden;
}

.single-post-featured-img img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.single-post-content {
  font-size: 1rem;
  line-height: 1.85;
  color: #555555;
  margin-bottom: 35px;
}

.single-post-content p {
  margin-bottom: 20px;
}

.single-post-content h2,
.single-post-content h3 {
  font-family: 'Playfair Display', serif;
  color: #111111;
  margin: 30px 0 15px 0;
  font-weight: 700;
}

.single-post-content blockquote {
  border-left: 3px solid #95b5ac;
  padding: 15px 25px;
  margin: 25px 0;
  background-color: #f9f8f3;
  font-style: italic;
  color: #444444;
  font-size: 1.05rem;
}

/* Post Tags */
.single-post-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 35px;
}

.single-post-tags .tag-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #111111;
}

/* Author Box */
.author-box {
  display: flex;
  gap: 25px;
  background-color: #f9f8f3;
  padding: 30px;
  border: 1px solid #eeeeee;
  border-radius: 2px;
  margin-bottom: 45px;
  align-items: center;
}

.author-box .author-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-box .author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-box .author-details h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 8px;
}

.author-box .author-details p {
  font-size: 0.88rem;
  color: #757575;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Related Posts Section */
.related-posts-section {
  margin-bottom: 45px;
}

.section-heading-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #111111;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 25px;
}

.section-heading-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: #95b5ac;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-post-card {
  border: 1px solid #eeeeee;
  background-color: #ffffff;
}

.related-post-card .img-box {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.related-post-card .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-post-card:hover .img-box img {
  transform: scale(1.05);
}

.related-post-card-content {
  padding: 15px;
  text-align: center;
}

.related-post-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 6px;
}

.related-post-card-date {
  font-size: 0.72rem;
  color: #888888;
}

/* Comments Section */
.comments-section {
  border-top: 1px solid #eeeeee;
  padding-top: 35px;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.comment-item {
  display: flex;
  gap: 20px;
  padding-bottom: 25px;
  border-bottom: 1px solid #f5f5f5;
}

.comment-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-content h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #111111;
  margin-bottom: 4px;
}

.comment-content .comment-date {
  font-size: 0.72rem;
  color: #888888;
  margin-bottom: 10px;
}

.comment-content p {
  font-size: 0.88rem;
  color: #666666;
  line-height: 1.6;
}

/* Comment Form */
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comment-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e6e6e6;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  outline: none;
  background-color: #ffffff;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: #95b5ac;
}

.comment-form textarea {
  height: 140px;
  resize: vertical;
}

@media (max-width: 768px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  .author-box {
    flex-direction: column;
    text-align: center;
  }
  .comment-form .form-row {
    grid-template-columns: 1fr;
  }
}

