/* ============================
   ESN LANDING PAGE STYLES
   ============================ */

:root {
  /* Colors */
  --primary-green: #4A7C59;
  --secondary-green: #35583F;
  --text-dark: #1A2E1F;
  --text-gray: #4A4A4A;
  --accent-gold: #C9A84C;
  --tag-bg: rgba(53, 88, 63, 0.1);
  /* Light greenish background based on #35583F */
  --light-gray: #D9D9D9;

  /* Layout - Page Gutter (horizontal padding for sections) */
  --personal-gutter-desktop: 110px;
  --personal-gutter-tablet: 40px;
  --personal-gutter-mobile: 20px;

  /* Layout - Container */
  --personal-max-container: 1320px;
}

/* ============================
   GLOBAL
   ============================ */
body {
  font-family: 'Montserrat', sans-serif;
  color: #1A2E1F;
  overflow-x: hidden;
  background: #F5F8F6;
}

.personal-rekrutmen-section,
.page-container,
.personal-section {
  padding-left: var(--personal-gutter-desktop);
  padding-right: var(--personal-gutter-desktop);
}

/* Vertical padding for sections */
/* Container inside sections */
.personal-container {
  width: 100%;
  max-width: var(--personal-max-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

/* ============================
   RESPONSIVE LAYOUT
   ============================ */
@media (max-width: 991px) {

  .personal-rekrutmen-section,
  .page-container,
  .personal-section {
    padding-left: var(--personal-gutter-tablet);
    padding-right: var(--personal-gutter-tablet);
  }
}

/* ============================
   NEW HERO SECTION (DITO ANUROGO)
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400;0,700;1,400&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

#personal-hero {
  padding-top: 150px;
  padding-bottom: 80px;
  background: linear-gradient(102.89deg, rgba(74, 124, 89, 0.1) -0.49%, rgba(201, 168, 76, 0.1) 34.72%, rgba(170, 157, 79, 0.1) 59.1%, rgba(74, 124, 89, 0.1) 100%);
}

.personal-hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* Left Content */
.personal-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.personal-hero-jobs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.personal-hero-jobs span:not(.job-bullet) {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.job-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--light-gray);
}

.personal-hero-name {
  font-family: 'Baskervville', serif;
  font-weight: 600;
  font-size: 56px;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  max-width: 450px;
}

.personal-hero-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-gray);
  max-width: 600px;
}

.personal-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 8px 16px;
  background-color: var(--tag-bg);
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: var(--secondary-green);
}

.personal-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 8px 20px;
  border-radius: 8px;
  background-color: var(--primary-green);
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--primary-green);
}

.btn-primary-green:visited {
  color: #FFFFFF;
}

.btn-primary-green:hover,
.btn-primary-green:focus,
.btn-primary-green:active {
  background-color: var(--secondary-green);
  border-color: var(--secondary-green);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

.btn-outline-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 8px 20px;
  border-radius: 8px;
  background-color: #FFFFFF;
  color: var(--primary-green);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  text-decoration: none;
  border: 1px solid var(--primary-green);
  transition: all 0.3s ease;
}

.btn-outline-green:visited {
  color: var(--primary-green);
}

.btn-outline-green:hover,
.btn-outline-green:focus,
.btn-outline-green:active {
  background-color: var(--primary-green);
  color: #FFFFFF;
  border-color: var(--primary-green);
  transform: translateY(-2px);
}

/* Right Image */
.personal-hero-image-wrapper {
  flex-shrink: 0;
}

.personal-hero-image-box {
  width: 400px;
  height: 450px;
  border-radius: 28.3px;
  background: linear-gradient(178.48deg, rgba(74, 124, 89, 0.9) 1.29%, #333333 117.54%);
  box-shadow: 0px 16.98px 82.08px 0px rgba(43, 56, 76, 0.09);
  position: relative;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .personal-hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .personal-hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .personal-hero-jobs {
    justify-content: center;
  }

  .personal-hero-tags {
    justify-content: center;
  }

  .personal-hero-name {
    font-size: 48px;
    line-height: 60px;
  }
}

@media (max-width: 767px) {
  #personal-hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .personal-hero-name {
    font-size: 40px;
    line-height: 50px;
  }

  .personal-hero-jobs span:not(.job-bullet) {
    font-size: 16px;
  }

  .personal-hero-image-box {
    width: 100%;
    max-width: 350px;
    height: 390px;
  }
}

@media (max-width: 575px) {
  .personal-hero-name {
    font-size: 32px;
    line-height: 42px;
  }

  .personal-hero-jobs span:not(.job-bullet) {
    font-size: 14px;
  }

  .personal-hero-tags {
    gap: 8px;
  }

  .hero-tag {
    font-size: 14px;
    padding: 6px 12px;
  }

  .personal-hero-image-box {
    max-width: 300px;
    height: 340px;
  }
}

/* ============================
   HEADER SECTION
   ============================ */

.personal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 80px;
  padding-top: 18px;
  padding-bottom: 18px;
  padding-left: var(--personal-gutter-desktop, 110px);
  padding-right: var(--personal-gutter-desktop, 110px);
  border-bottom: 1px solid #4A7C59;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.personal-header.scrolled {
  background: white !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-logo a {
  font-family: 'Baskervville', serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 44px;
  letter-spacing: -0.02em;
  color: #35583F;
  text-decoration: none;
}

.header-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.header-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #6B7A6E;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-nav a:hover,
.header-nav a.active {
  font-weight: 600;
  color: #4A7C59;
}

/* Header Responsive */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 1199px) {
  .header-nav {
    gap: 20px;
  }
}

@media (max-width: 1023px) {
  .personal-header {
    padding-left: var(--personal-gutter-tablet, 40px);
    padding-right: var(--personal-gutter-tablet, 40px);
    position: relative;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 20px 40px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #eee;
    z-index: 1000;
  }

  .header-nav.show-mobile {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 575px) {
  .personal-header {
    padding-left: var(--personal-gutter-mobile, 24px);
    padding-right: var(--personal-gutter-mobile, 24px);
  }

  .header-nav {
    padding: 20px 24px;
  }
}

/* ============================
   STATISTICS SECTION
   ============================ */

#personal-stats {
  padding-top: 80px;
  padding-bottom: 60px;
  background-color: #F5F8F6;
}

.personal-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  row-gap: 60px;
}

.stat-item {
  padding: 0 32px;
}

.stat-item-right {
  text-align: end;
}

/* Border right for items not in the last column */
.stat-item:not(:nth-child(3n)) {
  border-right: 1px solid #D2D2D2;
}

.stat-value {
  font-family: 'Baskervville', serif;
  font-weight: 500;
  font-size: 42px;
  line-height: 100%;
  color: var(--primary-green);
  margin-bottom: 16px;
}

.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: var(--text-dark);
}

/* Responsive Stats */
@media (max-width: 991px) {
  .personal-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .stat-item {
    border-right: none !important;
    padding: 0 16px;
    text-align: center;
  }

  .stat-item-right {
    text-align: start;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid #D2D2D2 !important;
  }
}

@media (max-width: 575px) {
  .personal-stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item:nth-child(odd) {
    border-right: none !important;
  }

  .stat-item {
    border-bottom: 1px solid #D2D2D2;
    padding-bottom: 24px;
  }

  .stat-item:last-child {
    border-bottom: none;
  }
}

/* ============================
   RESEARCH SECTION
   ============================ */

#personal-research {
  padding-top: 60px;
  padding-bottom: 120px;
  background-color: #F5F8F6;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-green);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Baskervville', serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 48px;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 60px;
  row-gap: 48px;
}

.research-item {
  text-align: left;
}

.research-item-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: 24px;
  line-height: 100%;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.research-item-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #777777;
}

/* Responsive Research */
@media (max-width: 991px) {
  .research-grid {
    column-gap: 40px;
  }
}

@media (max-width: 767px) {
  .research-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .section-title {
    font-size: 32px;
    line-height: 40px;
  }
}

/* ============================
   GALLERY SECTION
   ============================ */

#personal-gallery {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.gallery-item {
  position: relative;
  width: 100%;
  height: 262px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #F5F8F6;
  cursor: pointer;
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 16px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
}

.gallery-desc {
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  text-align: center;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Skeleton loading cards */
@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton-block {
  background: linear-gradient(90deg, #e8eee9 25%, #f5f8f6 50%, #e8eee9 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  border-radius: 8px;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-blog-image {
  width: 100%;
  height: 300px;
  max-height: 300px;
  border-radius: 16px 16px 0 0;
}

.skeleton-blog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-line {
  height: 14px;
  width: 100%;
}

.skeleton-line-sm {
  width: 35%;
  height: 12px;
}

.skeleton-line-md {
  width: 75%;
}

.skeleton-line-lg {
  width: 90%;
  height: 20px;
}

.skeleton-line-xs {
  width: 30%;
  height: 12px;
}

.skeleton-gallery-item {
  cursor: default;
}

.skeleton-gallery-image {
  width: 100%;
  height: 100%;
  min-height: 262px;
  border-radius: 12px;
}

.skeleton-pill {
  width: 100px;
  height: 28px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.skeleton-book-cover {
  width: 215px;
  height: 300px;
  flex-shrink: 0;
  border-radius: 8px;
}

.skeleton-book-pub-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-bullet {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.skeleton-card.featured-card,
.skeleton-card.pub-card,
.skeleton-card.achievement-card,
.skeleton-card.book-pub-card,
.skeleton-card.stat-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-card.stat-item {
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 24px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.05);
}

.skeleton-card.achievement-card {
  min-height: 108px;
}

.skeleton-card.book-pub-card {
  pointer-events: none;
}

/* Lock page scroll while modal is open */
html.modal-open,
body.modal-open {
  overflow: hidden;
  height: 100%;
}

body.modal-open {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

/* Documentation modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 12px 12px 0 0;
}

.modal-content h3 {
  font-family: 'Baskervville', serif;
  font-size: 24px;
  color: #1A2E1F;
  margin: 24px 24px 12px;
}

.modal-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #666;
  margin: 0 24px 24px;
  line-height: 1.6;
}

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

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

/* ============================
   BLOG SECTION
   ============================ */

#personal-blog {
  padding-top: 60px;
  padding-bottom: 120px;
}

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

.page-container .blog-grid {
  margin-bottom: 60px;
}

.blog-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
  width: 100%;
  height: 300px;
  max-height: 300px;
  overflow: hidden;
  background: #F5F8F6;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
  object-position: top;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-date {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #4A7C59;
  margin-bottom: 12px;
}

.blog-card-title {
  font-family: 'Baskervville', serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #1A2E1F;
  margin-bottom: 12px;
}

.blog-card-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #666;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4A7C59;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.blog-card-link:hover {
  color: #35583F;
  gap: 12px;
}

/* Responsive Blog */
@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .blog-card-image {
    height: 180px;
    max-height: 180px;
  }

  .blog-card-image img {
    max-height: 180px;
  }

  .blog-card-content {
    padding: 20px;
  }
}

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

@media (max-width: 575px) {
  .blog-grid {
    gap: 16px;
  }

  .blog-card-image {
    height: 200px;
    max-height: 200px;
  }

  .blog-card-image img {
    max-height: 200px;
  }

  .blog-card-content {
    padding: 16px;
  }

  .blog-card-title {
    font-size: 18px;
    line-height: 26px;
  }
}

/* ============================
   SHARED / REUSABLE SECTIONS
   (Books & Professional Roles)
   ============================ */

.section-split {
  padding-top: 60px;
  padding-bottom: 60px;
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.section-header-split .header-left {
  max-width: 60%;
}

.section-header-split .header-right {
  max-width: 35%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  text-align: right;
  color: #777777;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.featured-card {
  padding: 32px;
  background: #FFFFFF;
  border-left: 6px solid #C9A84C;
  border-radius: 24px;
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.featured-card-tag {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #C9A84C;
  margin-bottom: 12px;
}

.featured-card-title {
  font-family: 'Baskervville', serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  color: #35583F;
  margin-bottom: 16px;
}

.featured-card-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
}

.featured-card-info.role {
  color: #777777;
}

.featured-card-info.book {
  color: #4A4A4A;
}

.featured-card-info img {
  width: 24px;
  height: 24px;
}

.featured-card-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #A4A4A4;
  margin-top: 12px;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  /* Using standard button height for better touch target */
  padding: 8px 24px;
  border-radius: 8px;
  background: #4A7C59;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-view-all:hover {
  background: #35583F;
  color: #FFFFFF;
}

.btn-container {
  display: flex;
  justify-content: center;
  /* right align button if needed, or center */
}

/* Responsive Shared */
@media (max-width: 991px) {
  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .section-header-split .header-left,
  .section-header-split .header-right {
    max-width: 100%;
    text-align: left;
  }
}

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

/* ============================
   EDUCATION & EXP SECTION
   ============================ */

#personal-edu-exp {
  padding-top: 80px;
  padding-bottom: 80px;
  background-image: url('../img/home/bg-edu-profesional.png');
  background-size: cover;
  background-position: center;
  background-color: #F5F8F6;
  /* Fallback */
}

.edu-exp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.timeline-header {
  display: inline-block;
  font-family: 'Baskervville', serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 48px;
  color: var(--text-dark);
  padding-bottom: 20px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--primary-green);
  text-align: start;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline-item {
  display: flex;
  gap: 24px;
  position: relative;
}

/* Timeline vertical line */
.timeline-item:not(:last-of-type)::after {
  content: '';
  position: absolute;
  left: 18px;
  top: 36px;
  bottom: -32px;
  width: 1px;
  background-color: #B8BEBA;
  z-index: 1;
}

.timeline-bullet-wrap {
  width: 36px;
  height: 36px;
  background: #EEE4C8;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.timeline-bullet {
  width: 20px;
  height: 20px;
  background: #C9A84C;
  border-radius: 100px;
}

.timeline-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.timeline-title {
  font-family: 'Baskervville', serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #35583F;
}

.timeline-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: 16px;
  line-height: 100%;
  color: #333333;
}

.timeline-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: #8E8E8E;
}

.timeline-more {
  font-family: 'Baskervville', serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #35583F;
  margin-top: -16px;
  /* pull up closer to the dots */
}

/* ============================
   ACHIEVEMENTS SECTION
   ============================ */

#personal-achievements {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #F5F8F6;
}

.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.achievement-card {
  padding: 24px 32px;
  background: #FFFFFF;
  border-left: 6px solid #C9A84C;
  border-radius: 24px;
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.05);
}

.achievement-card-title {
  font-family: 'Baskervville', serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #35583F;
  margin-bottom: 12px;
}

.achievement-card-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #606060;
}

/* Responsive EDU & ACHIEVEMENTS */
@media (max-width: 991px) {
  .edu-exp-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 575px) {
  .achievement-card {
    padding: 20px;
  }
}

/* ============================
   AWARDS & CERTIFICATIONS
   ============================ */

#personal-awards {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #F5F8F6;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.awards-column {
  display: flex;
  flex-direction: column;
}

.awards-column .section-header {
  text-align: left;
  margin-bottom: 32px;
}

.awards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  flex: 1;
  /* Pushes the button to the bottom if columns are uneven */
}

/* ============================
   PUBLICATIONS (RESEARCH & BOOK)
   ============================ */

#personal-publications-research,
#personal-publications-book {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #F5F8F6;
}

/* Research Cards */
.pub-card {
  padding: 32px;
  background: #FFFFFF;
  border-left: 6px solid #C9A84C;
  border-radius: 24px;
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pub-tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(201, 168, 76, 0.2);
  /* #C9A84C33 */
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #C9A84C;
  margin-bottom: 16px;
  width: max-content;
}

.pub-title {
  font-family: 'Baskervville', serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  color: #35583F;
  margin-bottom: 12px;
}

.pub-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #4A4A4A;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.pub-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pub-meta-item img {
  width: 24px;
  height: 24px;
}

.pub-meta-divider {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #D9D9D9;
}

.pub-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #777777;
  margin-bottom: 24px;
  flex: 1;
}

.pub-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 8px 16px;
  border-radius: 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  gap: 8px;
  transition: all 0.3s ease;
  background: #FFFFFF;
}

.btn-outline img {
  width: 18px;
  height: 18px;
}

.btn-doi {
  border: 1px solid #C9A84C;
  color: #C9A84C;
}

.btn-doi:hover {
  background: #C9A84C;
  color: #FFFFFF;
}

.btn-doi:hover img {
  filter: brightness(0) invert(1);
}

.btn-pdf {
  border: 1px solid #EF5350;
  color: #EF5350;
}

.btn-pdf:hover {
  background: #EF5350;
  color: #FFFFFF;
}

.btn-pdf:hover img {
  filter: brightness(0) invert(1);
}

/* Book Cards */
.book-pub-list {
  display: flex;
  flex-direction: column;
  gap: 42px;
  margin-bottom: 40px;
}

.book-pub-card {
  display: flex;
  gap: 42px;
  padding: 42px;
  background: #FFFFFF;
  border-left: 6px solid #C9A84C;
  border-radius: 24px;
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.05);
}

.book-pub-image {
  width: 215px;
  height: 300px;
  flex-shrink: 0;
}

.book-pub-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.book-pub-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Responsive Awards & Pubs */
@media (max-width: 991px) {
  .awards-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .book-pub-card {
    flex-direction: column;
    padding: 32px;
  }

  .book-pub-image {
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .book-pub-card {
    padding: 24px;
  }
}

/* ============================
   PAGES COMPONENTS (TABS & PAGINATION)
   ============================ */

/* Pagination */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50px;
  border: 1px solid #4A7C59;
  background: #FFFFFF;
  color: #4A7C59;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-btn:hover {
  background: rgba(74, 124, 89, 0.1);
}

.page-btn:active,
.page-btn:focus {
  color: #4A7C59 !important;
  background: rgba(74, 124, 89, 0.1);
  outline: none;
}

.page-btn.active {
  background: #4A7C59;
  color: #FFFFFF;
}

.page-btn.active:active,
.page-btn.active:focus {
  color: #FFFFFF !important;
  outline: none;
}

.page-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 25px;
  /* as per spec, slightly less rounded than 50px if square, but usually it's circle */
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  /* fallback border if not specified */
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.page-nav-btn:hover {
  background: #F5F8F6;
}

.page-nav-btn:active,
.page-nav-btn:focus {
  background: #F5F8F6;
  outline: none;
}

.page-nav-btn img {
  width: 21px;
  height: 21px;
}

/* Tabs */
.tabs-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 73px;
  gap: 11px;
  border-radius: 100px;
  padding: 10px;
  background: rgba(245, 245, 245, 0.05);
  /* #F5F5F50D */
  border: 1px solid rgba(74, 124, 89, 0.5);
  /* #4A7C5980 */
  margin-bottom: 48px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 53px;
  gap: 10px;
  border-radius: 100px;
  padding: 10px 28px;
  color: #333333;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: #4A7C59;
  color: #FFFFFF;
}

/* Page specific grids */
.page-container {
  padding-top: 120px;
  /* Space for navbar */
  padding-bottom: 80px;
  background-color: #F5F8F6;
  min-height: 100vh;
}

/* Responsive Tabs */
@media (max-width: 767px) {
  .tabs-wrapper {
    flex-direction: column;
    border-radius: 24px;
    padding: 16px;
  }

  .tab-btn {
    width: 100%;
  }
}

/* Tab Content */
.tab-content {
  width: 100%;
  animation: fadeInContent 0.3s ease-out;
}

.tab-content:not(:first-of-type) {
  display: none;
}

.tab-content.animate-fade-in {
  animation: fadeInContent 0.3s ease-out forwards;
}

/* ============================
   ANIMATIONS
   ============================ */

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInContent 0.4s ease-out forwards;
}

/* ============================
   EMPTY STATE
   ============================ */
.empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: #FFFFFF;
  border-radius: 16px;
  border: 1px dashed #C9A84C;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state-title {
  font-family: 'Baskervville', serif;
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.empty-state-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: var(--text-gray);
}

/* ============================
   ABOUT PAGE STYLES
   ============================ */
.about-hero-description p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #4A4A4A;
  margin-bottom: 16px;
}

.about-icons-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.about-education-1col .timeline-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-split-section {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  align-items: center;
}

.about-split-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-specialties-title {
  font-family: 'Baskervville', serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 48px;
  letter-spacing: -0.02em;
  text-align: center;
  color: #1A2E1F;
  border-bottom: 0.5px solid #C9A84C;
  padding-bottom: 16px;
  margin: 0 auto 40px auto;
  width: max-content;
}

.about-specialties-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}

.about-specialties-list li {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #333333;
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 20px;
}

.about-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-list-icon {
  width: 28px;
  height: 28px;
}

.contact-list-content .contact-label {
  font-family: 'Baskervville', serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #35583F;
  margin-bottom: 4px;
}

.contact-list-content .contact-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #606060;
}

/* About Page Specific Styles */
.about-hero-section {
  padding-top: 150px;
  padding-bottom: 80px;
}

.about-hero-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-gray);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-education-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.about-bg {
  background-image: url('../img/home/bg-edu-profesional.png');
  background-size: cover;
  background-position: center;
  background-color: #F5F8F6;
}

.about-experience-section {
  background: transparent;
  padding-top: 80px;
  padding-bottom: 80px;
}

.about-specialties-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.about-contact-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background: transparent;
}

/* View Diploma Button */
.btn-view-diploma {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  height: 36px;
  padding: 8px 16px;
  border-radius: 18px;
  border: 1px solid #C9A84C;
  background: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  color: #C9A84C;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.btn-view-diploma:hover {
  background: #C9A84C;
  color: #FFFFFF;
}

.btn-view-diploma:hover img {
  filter: brightness(0) invert(1);
}

.btn-view-diploma img {
  width: 16px;
  height: 16px;
  transition: filter 0.3s ease;
}

/* Education timeline item with diploma button */
.edu-timeline-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.edu-timeline-row .timeline-item {
  flex: 1;
}

.edu-timeline-row .btn-view-diploma {
  margin-top: 8px;
}

/* Diploma Modal */
.diploma-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.diploma-modal-overlay.active {
  display: flex;
}

.diploma-modal {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.diploma-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #E0E0E0;
}

.diploma-modal-header h3 {
  font-family: 'Baskervville', serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #1A2E1F;
  margin: 0;
}

.diploma-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.diploma-modal-close:hover {
  background: #F0F0F0;
}

.diploma-modal-body {
  padding: 24px;
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

.diploma-modal-body img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 991px) {
  .about-split-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-specialties-list {
    grid-template-columns: 1fr;
  }

  .edu-timeline-row {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 575px) {
  .diploma-modal {
    max-width: 100%;
    border-radius: 12px;
  }

  .btn-view-diploma {
    font-size: 14px;
    padding: 6px 12px;
    height: 32px;
  }
}


/* ============================
   PAGE INFO BAR (Breadcrumb & Page Details)
   ============================ */

.page-info-bar {
  background-color: #F5F8F6;
  border-bottom: 1px solid #E0E0E0;
  padding: 16px 0;
  margin-top: 0;
}

.page-info-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.breadcrumb-link {
  color: #4A7C59;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: #35583F;
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #999;
}

.breadcrumb-current {
  color: #333;
  font-weight: 500;
}

.page-details {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #666;
}

.page-detail-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-detail-item strong {
  color: #333;
  font-weight: 600;
}

.page-detail-item code {
  background-color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid #ddd;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #666;
}

.page-detail-separator {
  color: #ddd;
}

@media (max-width: 991px) {
  .page-info-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .page-details {
    flex-wrap: wrap;
  }
}

@media (max-width: 575px) {
  .page-info-bar {
    padding: 12px 0;
  }

  .page-breadcrumb {
    font-size: 12px;
  }

  .page-details {
    font-size: 11px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .page-detail-separator {
    display: none;
  }

  .page-detail-item code {
    display: block;
    margin-top: 4px;
  }
}

/* ============================
   FOOTER STYLES
   ============================ */

.personal-footer {
  background: transparent;
  padding-top: 80px;
  padding-bottom: 40px;
  padding-left: var(--personal-gutter-desktop, 110px);
  padding-right: var(--personal-gutter-desktop, 110px);
  border-top: 1px solid #4A7C59;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-identity {
  display: flex;
  flex-direction: column;
}

.footer-name {
  font-family: 'Baskervville', serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 64px;
  letter-spacing: -0.02em;
  color: #35583F;
}

.footer-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #333333;
}

.footer-socials {
  display: flex;
  gap: 24px;
  padding: 12px 0;
  align-items: center;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: transparent;
  border-radius: 50%;
  transition: opacity 0.3s ease;
}

.social-icon:hover {
  opacity: 0.7;
}

.footer-divider {
  border-top: 1px solid #C9A84C;
  margin-bottom: 32px;
}

.footer-copyright {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  color: #333333;
}

@media (max-width: 991px) {
  .personal-footer {
    padding-left: var(--personal-gutter-tablet, 40px);
    padding-right: var(--personal-gutter-tablet, 40px);
  }
}

@media (max-width: 767px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }

  .footer-name {
    font-size: 28px;
    line-height: 40px;
  }

  .footer-desc {
    font-size: 16px;
    line-height: 24px;
  }

  .footer-copyright {
    font-size: 14px;
    line-height: 22px;
  }
}

@media (max-width: 575px) {
  .personal-footer {
    padding-left: var(--personal-gutter-mobile, 24px);
    padding-right: var(--personal-gutter-mobile, 24px);
  }

  .footer-socials {
    gap: 16px;
  }
}

/* ============================
   BLOG DETAIL PAGE STYLES
   ============================ */

.blog-detail-header {
  text-align: center;
  margin-bottom: 40px;
}

.blog-detail-title {
  font-family: 'Baskervville', serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.blog-detail-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: 'Montserrat', sans-serif;
  color: #6B7A6E;
  font-size: 14px;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-meta-item svg,
.blog-meta-item img {
  width: 16px;
  height: 16px;
}

.blog-detail-hero {
  width: 100%;
  max-height: 900px;
  height: 900px;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  margin-bottom: 40px;
  display: block;
}

.blog-detail-content {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #4A4A4A;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .blog-detail-title {
    font-size: 36px;
  }

  .blog-detail-hero {
    max-height: 280px;
    height: 280px;
  }
}

@media (max-width: 575px) {
  .blog-detail-title {
    font-size: 28px;
  }

  .blog-detail-meta-row {
    gap: 12px;
    font-size: 12px;
  }

  .blog-detail-hero {
    max-height: 220px;
    height: 220px;
  }

  .blog-detail-content {
    font-size: 16px;
  }
}


/* ============================
   CONTACT LINKS STYLING
   ============================ */

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 12px;
  border-radius: 8px;
  margin: -12px;
}

.contact-link:hover {
  background-color: rgba(74, 124, 89, 0.05);
  transform: translateX(4px);
}

.contact-link .contact-label {
  transition: color 0.3s ease;
}

.contact-link:hover .contact-label {
  color: #4A7C59;
}

.contact-link .contact-value {
  transition: color 0.3s ease;
}

.contact-link:hover .contact-value {
  color: #4A7C59;
}

a:focus-visible,
button:focus-visible,
.btn-view-all:focus-visible,
.tab-btn:focus-visible {
  outline: 2px solid #4A7C59;
  outline-offset: 2px;
}