/* Nav dropdown */
.nav__item--has-children { position: relative; }
.nav__item--has-children:hover::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px; /* hover buffer to bridge the gap to submenu */
}
.nav__caret { font-size: 0.8em; margin-left: 6px; transition: transform .2s ease, color .2s ease; opacity: .9; }
.nav__item--has-children:hover > .nav__link .nav__caret { transform: rotate(180deg); opacity: 1; }
.nav__submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: rgba(20, 22, 25, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  border-radius: 10px;
  padding: 8px 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.nav__submenu:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 18px;
  width: 12px;
  height: 12px;
  background: inherit;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
  transform: rotate(45deg);
}
.nav__submenu-item { list-style: none; }
.nav__submenu-item + .nav__submenu-item { border-top: 1px solid rgba(255,255,255,0.06); }
.nav__submenu-link {
  display: block;
  padding: 12px 16px;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.2;
}
.nav__submenu-link:hover { background: rgba(255,255,255,0.06); color: #fff; }

/* Show on hover for desktop */
@media (hover: hover) and (pointer: fine) {
  .nav__item--has-children:hover > .nav__submenu,
  .nav__item--has-children > .nav__submenu:hover { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
}

/* Mobile accordion behavior */
.nav__item--has-children.open > .nav__submenu { opacity: 1; visibility: visible; pointer-events: auto; position: static; border: 0; box-shadow: none; background: transparent; padding: 6px 0 0; transform: none; }
.nav__item--has-children.open > .nav__link .nav__caret { transform: rotate(180deg); }
:root {
    --bg-primary: #0f1419;
    --bg-secondary: #1a1d23;
    --text-primary: #e8e3d8;
    --text-secondary: #c7beb3;
    --text-accent: #ff8c42;
    --text-muted: #9d9488;
    --border-color: #2d3133;
    --bg-hover: #232b2b;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    --dark-800: #171513;
    --offwhite: #F4EBE8;
}

/* Aeonik font successfully applied site-wide */

/* Site header */
.site-header {
    background: #000000;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-content {
    /* max-width: 1200px; */
    margin: 0;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-title {
    font-family: 'Aeonik', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-accent);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.site-logo {
    height: 24px;
    width: auto;
}

.site-title:hover {
    color: #f43f5e;
}

.header-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.header-link:hover {
    color: var(--text-accent);
}

.header-link.get-started {
    background: linear-gradient(90deg, #f43f5e 0%, #f97316 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 500;
}

.header-link.get-started:hover {
    background: linear-gradient(90deg, #f97316 0%, #f43f5e 100%);
    color: white;
}

/* Featured section */
.featured-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.main-featured {
    background: linear-gradient(120deg, #232627 60%, #232b2b 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.main-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.main-featured .preview-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.main-featured:hover .preview-image {
    transform: scale(1.02);
}

.main-featured h2 {
    font-family: 'Aeonik', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.25rem 1.25rem 0.75rem 1.25rem;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.main-featured h2 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.main-featured h2 a:hover {
    color: var(--accent-color);
}

.main-featured .post-date {
    margin: 0 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.main-featured .post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0 1rem 0.4rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
}

.main-featured .post-meta .post-author {
    text-align: left;
}

.main-featured .post-meta .post-date {
    text-align: right;
}

.main-featured .post-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 1.25rem 1.25rem 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Aeonik', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0;
    opacity: 0.95;
    max-width: 90%;
    font-weight: 400;
}

.main-featured:hover .post-description {
    opacity: 1;
}

.side-featured {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.side-featured-post {
    background: linear-gradient(120deg, #232627 60%, #232b2b 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.side-featured-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.side-featured-post .preview-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.side-featured-post h2 {
    font-family: 'Aeonik', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    margin: 0.8rem 0.8rem 0.3rem 0.8rem;
    color: var(--text-primary);
    line-height: 1.3;
    text-align: left !important;
}

.side-featured-post h2 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.side-featured-post .post-meta {
    display: block !important;
    text-align: left !important;
    margin: 0.4rem 0.8rem 0.8rem !important;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Post grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Post cards */
.post-card {
    background: linear-gradient(120deg, #232627 60%, #232b2b 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.post-card .preview-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.post-card:hover .preview-image {
    transform: scale(1.02);
}

.post-card h2 {
    font-family: 'Aeonik', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0.8rem 0.8rem 0.3rem 0.8rem;
    color: var(--text-primary);
    line-height: 1.3;
    text-align: left !important;
}

.post-card h2 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.post-card h2 a:hover {
    color: var(--accent-color);
}

.post-card .post-meta {
    display: block !important;
    text-align: left !important;
    margin: 0.4rem 0.8rem 0.8rem !important;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

.post-card .post-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0.8rem 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.8;
    text-align: left;
}

/* Single post */
.single-post {
    background: linear-gradient(120deg, #232627 60%, #232b2b 100%);
    border-radius: 18px;
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
}

.post-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.7rem;
    background: linear-gradient(120deg, #232627 60%, #232b2b 100%);
    border-radius: 10px;
    padding: 1rem;
}

main h1 {
    font-family: 'Aeonik', sans-serif;
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 0;
    color: var(--text-primary);
    line-height: 1.3;
    text-align: center;
    letter-spacing: -0.02em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

main .post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 400;
}

.single-post .post-date {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.single-post .preview-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.single-post .post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 400;
}

.single-post .post-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.single-post .share-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.single-post .share-button {
    padding: 0.5rem 1rem;
    background: var(--bg-primary);
    border-radius: 6px;
    color: var(--text-accent);
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.single-post .share-button:hover {
    background: var(--bg-hover);
    color: #fff;
}

/* Post layout */
.post-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.post-main {
    min-width: 0;
}


/* Image width constraints for all post images */
.post-content img,
.main-featured img,
.side-featured-post img,
.post-card img,
article img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  object-fit: contain;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Post navigation */
.post-navigation {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: right;
}

.back-link {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: var(--bg-primary);
  border-radius: 6px;
  transition: background-color 0.2s;
  @include text-style(body-medium);
  font-weight: 500;
  color: var(--text-accent);

  &:hover {
    background: var(--bg-hover);
    color: #fff;
  }
}

/* Responsive table handling */
@media (max-width: 768px) {
  .single-post {
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
}

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

@media (max-width: 1024px) {

  .featured-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .main-featured h2 {
    font-size: 1.5rem;
  }

  .side-featured {
    margin-top: 0;
  }

  .post-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .post-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .main-featured h2 {
    font-size: 1.3rem;
  }

  .main-featured .post-description {
    font-size: 1rem;
  }

  .single-post h1 {
    font-size: 2rem;
  }

  .single-post .preview-image {
    height: 200px;
    height: auto;
    aspect-ratio: auto;
    max-height: 250px;
    object-fit: contain;
  }

  .post-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .header-links {
    gap: 1rem;
  }

  .header-link {
    font-size: 0.9rem;
  }

  .site-logo {
    height: 24px;
  }

  .side-featured {
    grid-template-columns: 1fr;
  }
}

/* Add smooth transition for hover effects */
.post-card:hover .post-description,
.main-featured:hover .post-description,
.side-featured-post:hover .post-description {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0 1.25rem 0.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.8;
}

.post-meta .post-author {
    text-align: left;
}

.post-meta .post-date {
    text-align: right;
}

.post-meta .meta-divider {
    font-size: 1.2em;
    margin: 0 0.3em;
    opacity: 0.6;
}

.post-category {
    font-family: 'Aeonik', sans-serif;
    color: var(--text-accent);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-featured .post-meta {
    margin: 0.5rem 1rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.main-featured .post-meta .meta-divider {
    margin: 0 0.2rem;
}

.side-featured-post .post-meta {
    margin: 0.4rem 0.8rem 0.8rem;
    font-size: 0.85rem;
    text-align: left;
}

.side-featured-post .post-meta .meta-divider {
    margin: 0 0.2rem;
}

.post-card:hover .post-meta,
.main-featured:hover .post-meta,
.side-featured-post:hover .post-meta {
    opacity: 1;
}

@media (max-width: 1024px) {
    .logo-overlay {
        width: 28px;
        height: 28px;
    }

    .logo-overlay img {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 768px) {
    .logo-overlay {
        width: 24px;
        height: 24px;
    }

    .logo-overlay img {
        width: 15px;
        height: 15px;
    }
}



/* Related posts section */
.related-posts {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.related-posts h2 {
    font-family: 'Aeonik', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-accent);
}

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

.related-post {
    background: linear-gradient(120deg, #232627 60%, #232b2b 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.related-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.related-post .related-preview-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.related-post:hover .related-preview-image {
    transform: scale(1.02);
}

.related-post h3 {
    font-size: 1rem;
    margin: 0.8rem 0.8rem 0.3rem 0.8rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.related-post h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.related-post h3 a:hover {
    color: var(--text-accent);
}

.related-post .post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0 0.8rem 0.8rem 0.8rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.8;
}

.related-post .post-meta .post-author {
    text-align: left;
}

.related-post .post-meta .post-date {
    text-align: right;
}

.related-post:hover .post-meta {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumbs removed */

.announcement-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 0.5rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    line-height: 1;
}

.announcement-close:hover {
    opacity: 1;
}

.announcement-bar.hidden {
    display: none;
}

/* Pagination Styles - Enhanced & Stylish */
main .pagination,
nav.pagination {
    margin: 2rem 0 2rem 0 !important;
    padding: 1.5rem 1rem !important;
    background: linear-gradient(135deg, rgba(35, 38, 39, 0.3) 0%, rgba(35, 43, 43, 0.5) 100%) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(249, 115, 22, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

main .pagination::before,
nav.pagination::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.3), transparent);
}

main .pagination-links,
nav.pagination .pagination-links {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
}

main .pagination-link,
nav.pagination .pagination-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 2.25rem !important;
    height: 2.25rem !important;
    padding: 0 0.75rem !important;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(35, 38, 39, 0.8) 100%) !important;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(249, 115, 22, 0.15) !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
}

main .pagination-link::before,
nav.pagination .pagination-link::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent) !important;
    transition: left 0.5s ease !important;
}

main .pagination-link:hover::before,
nav.pagination .pagination-link:hover::before {
    left: 100% !important;
}

main .pagination-link:hover,
nav.pagination .pagination-link:hover {
    background: linear-gradient(135deg, var(--bg-hover) 0%, rgba(249, 115, 22, 0.1) 100%) !important;
    color: var(--text-primary) !important;
    transform: translateY(-1px) scale(1.03) !important;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2), 0 2px 5px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(249, 115, 22, 0.4) !important;
}

main .pagination-link.current,
nav.pagination .pagination-link.current {
    background: linear-gradient(135deg, #f43f5e 0%, #f97316 100%) !important;
    color: white !important;
    border-color: transparent !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.1) !important;
    animation: currentPagePulse 2s ease-in-out infinite !important;
    transform: scale(1.05) !important;
}

@keyframes currentPagePulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 6px 20px rgba(244, 63, 94, 0.4), 0 0 0 2px rgba(249, 115, 22, 0.2);
    }
}

.pagination-link.current:hover {
    transform: translateY(-1px) scale(1.08);
    animation: none;
}

.pagination-link.prev,
.pagination-link.next {
    gap: 0.4rem;
    padding: 0 0.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(249, 115, 22, 0.05) 100%);
    border-color: rgba(249, 115, 22, 0.3);
    color: var(--text-accent);
}

.pagination-link.prev:hover,
.pagination-link.next:hover {
    background: linear-gradient(135deg, var(--text-accent) 0%, rgba(249, 115, 22, 0.9) 100%);
    color: var(--bg-primary);
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.pagination-arrow {
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.pagination-link.prev:hover .pagination-arrow {
    transform: translateX(-2px);
}

.pagination-link.next:hover .pagination-arrow {
    transform: translateX(2px);
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: var(--text-accent);
    font-size: 1rem;
    opacity: 0.5;
    animation: ellipsisPulse 1.5s ease-in-out infinite;
}

@keyframes ellipsisPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Responsive pagination - Enhanced */
@media (max-width: 768px) {
    .pagination {
        margin: 2rem 0 2rem 0;
        padding: 1.5rem 1rem;
        border-radius: 10px;
    }

    .pagination-links {
        gap: 0.4rem;
    }

    .pagination-link {
        min-width: 2.25rem;
        height: 2.25rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }

    .pagination-link.prev .pagination-text,
    .pagination-link.next .pagination-text {
        display: none;
    }

    .pagination-link.prev,
    .pagination-link.next {
        padding: 0;
        width: 2.25rem;
    }

    .pagination-link.current {
        transform: scale(1.03);
    }

    .pagination-link.current:hover {
        transform: translateY(-1px) scale(1.05);
    }
}

@media (max-width: 480px) {
    .pagination {
        padding: 1.25rem 0.75rem;
        margin: 1.5rem 0 1.5rem 0;
    }

    .pagination-links {
        justify-content: space-between;
        gap: 0.4rem;
    }

    .pagination-link {
        min-width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
    }

    .pagination-link.page-number {
        display: none;
    }

    .pagination-link.current {
        display: inline-flex;
        transform: scale(1);
    }

    .pagination-link.current:hover {
        transform: translateY(-1px) scale(1.03);
    }

    .pagination-ellipsis {
        display: none;
    }
}

/* Category System Styles */
.category-header {
    text-align: center;
    margin: 2rem 0 3rem 0;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.category-header h1 {
    font-family: 'Aeonik', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.category-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.category-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.post-count {
    font-family: 'Aeonik', sans-serif;
    background: var(--bg-secondary);
    color: var(--text-accent);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Category Filters - Enhanced like Pagination */
.category-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 3rem 0;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(24, 26, 27, 0.95) 0%, rgba(35, 38, 39, 0.9) 100%);
    border-radius: 20px;
    border: 1px solid rgba(249, 115, 22, 0.15);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.category-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(249, 115, 22, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.category-filters:hover::before {
    opacity: 1;
}

.filter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 3rem;
    padding: 0 1.2rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(35, 38, 39, 0.8) 100%);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(249, 115, 22, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-transform: capitalize;
    cursor: pointer;
    font-family: inherit;
}

.filter-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.filter-link:hover::before {
    left: 100%;
}

.filter-link.active {
    background: linear-gradient(135deg, #f43f5e 0%, #f97316 100%);
    color: white;
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.1);
    animation: activeFilterPulse 2s ease-in-out infinite;
    transform: scale(1.05);
}

@keyframes activeFilterPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(244, 63, 94, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 6px 25px rgba(244, 63, 94, 0.4), 0 0 0 3px rgba(249, 115, 22, 0.2);
    }
}

.filter-link.inactive:hover {
    background: linear-gradient(135deg, var(--bg-hover) 0%, rgba(249, 115, 22, 0.1) 100%);
    color: var(--text-primary);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3);
    border-color: rgba(249, 115, 22, 0.4);
}

.filter-link.active:hover {
    transform: translateY(-2px) scale(1.1);
    animation: none;
    box-shadow: 0 8px 30px rgba(244, 63, 94, 0.4), 0 0 0 3px rgba(249, 115, 22, 0.3);
}

/* Category Tags */
.post-categories {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

.category-tag {
    font-family: 'Aeonik', sans-serif;
    background: linear-gradient(90deg, #f43f5e 0%, #f97316 100%);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

/* Categories Overview Page */
.categories-header {
    text-align: center;
    margin: 2rem 0 3rem 0;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.categories-header h1 {
    font-family: 'Aeonik', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.categories-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: linear-gradient(120deg, var(--bg-secondary) 60%, var(--bg-hover) 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.category-card h2 {
    font-family: 'Aeonik', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.category-card h2 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.category-card h2 a:hover {
    color: var(--text-accent);
}

.category-card .category-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.category-stats {
    margin-bottom: 1.5rem;
}

.category-recent h4 {
    color: var(--text-accent);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-recent ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-recent li {
    margin-bottom: 0.5rem;
}

.category-recent a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.category-recent a:hover {
    color: var(--text-accent);
}

.all-posts-link {
    text-align: center;
    margin-top: 3rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state h3 {
    font-family: 'Aeonik', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.empty-state p {
    margin-bottom: 2rem;
}

/* Responsive Design for Categories */
@media (max-width: 768px) {
    .category-header h1 {
        font-size: 2rem;
    }

    .categories-header h1 {
        font-size: 2rem;
    }

    .category-filters {
        margin: 2rem 0;
        padding: 2rem 1.5rem;
        border-radius: 16px;
        gap: 0.5rem;
    }

    .filter-link {
        min-width: 2.75rem;
        height: 2.75rem;
        font-size: 0.85rem;
        border-radius: 12px;
        padding: 0 1rem;
    }

    .filter-link.active {
        transform: scale(1.02);
    }

    .filter-link.active:hover {
        transform: translateY(-2px) scale(1.05);
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .category-filters {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
        gap: 0.4rem;
    }

    .filter-link {
        min-width: 2.5rem;
        height: 2.5rem;
        font-size: 0.8rem;
        padding: 0 0.8rem;
        border-radius: 10px;
    }

    .filter-link.active {
        transform: scale(1);
    }

    .filter-link.active:hover {
        transform: translateY(-1px) scale(1.02);
    }
}

.author-section {
    background: linear-gradient(120deg, #232627 60%, #232b2b 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-family: 'Aeonik', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-accent);
    margin: 0 0 0.5rem 0;
}

.author-bio {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.author-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.author-social a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-social a:hover {
    color: var(--text-accent);
}

.author-social svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .author-section {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .author-social {
        justify-content: center;
    }
}

/* Admonitions - Calm and Readable */
.admonition {
    background: linear-gradient(135deg, rgba(26, 29, 35, 0.7) 0%, rgba(36, 40, 49, 0.5) 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 2.5rem 0;
    border-left: 3px solid var(--text-accent);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Gentle shadow */
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 4px 16px rgba(255, 140, 66, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    /* Subtle border */
    border: 1px solid rgba(255, 140, 66, 0.15);
}

.admonition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(249, 115, 22, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.admonition:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow:
        0 8px 32px rgba(249, 115, 22, 0.25),
        0 16px 48px rgba(0, 0, 0, 0.4),
        0 24px 80px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(249, 115, 22, 0.4);
}

.admonition:hover::before {
    opacity: 1;
}

.admonition-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.admonition-title {
    font-family: 'Aeonik', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    letter-spacing: 0.25px;
    color: var(--text-accent);
    position: relative;
}

/* Inline layout for default admonitions - add class "inline" to admonition for this behavior */
.admonition.inline .admonition-content {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admonition.inline .admonition-title {
    margin: 0;
    flex-shrink: 0;
    font-size: 1rem;
}

.admonition.inline .admonition-title::after {
    content: ':';
    margin-left: 0.2rem;
}

.admonition.inline p {
    margin: 0;
    display: inline;
    flex: 1;
}

/* Remove the decorative underline for inline admonitions and add colon */
.admonition.inline .admonition-title::after {
    content: ':';
    margin-left: 0.2rem;
    width: auto;
    height: auto;
    background: none;
    bottom: auto;
    left: auto;
    border-radius: 0;
    opacity: 1;
    position: static;
}

.admonition-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #f43f5e 0%, #f97316 100%);
    border-radius: 1px;
    opacity: 0.7;
    transition: width 0.3s ease;
}

.admonition:hover .admonition-title::after {
    width: 60px;
    opacity: 1;
}

.admonition p {
    position: relative;
    z-index: 2;
}

.admonition p:last-child {
    margin-bottom: 0;
}

/* Remove underline from links in admonitions */
.admonition a {
    text-decoration: none;
    color: var(--text-accent);
    transition: color 0.2s ease;
}

.admonition a:hover {
    color: #f43f5e;
    text-decoration: none;
}

/* All admonition types use enhanced orange styling */
.admonition.info,
.admonition.tip,
.admonition.warning,
.admonition.note,
.admonition.fun-fact {
    border-left-color: #f97316;
}

.admonition.info .admonition-title,
.admonition.tip .admonition-title,
.admonition.warning .admonition-title,
.admonition.note .admonition-title,
.admonition.fun-fact .admonition-title {
    color: #f97316;
}

/* Pulse animation for extra attention */
@keyframes admonitionPulse {

    0%,
    100% {
        box-shadow:
            0 4px 20px rgba(249, 115, 22, 0.15),
            0 8px 32px rgba(0, 0, 0, 0.3),
            0 16px 64px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow:
            0 6px 24px rgba(249, 115, 22, 0.2),
            0 12px 40px rgba(0, 0, 0, 0.35),
            0 20px 72px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
}

.admonition:focus-within {
    animation: admonitionPulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .admonition {
        padding: 1rem;
        margin: 1.5rem 0;
        border-radius: 10px;
        box-shadow:
            0 3px 15px rgba(249, 115, 22, 0.12),
            0 6px 24px rgba(0, 0, 0, 0.25),
            0 12px 48px rgba(0, 0, 0, 0.15);
    }

    .admonition-title {
        font-size: 1rem;
    }

    .admonition:hover {
        transform: translateY(-1px) scale(1.005);
    }
}

/* Image and figure styling */



/* Image grid for multiple images */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 2.5rem 0;
}

.image-grid figure {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.image-grid figure img {
    flex: 1;
    object-fit: cover;
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}



/* Featured section styles */
.main-featured .post-meta,
.side-featured-post .post-meta {
    margin: 0.5rem 1rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
}

.main-featured .meta-left,
.side-featured-post .meta-left {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.main-featured .category-tag,
.side-featured-post .category-tag,
.main-featured .post-author,
.side-featured-post .post-author,
.main-featured .post-date,
.side-featured-post .post-date,
.main-featured .meta-divider,
.side-featured-post .meta-divider {
    color: var(--text-secondary);
    font-weight: normal;
}

/* Adjust spacing for side featured posts */
.side-featured-post .post-meta {
    margin: 0.4rem 0.8rem 0.8rem;
    font-size: 0.85rem;
    text-align: left;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .main-featured .post-meta,
    .side-featured-post .post-meta {
        margin: 0.4rem 0.8rem 0.8rem;
        font-size: 0.85rem;
    }
}

.admonition a,
.admonition a:visited,
.admonition a strong,
.admonition .admonition-title a,
.admonition .admonition-title a strong {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Mobile Responsiveness Improvements */

/* Base mobile-first approach */
@media (max-width: 480px) {

    /* Typography scaling for very small screens */
    body {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Header improvements for mobile */
    .header-content {
        padding: 0.75rem 1rem;
    }

    .site-title {
        font-size: 1.4rem;
    }

    .site-logo {
        height: 20px;
    }

    .header-links {
        gap: 0.75rem;
    }

    .header-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }

    /* Featured section mobile optimization */
    .featured-section {
        gap: 1rem;
        margin-top: 0.5rem;
    }

    .main-featured {
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    .main-featured h2 {
        font-size: 1.2rem;
        margin: 1rem 1rem 0.5rem 1rem;
        line-height: 1.3;
    }

    .main-featured .post-description {
        font-size: 0.9rem;
        margin: 0 1rem 1rem 1rem;
    }

    .main-featured .post-meta {
        margin: 0 1rem 1rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* Post grid mobile optimization */
    .post-grid {
        gap: 1rem;
    }

    .post-card {
        border-radius: 12px;
    }

    .post-card h2 {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .post-card .post-description {
        font-size: 0.9rem;
    }

    .single-post h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .single-post .preview-image {
        height: 180px;
        height: auto;
        aspect-ratio: auto;
        max-height: 200px;
        object-fit: contain;
        border-radius: 12px;
    }

    /* Admonition mobile improvements */
    .admonition {
        padding: 1rem;
        margin: 1rem 0;
        border-radius: 12px;
    }

    .admonition-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .admonition p {
        font-size: 0.9rem;
    }

    /* Footer mobile improvements */
    .footer-content {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .footer-links {
        gap: 1rem;
    }

    .footer-link {
        font-size: 0.85rem;
    }

    /* Pagination mobile optimization */
    .pagination {
        margin: 2rem 0;
    }

    .pagination-links {
        gap: 0.5rem;
    }

    .pagination-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        min-width: 40px;
    }

    /* Category filters mobile optimization */
    .category-filters {
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .filter-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    /* Author section mobile improvements */
    .author-section {
        padding: 1rem;
        border-radius: 12px;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
    }

    .author-name {
        font-size: 1.1rem;
    }

    .author-bio {
        font-size: 0.9rem;
    }

    /* Related posts mobile optimization */
    .related-posts-grid {
        gap: 1rem;
    }

    .related-post h3 {
        font-size: 1rem;
    }

    /* Touch target improvements */
    .header-link,
    .footer-link,
    .pagination-link,
    .filter-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Improved spacing for mobile */
    .post-meta {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .post-meta .post-author,
    .post-meta .post-date {
        font-size: 0.85rem;
    }

    /* Better mobile navigation */
    .header-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Mobile-optimized buttons */
    .header-link.get-started,
    .footer-link.get-started {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
    }
}

/* Enhanced tablet responsiveness */
@media (min-width: 481px) and (max-width: 768px) {
    .header-content {
        padding: 0.75rem 1.25rem;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .main-featured h2 {
        font-size: 1.4rem;
    }

    .post-card h2 {
        font-size: 1.2rem;
    }

    .single-post h1 {
        font-size: 2.2rem;
    }
}

/* Large mobile and small tablet optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-content {
        padding: 0.75rem 1.5rem;
    }

    .main {
        padding: 0.5rem 1.25rem;
    }

    .featured-section {
        gap: 1.75rem;
    }

    .post-grid {
        gap: 1.75rem;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {


    .header-content {
        padding: 0.5rem 1rem;
    }

    .main-featured h2 {
        font-size: 1.3rem;
    }

    .single-post h1 {
        font-size: 1.8rem;
    }
}

/* High DPI display optimization */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .site-logo,
    .footer-content .site-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .main-featured:hover,
    .post-card:hover,
    .side-featured-post:hover {
        transform: none;
    }
}

/* Dark mode optimization for mobile */
@media (prefers-color-scheme: dark) {
    .admonition {
        background: linear-gradient(135deg, rgba(15, 20, 25, 0.8) 0%, rgba(26, 29, 35, 0.6) 100%);
    }
}

/* Print styles for mobile */
@media print {

    .site-header,
    .site-footer,
    .announcement-bar {
        display: none;
    }

    .post-content {
        font-size: 12pt;
        line-height: 1.5;
    }

    .post-content h1 {
        font-size: 18pt;
    }

    .post-content h2 {
        font-size: 16pt;
    }

    .post-content h3 {
        font-size: 14pt;
    }
}

/* Authors Section - Multiple Authors */
.authors-section {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.author-section {
    background: linear-gradient(120deg, #232627 60%, #232b2b 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 0;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-family: 'Aeonik', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-accent);
    margin: 0 0 0.5rem 0;
}

.author-bio {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.author-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.author-social a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-social a:hover {
    color: var(--text-accent);
}

.author-social svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .authors-section {
        gap: 1.5rem;
    }
    
    .author-section {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .author-social {
        justify-content: center;
    }
}