/**
 * 14-polish.css — Final aesthetic enhancements
 * Loaded last with priority 30 enqueue.
 * All rules wrapped in @layer adc-polish for clean override.
 */

@layer adc-polish {

  /* ═══════════════════════════════════════════════════════════
   * 1. AUTHOR SOCIAL — fix blue color (color !important)
   * ═══════════════════════════════════════════════════════════ */

  .adc-author-page .author-social-link,
  .adc-author-page .author-social-link:link,
  .adc-author-page .author-social-link:visited {
    color: #5c6356 !important;
    background: #ffffff;
    border: 1.5px solid #e4e8de;
    transition: all 220ms ease;
  }

  .adc-author-page .author-social-link:hover {
    color: #6e9f44 !important;
    border-color: #6e9f44;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 159, 68, 0.15);
  }

  .adc-author-page .author-social-link.twitter:hover,
  .adc-author-page .author-social-link.x:hover {
    color: #fff !important;
    background: #000;
    border-color: #000;
  }

  .adc-author-page .author-social-link.facebook:hover {
    color: #fff !important;
    background: #1877f2;
    border-color: #1877f2;
  }

  .adc-author-page .author-social-link.instagram:hover {
    color: #fff !important;
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    border-color: transparent;
  }

  .adc-author-page .author-social-link.youtube:hover {
    color: #fff !important;
    background: #ff0000;
    border-color: #ff0000;
  }

  .adc-author-page .author-social-link.linkedin:hover {
    color: #fff !important;
    background: #0a66c2;
    border-color: #0a66c2;
  }

  .adc-author-page .author-social-link.website:hover {
    color: #fff !important;
    background: #6e9f44;
    border-color: #6e9f44;
  }

  /* Pill style fallback (when no SVG) — explicit color */
  .adc-author-page .author-social-link:not(:has(svg)) {
    width: auto;
    height: 36px;
    min-width: 80px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 18px;
    color: #5c6356 !important;
  }

  /* ═══════════════════════════════════════════════════════════
   * 2. ARTICLE BODY — drop cap + rhythm
   * ═══════════════════════════════════════════════════════════ */

  /* Drop cap — first letter, first paragraph */
  .adc-single .entry-content > p:first-of-type::first-letter {
    font-size: 3.6em;
    font-weight: 800;
    float: right;       /* RTL */
    line-height: 0.9;
    margin: 4px 0 0 12px;
    color: #6e9f44;
    font-family: "Tajawal", "IBM Plex Sans Arabic", serif;
  }

  [dir="ltr"] .adc-single .entry-content > p:first-of-type::first-letter {
    float: left;
    margin: 4px 12px 0 0;
  }

  /* Paragraph polish */
  .adc-single .entry-content > p {
    text-align: justify;
    text-justify: inter-word;
    word-spacing: 0.04em;
  }

  /* Headings — scroll target offset */
  .adc-single .entry-content h2,
  .adc-single .entry-content h3 {
    scroll-margin-top: 80px;
  }

  /* H2 leaf accent (skip TOC title) */
  .adc-single .entry-content h2:not(.adc-toc__title)::before {
    content: '🌿';
    margin-inline-end: 8px;
    font-size: 0.78em;
    opacity: 0.55;
  }

  /* H3 — left bar accent */
  .adc-single .entry-content h3 {
    padding-inline-start: 14px;
    border-inline-start: 4px solid #c8e0a8;
    color: #3d6420;
  }

  /* ═══════════════════════════════════════════════════════════
   * 3. BLOCKQUOTE — premium pull quote
   * ═══════════════════════════════════════════════════════════ */

  .adc-single .entry-content blockquote {
    position: relative;
    background: linear-gradient(135deg, #f6fbf1 0%, #eef5e6 100%);
    border-inline-start: 4px solid #6e9f44;
    padding: 28px 32px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(110, 159, 68, 0.06);
  }

  /* RTL — quote mark on right */
  .adc-single .entry-content blockquote::before {
    content: '"';
    display: block;
    position: absolute;
    inset-block-start: 4px;
    inset-inline-end: 16px;
    font-size: 60px;
    line-height: 1;
    color: rgba(110, 159, 68, 0.22);
    font-family: Georgia, serif;
    font-weight: 700;
  }

  /* ═══════════════════════════════════════════════════════════
   * 4. IMAGES — subtle shadow + hover, lightbox-ready
   * ═══════════════════════════════════════════════════════════ */

  .adc-single .entry-content img:not(.no-shadow) {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(28, 31, 24, 0.08);
    transition: transform 320ms ease, box-shadow 320ms ease;
    cursor: zoom-in;
  }

  .adc-single .entry-content figure:hover img,
  .adc-single .entry-content img:not(.no-shadow):hover {
    transform: scale(1.01);
    box-shadow: 0 8px 28px rgba(28, 31, 24, 0.12);
  }

  .adc-single .entry-content figcaption,
  .adc-single .entry-content .wp-caption-text {
    text-align: center;
    color: #6f7868;
    font-size: 14px;
    margin-top: 10px;
    padding: 8px 16px;
    background: #f8f9f6;
    border-radius: 8px;
    font-style: italic;
  }

  /* ═══════════════════════════════════════════════════════════
   * 5. LISTS — custom bullets in green
   * ═══════════════════════════════════════════════════════════ */

  .adc-single .entry-content ul:not(.no-style):not(.adc-toc__list) {
    list-style: none;
    padding-inline-start: 0;
    margin-block: 20px;
  }

  .adc-single .entry-content ul:not(.no-style):not(.adc-toc__list) li {
    position: relative;
    padding-inline-start: 26px;
    margin-block-end: 10px;
    line-height: 1.85;
  }

  .adc-single .entry-content ul:not(.no-style):not(.adc-toc__list) li::before {
    content: '';
    position: absolute;
    inset-inline-start: 4px;
    inset-block-start: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #6e9f44;
    transform: rotate(45deg);
  }

  .adc-single .entry-content ol:not(.no-style):not(.adc-toc__list) {
    counter-reset: adc-ol;
    list-style: none;
    padding-inline-start: 0;
  }

  .adc-single .entry-content ol:not(.no-style):not(.adc-toc__list) li {
    counter-increment: adc-ol;
    position: relative;
    padding-inline-start: 38px;
    margin-block-end: 10px;
    line-height: 1.85;
  }

  .adc-single .entry-content ol:not(.no-style):not(.adc-toc__list) li::before {
    content: counter(adc-ol);
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 0.15em;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eef5e6;
    color: #3d6420;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ═══════════════════════════════════════════════════════════
   * 6. TABLE OF CONTENTS — generated by toc-generator.php
   * ═══════════════════════════════════════════════════════════ */

  .adc-toc {
    background: linear-gradient(135deg, #f8fbf3 0%, #eef5e6 100%);
    border: 1.5px solid #c8e0a8;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 32px 0;
    box-shadow: 0 2px 8px rgba(110, 159, 68, 0.06);
  }

  .adc-toc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #c8e0a8;
  }

  .adc-toc__title {
    font-size: 16px;
    font-weight: 700;
    color: #2d4a1e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    padding: 0;
    background: none;
  }

  .adc-toc__title svg {
    width: 18px;
    height: 18px;
    color: #6e9f44;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
  }

  .adc-toc__toggle {
    background: transparent;
    border: 1px solid #c8e0a8;
    color: #3d6420;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 200ms;
  }

  .adc-toc__toggle:hover {
    background: #6e9f44;
    color: #fff;
    border-color: #6e9f44;
  }

  .adc-toc__list,
  .adc-toc__list ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: adc-toc-c;
  }

  .adc-toc__list ol {
    margin-inline-start: 16px;
    margin-block-start: 4px;
  }

  .adc-toc__list li {
    margin: 4px 0;
    counter-increment: adc-toc-c;
    padding: 0;
  }

  .adc-toc__list li::before {
    content: none !important;  /* override list bullets from section 5 */
  }

  .adc-toc__list a {
    display: flex;
    gap: 8px;
    color: #5c6356;
    text-decoration: none;
    font-size: 14.5px;
    line-height: 1.55;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 200ms;
  }

  .adc-toc__list > li > a::before {
    content: counter(adc-toc-c) ".";
    flex-shrink: 0;
    color: #6e9f44;
    font-weight: 700;
    min-width: 22px;
  }

  .adc-toc__list ol a::before {
    content: counter(adc-toc-c, lower-alpha) ".";
  }

  .adc-toc__list a:hover {
    background: #ffffff;
    color: #3d6420;
  }

  .adc-toc__list a.is-active {
    background: #6e9f44;
    color: #fff;
    font-weight: 600;
  }

  .adc-toc__list a.is-active::before {
    color: rgba(255, 255, 255, 0.85);
  }

  .adc-toc.is-collapsed .adc-toc__list {
    display: none;
  }

  /* ═══════════════════════════════════════════════════════════
   * 7. SECTION DIVIDERS (hr in entry-content)
   * ═══════════════════════════════════════════════════════════ */

  .adc-single .entry-content hr {
    border: 0;
    height: 24px;
    margin: 36px 0;
    background-image:
      radial-gradient(circle, #6e9f44 1.5px, transparent 1.5px),
      radial-gradient(circle, #c8e0a8 1.5px, transparent 1.5px),
      radial-gradient(circle, #6e9f44 1.5px, transparent 1.5px);
    background-size: 6px 6px;
    background-position: calc(50% - 20px) center, center, calc(50% + 20px) center;
    background-repeat: no-repeat;
    background-color: transparent;
    opacity: 0.7;
  }

  /* ═══════════════════════════════════════════════════════════
   * 8. INLINE TEXT — code, mark, strong
   * ═══════════════════════════════════════════════════════════ */

  .adc-single .entry-content code:not(pre code) {
    background: #f4f7f0;
    color: #3d6420;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: ui-monospace, "SF Mono", monospace;
    border: 1px solid #e4e8de;
  }

  .adc-single .entry-content mark {
    background: linear-gradient(120deg, transparent 0%, #fff7c2 35%, #fff7c2 65%, transparent 100%);
    padding: 0 4px;
    color: inherit;
    font-weight: 600;
  }

  .adc-single .entry-content strong {
    color: #2d4a1e;
    font-weight: 700;
  }

  .adc-single .entry-content ::selection {
    background: #c8e0a8;
    color: #1c1f18;
  }

}  /* close @layer adc-polish so sidebar widgets stay UNLAYERED */

/* ═══════════════════════════════════════════════════════════
 * 9. HOMEPAGE SIDEBAR — new widgets (UNLAYERED)
 * Kept outside @layer so they override page-home.css's
 * unlayered dark-theme defaults (.vga-sidebar-widget).
 * Layered rules ALWAYS lose to unlayered rules in CSS cascade.
 * ═══════════════════════════════════════════════════════════ */

  /* Reset page-home.css dark defaults for our new widget variants only.
     page-home.css applies dark background + 20px padding to ALL
     .vga-sidebar-widget; we strip those for the variants we own. */
  .vga-sidebar-widget.trending-widget,
  .vga-sidebar-widget.categories-widget,
  .vga-sidebar-widget.newsletter-widget {
    padding: 0;
    border: 0;
    background: #fff;
  }
  .vga-sidebar-widget.trending-widget .vga-widget-header,
  .vga-sidebar-widget.categories-widget .vga-widget-header,
  .vga-sidebar-widget.newsletter-widget .vga-widget-header {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  /* Title in our widgets must not inherit page-home.css's white color +
     red bottom-border + negative margin gimmick. */
  .vga-sidebar-widget.trending-widget .vga-widget-title,
  .vga-sidebar-widget.categories-widget .vga-widget-title,
  .vga-sidebar-widget.newsletter-widget .vga-widget-title {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    display: flex;
  }

  /* Trending widget */
  .vga-sidebar-widget.trending-widget {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(28, 31, 24, 0.05);
    background: #fff;
    margin-bottom: 24px;
  }

  .vga-sidebar-widget.trending-widget .vga-widget-header {
    background: linear-gradient(135deg, #6e9f44, #3d6420);
    padding: 14px 18px;
  }

  .vga-sidebar-widget.trending-widget .vga-widget-title {
    color: #fff;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: trending-c;
  }

  .trending-list li {
    counter-increment: trending-c;
    border-bottom: 1px solid #f0f0f0;
  }

  .trending-list li:last-child {
    border-bottom: 0;
  }

  .trending-list li::before {
    content: none;
  }

  .trending-list a {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 18px;
    text-decoration: none;
    color: #1c1f18;
    transition: background 200ms;
  }

  .trending-list a::before {
    content: counter(trending-c);
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eef5e6;
    color: #3d6420;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .trending-list li:nth-child(1) a::before {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #fff;
    box-shadow: 0 2px 6px rgba(255, 165, 0, 0.4);
  }

  .trending-list li:nth-child(2) a::before {
    background: linear-gradient(135deg, #c0c0c0, #909090);
    color: #fff;
  }

  .trending-list li:nth-child(3) a::before {
    background: linear-gradient(135deg, #cd7f32, #8b5a2b);
    color: #fff;
  }

  .trending-list a:hover {
    background: #f8fbf3;
  }

  .trending-list-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 4px;
    color: #1c1f18;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .trending-list a:hover .trending-list-title {
    color: #3d6420;
  }

  .trending-list-meta {
    font-size: 12px;
    color: #94a08a;
  }

  /* Categories widget */
  .vga-sidebar-widget.categories-widget {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(28, 31, 24, 0.05);
    margin-bottom: 24px;
  }

  .vga-sidebar-widget.categories-widget .vga-widget-header {
    padding: 14px 18px;
    border-bottom: 2px solid #6e9f44;
  }

  .categories-widget .vga-widget-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1c1f18;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .categories-list li {
    border-bottom: 1px solid #f0f0f0;
  }

  .categories-list li:last-child {
    border-bottom: 0;
  }

  .categories-list li::before {
    content: none;
  }

  .categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    text-decoration: none;
    color: #1c1f18;
    font-size: 14px;
    font-weight: 500;
    transition: all 200ms;
  }

  .categories-list a:hover {
    background: #f8fbf3;
    color: #3d6420;
    padding-inline-start: 24px;
  }

  .categories-list .count {
    background: #eef5e6;
    color: #3d6420;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    min-width: 32px;
    text-align: center;
  }

  /* Newsletter widget */
  .vga-sidebar-widget.newsletter-widget {
    background: linear-gradient(135deg, #6e9f44 0%, #3d6420 100%);
    color: #fff;
    padding: 24px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(110, 159, 68, 0.2);
  }

  .newsletter-widget .vga-widget-header {
    background: transparent;
    padding: 0;
    margin-bottom: 8px;
  }

  .newsletter-widget .vga-widget-title {
    color: #fff;
    font-size: 17px;
    margin: 0;
    border: 0;
  }

  .newsletter-widget p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin: 8px 0 16px;
    line-height: 1.6;
  }

  .newsletter-widget input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border: 0;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
    font-family: inherit;
    direction: rtl;
    box-sizing: border-box;
  }

  .newsletter-widget input[type="email"]:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  .newsletter-widget button {
    width: 100%;
    background: #fff;
    color: #3d6420;
    border: 0;
    border-radius: 6px;
    padding: 11px 14px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 200ms;
    font-family: inherit;
  }

  .newsletter-widget button:hover {
    background: #1c1f18;
    color: #fff;
  }

@layer adc-polish {  /* reopen layer for sections 10-11 */

  /* ═══════════════════════════════════════════════════════════
   * 10. SUBTLE FADE-IN
   * ═══════════════════════════════════════════════════════════ */

  @media (prefers-reduced-motion: no-preference) {
    .adc-single .entry-content > * {
      animation: adc-fade-up 500ms ease-out backwards;
    }
    .adc-single .entry-content > *:nth-child(1) { animation-delay: 0ms; }
    .adc-single .entry-content > *:nth-child(2) { animation-delay: 40ms; }
    .adc-single .entry-content > *:nth-child(3) { animation-delay: 80ms; }
    .adc-single .entry-content > *:nth-child(4) { animation-delay: 120ms; }
  }

  @keyframes adc-fade-up {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ═══════════════════════════════════════════════════════════
   * 11. RESPONSIVE
   * ═══════════════════════════════════════════════════════════ */

  @media (max-width: 768px) {
    .adc-single .entry-content > p:first-of-type::first-letter {
      font-size: 3em;
    }
    .adc-toc {
      padding: 16px 18px;
    }
    .adc-toc__title {
      font-size: 15px;
    }
  }

}  /* end @layer adc-polish */


/* ═══════════════════════════════════════════════════════════════════════════
 * 12. AUTHOR PAGE POLISH — targets arabdown-eeat author template (UNLAYERED)
 * ───────────────────────────────────────────────────────────────────────────
 * The active author archive is rendered by the arabdown-eeat plugin's
 * templates/author-template.php (BEM-style classes: .adc-author__hero,
 * .adc-author__name, .adc-stat, .adc-aart, etc.) — NOT the child theme's
 * author.php (which is overridden via template_include filter).
 *
 * These rules layer ON TOP of arabdown-eeat.css to give the author page
 * the same brand-rich visual language as the rest of the site.
 * Kept outside @layer so they reliably win the cascade.
 * ═══════════════════════════════════════════════════════════════════════════ */

/* — Wrapper: roomier padding, soft surface — */
.adc-author {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 16px 80px;
}

/* ═══ HERO ═══ */
.adc-author .adc-author__hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(110, 159, 68, 0.12) 0%, transparent 38%),
        radial-gradient(circle at 88% 82%, rgba(200, 224, 168, 0.22) 0%, transparent 42%),
        linear-gradient(135deg, #f6fbf1 0%, #eef5e6 55%, #f8fbf5 100%);
    border: 1px solid #c8e0a8;
    border-radius: 18px;
    padding: 36px 32px;
    margin-block-end: 40px;
    box-shadow: 0 12px 40px rgba(110, 159, 68, 0.08);
}
.adc-author .adc-author__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(110, 159, 68, 0.10) 1.2px, transparent 1.2px);
    background-size: 22px 22px;
    pointer-events: none;
    opacity: 0.45;
    mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
}
.adc-author .adc-author__hero::after {
    content: '🌿';
    position: absolute;
    inset-block-start: 16px;
    inset-inline-end: 22px;
    font-size: 32px;
    opacity: 0.22;
    transform: rotate(14deg);
    pointer-events: none;
}
.adc-author .adc-author__hero-inner {
    position: relative;
    z-index: 1;
    gap: 28px;
    align-items: center;
}

/* ═══ AVATAR — animated halo + premium ring ═══ */
.adc-author .adc-author__hero-avatar {
    position: relative;
    padding: 5px;
    border-radius: 50%;
    background: conic-gradient(from 90deg, #6e9f44, #c8e0a8, #6e9f44, #3d6420, #6e9f44);
    flex-shrink: 0;
}
.adc-author .adc-author__hero-avatar::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(110, 159, 68, 0.30) 0%, transparent 70%);
    z-index: -1;
    animation: adc-author-pulse 3.2s ease-in-out infinite;
}
@keyframes adc-author-pulse {
    0%, 100% { transform: scale(1);    opacity: 0.65; }
    50%      { transform: scale(1.14); opacity: 0.30; }
}
.adc-author .adc-author__hero-avatar img,
.adc-author .adc-author__avatar {
    width: 132px !important;
    height: 132px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(110, 159, 68, 0.22);
    display: block;
    background: #fff;
}

/* ═══ NAME + accent ═══ */
.adc-author .adc-author__name {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 8px;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1c1f18 0%, #2d4a1e 60%, #6e9f44 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.adc-author .adc-author__name::after {
    content: '';
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #6e9f44, #c8e0a8);
}

/* Verified badge — switch from blue to brand green */
.adc-author .adc-author__verified,
.adc-author .adc-card__verified {
    background: linear-gradient(135deg, #6e9f44, #3d6420) !important;
    box-shadow: 0 2px 8px rgba(110, 159, 68, 0.4);
    -webkit-text-fill-color: #fff;
    color: #fff;
}

/* ═══ JOB TITLE ═══ */
.adc-author .adc-author__job {
    position: relative;
    display: inline-block;
    color: #3d6420;
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0 0 14px;
    padding: 4px 14px 4px 12px;
    background: linear-gradient(135deg, #eef5e6, #f6fbf1);
    border-inline-start: 3px solid #6e9f44;
    border-radius: 0 6px 6px 0;
}

/* ═══ FACTS (years exp / joined) ═══ */
.adc-author .adc-author__facts {
    gap: 10px !important;
    margin-block-end: 18px;
}
.adc-author .adc-author__facts li {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(200, 224, 168, 0.6);
    border-radius: 10px;
    padding: 8px 14px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 200ms, box-shadow 200ms;
}
.adc-author .adc-author__facts li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 159, 68, 0.15);
}
.adc-author .adc-fact__label {
    font-size: 0.72rem !important;
    color: #5c6356 !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.adc-author .adc-fact__value {
    font-size: 1.15rem !important;
    background: linear-gradient(135deg, #3d6420, #6e9f44);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* ═══ EXPERTISE TAGS ═══ */
.adc-author .adc-author__tags {
    gap: 8px !important;
    margin-block-end: 18px;
}
.adc-author .adc-tag {
    background: linear-gradient(135deg, #ffffff, #f6fbf1) !important;
    border: 1px solid #c8e0a8 !important;
    color: #3d6420 !important;
    font-weight: 600;
    padding: 5px 14px !important;
    transition: all 200ms;
    cursor: default;
}
.adc-author .adc-tag:hover {
    background: linear-gradient(135deg, #6e9f44, #3d6420) !important;
    color: #fff !important;
    border-color: #6e9f44 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 159, 68, 0.25);
}

/* ═══ SOCIAL LINKS ═══ */
.adc-author .adc-author__social a,
.adc-author .adc-card__social a {
    width: 38px !important;
    height: 38px !important;
    background: #ffffff !important;
    border: 1.5px solid #d4e8c0 !important;
    color: #3d6420 !important;
    transition: all 240ms ease !important;
    box-shadow: 0 2px 6px rgba(110, 159, 68, 0.06);
}
.adc-author .adc-author__social a:hover,
.adc-author .adc-card__social a:hover {
    background: linear-gradient(135deg, #6e9f44, #3d6420) !important;
    border-color: #6e9f44 !important;
    color: #fff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(110, 159, 68, 0.30) !important;
}

/* ═══ SECTION HEADINGS (h2.adc-author__h2) ═══ */
.adc-author .adc-author__h2 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.55rem !important;
    font-weight: 800;
    color: #1c1f18 !important;
    margin: 40px 0 22px !important;
    padding-block-end: 10px !important;
    padding-inline-end: 4px;
    border-block-end: 0 !important;
}
.adc-author .adc-author__h2::before {
    content: '🌿';
    font-size: 0.85em;
    opacity: 0.7;
}
.adc-author .adc-author__h2::after {
    content: '';
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    width: 64px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #6e9f44, #c8e0a8);
}

/* ═══ BIO SECTION ═══ */
.adc-author .adc-author__bio {
    background: linear-gradient(135deg, #ffffff 0%, #fafbf7 100%);
    border: 1px solid #e4e8de;
    border-radius: 14px;
    padding: 28px 32px;
    box-shadow: 0 2px 12px rgba(28, 31, 24, 0.04);
}
.adc-author .adc-author__bio .adc-author__h2 {
    margin-top: 0 !important;
}
.adc-author .adc-author__bio-body {
    font-size: 1.05rem;
    line-height: 1.95;
    color: #2c2f28;
}
.adc-author .adc-author__bio-body p:first-child::first-letter {
    font-size: 2.4em;
    font-weight: 800;
    float: right;
    line-height: 0.95;
    margin: 4px 0 0 10px;
    color: #6e9f44;
}

/* ═══ CREDENTIALS GRID ═══ */
.adc-author .adc-author__creds-grid {
    gap: 18px !important;
}
.adc-author .adc-cred-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbf5 100%) !important;
    border: 1px solid #d4e8c0 !important;
    border-radius: 14px !important;
    padding: 22px !important;
    box-shadow: 0 2px 10px rgba(110, 159, 68, 0.06) !important;
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
    overflow: hidden;
}
.adc-author .adc-cred-card::before {
    content: '';
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    height: 3px;
    background: linear-gradient(90deg, #6e9f44, #c8e0a8);
}
.adc-author .adc-cred-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(110, 159, 68, 0.14) !important;
    border-color: #6e9f44 !important;
}
.adc-author .adc-cred-card__title {
    font-size: 1.1rem !important;
    color: #2d4a1e !important;
    margin: 0 0 12px !important;
    padding-bottom: 10px;
    border-bottom: 1px dashed #c8e0a8;
}
.adc-author .adc-cred-card__body {
    color: #2c2f28;
    line-height: 1.7;
}
.adc-author .adc-cred-card__body ul {
    list-style: none !important;
    padding: 0 !important;
}
.adc-author .adc-cred-card__body ul li {
    position: relative;
    padding-inline-start: 22px;
    margin-block-end: 8px;
}
.adc-author .adc-cred-card__body ul li::before {
    content: '';
    position: absolute;
    inset-inline-start: 4px;
    inset-block-start: 0.65em;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: #6e9f44;
    transform: rotate(45deg);
}

/* ═══ STATS — premium gradient cards ═══ */
.adc-author .adc-author__stats-list {
    gap: 16px !important;
}
.adc-author .adc-stat {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f6fbf1 100%) !important;
    border: 1px solid #d4e8c0 !important;
    border-radius: 14px !important;
    padding: 24px 18px !important;
    box-shadow: 0 2px 12px rgba(110, 159, 68, 0.07) !important;
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
    overflow: hidden;
}
.adc-author .adc-stat::before {
    content: '';
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    height: 3px;
    background: linear-gradient(90deg, #6e9f44, #c8e0a8);
}
.adc-author .adc-stat::after {
    content: '';
    position: absolute;
    inset-block-end: -40px;
    inset-inline-end: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(110, 159, 68, 0.10) 0%, transparent 70%);
    pointer-events: none;
}
.adc-author .adc-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(110, 159, 68, 0.18) !important;
    border-color: #6e9f44 !important;
}
.adc-author .adc-stat__icon {
    font-size: 2rem !important;
    margin-block-end: 8px !important;
    filter: drop-shadow(0 2px 4px rgba(110, 159, 68, 0.25));
}
.adc-author .adc-stat__value {
    font-size: 2rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #3d6420, #6e9f44);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.adc-author .adc-stat__label {
    font-size: 0.85rem !important;
    color: #5c6356 !important;
    font-weight: 600;
    margin-top: 2px;
}

/* ═══ ARTICLES GRID ═══ */
.adc-author .adc-author__articles-grid {
    gap: 22px !important;
}
.adc-author .adc-aart {
    background: #ffffff !important;
    border: 1px solid #e4e8de !important;
    border-radius: 14px !important;
    overflow: hidden;
    transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease !important;
    box-shadow: 0 2px 8px rgba(28, 31, 24, 0.04);
}
.adc-author .adc-aart:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 32px rgba(28, 31, 24, 0.10) !important;
    border-color: #c8e0a8 !important;
}
.adc-author .adc-aart__thumb {
    overflow: hidden;
    position: relative;
}
.adc-author .adc-aart__thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 300ms ease;
}
.adc-author .adc-aart:hover .adc-aart__thumb::after {
    opacity: 1;
}
.adc-author .adc-aart__thumb img {
    transition: transform 600ms ease;
}
.adc-author .adc-aart:hover .adc-aart__thumb img {
    transform: scale(1.08);
}
.adc-author .adc-aart__head {
    padding: 16px 16px 4px !important;
}
.adc-author .adc-aart__title {
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
    margin: 0 0 8px !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.adc-author .adc-aart__title a {
    color: #1c1f18 !important;
    transition: color 200ms ease;
}
.adc-author .adc-aart:hover .adc-aart__title a {
    color: #3d6420 !important;
}
.adc-author .adc-aart__meta {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem !important;
    color: #6f7868 !important;
    background: #f8fbf5;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid #e4e8de;
    margin: 0 0 8px !important;
}
.adc-author .adc-aart__meta::before {
    content: '📅';
    font-size: 0.85em;
}
.adc-author .adc-aart__excerpt {
    color: #5c6356 !important;
    line-height: 1.65 !important;
    padding: 0 16px 18px !important;
}

/* ═══ PAGINATION ═══ */
.adc-author .adc-author__pagination {
    margin-top: 40px !important;
}
.adc-author .adc-author__pagination .nav-links,
.adc-author .adc-author__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.adc-author .adc-author__pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #d4e8c0;
    border-radius: 10px;
    background: #fff;
    color: #3d6420;
    font-weight: 600;
    text-decoration: none;
    transition: all 220ms ease;
}
.adc-author .adc-author__pagination a.page-numbers:hover {
    background: linear-gradient(135deg, #f6fbf1, #eef5e6);
    border-color: #6e9f44;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 159, 68, 0.18);
}
.adc-author .adc-author__pagination .page-numbers.current {
    background: linear-gradient(135deg, #6e9f44, #3d6420);
    border-color: #3d6420;
    color: #fff;
    box-shadow: 0 4px 12px rgba(110, 159, 68, 0.35);
}

/* ═══ EMPTY STATE ═══ */
.adc-author .adc-author__empty {
    background: linear-gradient(135deg, #f8fbf5, #eef5e6);
    border: 1px dashed #c8e0a8;
    border-radius: 16px;
    padding: 64px 24px !important;
    text-align: center;
    color: #3d6420 !important;
    font-size: 1.05rem;
    font-weight: 600;
}
.adc-author .adc-author__empty::before {
    content: '🍃';
    display: block;
    font-size: 48px;
    margin-bottom: 14px;
    opacity: 0.65;
}

/* ═══ CONTACT SECTION ═══ */
.adc-author .adc-author__contact {
    background: linear-gradient(135deg, #ffffff 0%, #f6fbf1 100%) !important;
    border: 1px solid #c8e0a8 !important;
    border-radius: 14px !important;
    padding: 24px !important;
    margin-top: 32px !important;
    box-shadow: 0 2px 10px rgba(110, 159, 68, 0.06);
}
.adc-author .adc-author__contact a {
    color: #3d6420;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #c8e0a8;
    transition: border-color 200ms;
}
.adc-author .adc-author__contact a:hover {
    border-color: #6e9f44;
}

/* ═══ MOBILE ═══ */
@media (max-width: 640px) {
    .adc-author {
        padding: 18px 12px 60px;
    }
    .adc-author .adc-author__hero {
        padding: 24px 18px;
    }
    .adc-author .adc-author__hero-inner {
        gap: 18px;
        text-align: center;
        flex-direction: column;
    }
    .adc-author .adc-author__hero-avatar img,
    .adc-author .adc-author__avatar {
        width: 110px !important;
        height: 110px !important;
    }
    .adc-author .adc-author__name {
        font-size: 1.7rem;
        justify-content: center;
    }
    .adc-author .adc-author__name::after {
        inset-inline-start: 50%;
        transform: translateX(-50%);
    }
    .adc-author .adc-author__job,
    .adc-author .adc-author__facts,
    .adc-author .adc-author__tags,
    .adc-author .adc-author__social {
        justify-content: center;
    }
    .adc-author .adc-author__bio {
        padding: 22px 18px;
    }
    .adc-author .adc-stat__value {
        font-size: 1.7rem !important;
    }
    .adc-author .adc-author__h2 {
        font-size: 1.35rem !important;
    }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
    .adc-author .adc-author__hero-avatar::before {
        animation: none;
    }
    .adc-author .adc-stat,
    .adc-author .adc-cred-card,
    .adc-author .adc-aart,
    .adc-author .adc-aart__thumb img,
    .adc-author .adc-tag,
    .adc-author .adc-author__facts li,
    .adc-author .adc-author__social a,
    .adc-author .adc-author__pagination .page-numbers {
        transition: none !important;
    }
}
