/**
 * ==============================================================================
 * Instituto de Fadiga - Estilos da Central de Artigos e Leituras
 * ==============================================================================
 */

@import url('global.css');

/* Estilos do Hub de Artigos */
:root {
      --ink: #13262a;
      --ink-soft: #40565a;
      --brand: #0f4f56;
      --brand-2: #1f6b70;
      --green: #6f8f55;
      --green-soft: #eaf1e5;
      --blue-soft: #e8f2f4;
      --paper: #f8f7f2;
      --white: #ffffff;
      --line: #d8e1df;
      --warm: #e5a45d;
      --shadow: 0 20px 60px rgba(15, 79, 86, .12);
      --radius: 22px;
      --radius-sm: 14px;
      --container: 1180px;
    }

    * { box-sizing: border-box; }
    html {
      scroll-behavior: smooth;
      overflow-x: hidden;
      max-width: 100%;
    }
    body {
      margin: 0;
      font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background: var(--paper);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      overflow-x: hidden;
      max-width: 100%;
      width: 100%;
    }
    img, video, iframe, svg { max-width: 100%; }
    img { height: auto; display: block; }
    a { color: inherit; text-decoration: none; }
    button, input, textarea { font: inherit; max-width: 100%; }
    button { cursor: pointer; }

    .container {
      width: min(calc(100% - 36px), var(--container));
      margin-inline: auto;
      max-width: 100%;
    }

    .skip-link {
      position: fixed;
      top: 12px;
      left: 12px;
      transform: translateY(-150%);
      z-index: 9999;
      background: var(--ink);
      color: white;
      padding: 10px 14px;
      border-radius: 8px;
    }
    .skip-link:focus { transform: translateY(0); }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 14px;
      color: var(--brand);
      font-size: .8rem;
      font-weight: 800;
      letter-spacing: .11em;
      text-transform: uppercase;
      max-width: 100%;
    }
    .eyebrow::before {
      content: "";
      width: 24px;
      height: 2px;
      background: var(--warm);
      border-radius: 99px;
      flex-shrink: 0;
    }

    h1, h2, h3 {
      font-family: "Source Serif 4", Georgia, serif;
      line-height: 1.2;
      letter-spacing: -.03em;
      overflow-wrap: break-word;
      word-wrap: break-word;
    }
    h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); margin-bottom: 16px; color: var(--ink); word-break: break-word; }
    h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); margin: 0 0 12px; color: var(--ink); word-break: break-word; }
    p { margin-top: 0; margin-bottom: 1.2em; overflow-wrap: break-word; word-wrap: break-word; }

    .header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(248, 247, 242, .93);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(216,225,223,.85);
    }
    .nav {
      min-height: 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: 180px;
    }
    .brand img { width: 172px; height: auto; }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 26px;
      font-size: .92rem;
      font-weight: 700;
      color: #334b4f;
    }
    .nav-links a:hover, .nav-links a:focus-visible { color: var(--brand); }
    .nav-links a.active { color: var(--brand); border-bottom: 2px solid var(--brand); padding-bottom: 2px; }
    .nav-toggle { display: none; background: transparent; border: 0; padding: 9px; }
    .nav-toggle svg { width: 26px; height: 26px; }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 50px;
      padding: 13px 24px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-weight: 800;
      transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary { background: var(--brand); color: white; }
    .btn-primary:hover { background: #0a444a; }
    .btn-small { min-height: 44px; padding: 10px 17px; font-size: .9rem; }

    /* Hub Header */
    .hub-header {
      padding: 60px 0 40px;
      background: linear-gradient(180deg, rgba(232,242,244,.7) 0%, var(--paper) 100%);
      border-bottom: 1px solid var(--line);
    }
    .hub-header-inner {
      max-width: 780px;
    }
    .hub-header p {
      font-size: 1.12rem;
      color: var(--ink-soft);
      margin: 0;
      line-height: 1.6;
    }

    /* Grid de Artigos */
    .articles-section {
      padding: 60px 0 90px;
    }
    .articles-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 30px;
    }

    .article-card {
      background: white;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      box-shadow: 0 4px 20px rgba(15,79,86,.04);
      transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    }
    .article-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 36px rgba(15,79,86,.09);
      border-color: #b8cfcd;
    }

    /* Foto do Card do Artigo */
    .card-photo {
      width: 100%;
      height: 220px;
      overflow: hidden;
      background: var(--blue-soft);
    }
    .card-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .3s ease;
    }
    .article-card:hover .card-photo img {
      transform: scale(1.04);
    }

    /* Placeholder Foto */
    .card-photo-placeholder {
      width: 100%;
      height: 220px;
      background: linear-gradient(135deg, #e3edf0 0%, #d6e5e8 100%);
      border-bottom: 1px dashed #b5cbd0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      color: var(--ink-soft);
      padding: 16px;
      text-align: center;
    }
    .card-photo-placeholder svg {
      width: 38px;
      height: 38px;
      color: var(--brand);
      opacity: .75;
    }
    .card-photo-placeholder span {
      font-weight: 700;
      font-size: .92rem;
      color: var(--brand);
    }
    .card-photo-placeholder small {
      font-size: .78rem;
      color: var(--ink-soft);
    }

    .card-body {
      padding: 26px 24px 24px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .card-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      font-size: .82rem;
      color: var(--ink-soft);
      margin-bottom: 14px;
    }
    .card-tag {
      background: var(--blue-soft);
      color: var(--brand);
      font-weight: 800;
      padding: 3px 9px;
      border-radius: 99px;
      font-size: .74rem;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    .article-card h2 a {
      color: var(--ink);
      transition: color .2s ease;
      display: block;
    }
    .article-card h2 a:hover {
      color: var(--brand);
    }

    .card-subtitle {
      color: var(--ink-soft);
      font-size: .94rem;
      line-height: 1.55;
      margin-bottom: 22px;
      flex-grow: 1;
    }

    .card-action {
      margin-top: auto;
      padding-top: 16px;
      border-top: 1px solid #f0f4f4;
    }
    .card-link-btn {
      color: var(--brand);
      font-weight: 800;
      font-size: .92rem;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: gap .2s ease;
    }
    .card-link-btn:hover {
      gap: 10px;
    }

    /* Footer */
    footer {
      background: #0b363b;
      color: white;
      padding: 58px 0 28px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.1fr .7fr .7fr 1fr;
      gap: 32px;
    }
    .footer-logo img { width: 185px; filter: brightness(0) invert(1); opacity: .95; }
    .footer-copy { color: rgba(255,255,255,.68); font-size: .86rem; max-width: 360px; margin-top: 18px; }
    .footer-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: #cce2df; margin-bottom: 14px; }
    .footer-links { display: grid; gap: 9px; color: rgba(255,255,255,.78); font-size: .88rem; }
    .footer-bottom {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      gap: 12px;
      border-top: 1px solid rgba(255,255,255,.12);
      margin-top: 42px;
      padding-top: 24px;
      color: rgba(255,255,255,.65);
      font-size: .84rem;
      width: 100%;
    }
    .footer-copyright {
      color: rgba(255,255,255,.65);
      text-align: center;
      width: 100%;
    }
    .footer-creator {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      color: rgba(255,255,255,.75);
      text-align: center;
      width: 100%;
    }
    .footer-creator a {
      display: inline-flex;
      align-items: center;
    }
    .footer-creator img {
      height: 22px;
      width: auto;
      display: inline-block;
      vertical-align: middle;
    }

    /* Social Media Section */
    .social-section {
      padding: 68px 0;
      background: linear-gradient(180deg, var(--white) 0%, var(--blue-soft) 100%);
      border-top: 1px solid #e2e8f0;
      border-bottom: 1px solid #e2e8f0;
    }
    .social-section .section-head {
      margin-inline: auto;
      margin-bottom: 32px;
      text-align: center;
    }
    .social-section .eyebrow {
      display: inline-block;
      font-size: .8rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .12em;
      color: var(--brand);
      margin-bottom: 8px;
    }
    .social-section h2 {
      font-family: "Source Serif 4", Georgia, serif;
      font-size: clamp(1.6rem, 2.5vw, 2.2rem);
      color: var(--ink);
      margin: 0 0 10px;
    }
    .social-section p {
      color: var(--ink-soft);
      font-size: .98rem;
      max-width: 560px;
      margin: 0 auto;
    }
    .social-grid {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 20px;
      max-width: 760px;
      margin-inline: auto;
    }
    .social-card {
      flex: 1;
      min-width: 280px;
      max-width: 360px;
      background: white;
      border: 1px solid #e2e8f0;
      border-radius: 20px;
      padding: 22px 26px;
      display: flex;
      align-items: center;
      gap: 18px;
      text-align: left;
      box-shadow: 0 4px 20px rgba(15, 79, 86, 0.05);
      transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
      color: var(--ink);
      text-decoration: none;
    }
    .social-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 16px 36px rgba(15, 79, 86, 0.1);
      border-color: rgba(15, 79, 86, 0.25);
    }
    .social-icon-box {
      width: 54px;
      height: 54px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: white;
      transition: transform .2s ease;
    }
    .social-card:hover .social-icon-box {
      transform: scale(1.08);
    }
    .social-icon-insta {
      background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
      box-shadow: 0 6px 16px rgba(220, 39, 67, 0.3);
    }
    .social-icon-fb {
      background: #1877F2;
      box-shadow: 0 6px 16px rgba(24, 119, 242, 0.3);
    }
    .social-icon-box svg {
      width: 28px;
      height: 28px;
      fill: currentColor;
    }
    .social-info strong {
      display: block;
      font-size: 1.1rem;
      color: var(--brand);
      margin-bottom: 2px;
      font-family: "Source Serif 4", Georgia, serif;
    }
    .social-info span {
      display: block;
      font-size: .85rem;
      color: var(--ink-soft);
      line-height: 1.35;
    }
    .social-arrow {
      margin-left: auto;
      color: var(--brand);
      font-size: 1.25rem;
      font-weight: 800;
      transition: transform .2s ease;
    }
    .social-card:hover .social-arrow {
      transform: translateX(4px);
    }

    @media (max-width: 980px) {
      .articles-grid { grid-template-columns: 1fr; max-width: 580px; margin-inline: auto; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 600px) {
      .footer-grid { grid-template-columns: 1fr; }
      .footer { padding-bottom: 84px; }
      .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
      .nav-links { display: none; }
      .nav-toggle { display: block; }
    }

/* Estilos de Leitura de Artigo Individual */
:root {
      --ink: #13262a;
      --ink-soft: #40565a;
      --brand: #0f4f56;
      --brand-2: #1f6b70;
      --green: #6f8f55;
      --green-soft: #eaf1e5;
      --blue-soft: #e8f2f4;
      --paper: #f8f7f2;
      --white: #ffffff;
      --line: #d8e1df;
      --warm: #e5a45d;
      --shadow: 0 20px 60px rgba(15, 79, 86, .12);
      --radius: 22px;
      --radius-sm: 14px;
      --container: 1180px;
    }

    * { box-sizing: border-box; }
    html {
      scroll-behavior: smooth;
      overflow-x: hidden;
      max-width: 100%;
    }
    body {
      margin: 0;
      font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background: var(--paper);
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      overflow-x: hidden;
      max-width: 100%;
      width: 100%;
    }
    img, video, iframe, svg { max-width: 100%; }
    img { height: auto; display: block; }
    a { color: inherit; text-decoration: none; }
    button, input, textarea { font: inherit; max-width: 100%; }
    button { cursor: pointer; }

    .container {
      width: min(calc(100% - 36px), var(--container));
      margin-inline: auto;
      max-width: 100%;
    }

    .skip-link {
      position: fixed;
      top: 12px;
      left: 12px;
      transform: translateY(-150%);
      z-index: 9999;
      background: var(--ink);
      color: white;
      padding: 10px 14px;
      border-radius: 8px;
    }
    .skip-link:focus { transform: translateY(0); }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 14px;
      color: var(--brand);
      font-size: .8rem;
      font-weight: 800;
      letter-spacing: .11em;
      text-transform: uppercase;
      max-width: 100%;
    }
    .eyebrow::before {
      content: "";
      width: 24px;
      height: 2px;
      background: var(--warm);
      border-radius: 99px;
      flex-shrink: 0;
    }

    h1, h2, h3, h4 {
      margin-top: 0;
      line-height: 1.2;
      letter-spacing: -.03em;
      overflow-wrap: break-word;
      word-wrap: break-word;
    }
    h1, h2, h3 { font-family: "Source Serif 4", Georgia, serif; }
    h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 18px; color: var(--ink); word-break: break-word; }
    h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); margin: 42px 0 16px; color: var(--brand); word-break: break-word; }
    h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin: 30px 0 14px; color: var(--ink); }
    p { margin-top: 0; margin-bottom: 1.4em; overflow-wrap: break-word; word-wrap: break-word; }

    .header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(248, 247, 242, .93);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(216,225,223,.85);
    }
    .nav {
      min-height: 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: 180px;
    }
    .brand img { width: 172px; height: auto; }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 26px;
      font-size: .92rem;
      font-weight: 700;
      color: #334b4f;
    }
    .nav-links a:hover, .nav-links a:focus-visible { color: var(--brand); }
    .nav-links a.active { color: var(--brand); border-bottom: 2px solid var(--brand); padding-bottom: 2px; }
    .nav-toggle { display: none; background: transparent; border: 0; padding: 9px; }
    .nav-toggle svg { width: 26px; height: 26px; }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 50px;
      padding: 13px 24px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-weight: 800;
      transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary { background: var(--brand); color: white; }
    .btn-primary:hover { background: #0a444a; }
    .btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
    .btn-small { min-height: 44px; padding: 10px 17px; font-size: .9rem; }

    /* Layout do Artigo */
    .article-page {
      padding: 40px 0 80px;
    }
    .article-container {
      max-width: 820px;
      margin-inline: auto;
    }

    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--brand);
      font-weight: 700;
      font-size: .92rem;
      margin-bottom: 24px;
      transition: transform .2s ease;
    }
    .back-link:hover {
      transform: translateX(-4px);
      text-decoration: underline;
    }

    /* Foto Principal do Artigo */
    .article-main-photo {
      width: 100%;
      max-height: 480px;
      border-radius: var(--radius);
      overflow: hidden;
      margin-bottom: 36px;
      box-shadow: var(--shadow);
      border: 1px solid var(--line);
    }
    .article-main-photo img {
      width: 100%;
      height: 100%;
      max-height: 480px;
      object-fit: cover;
      display: block;
    }

    /* Foto Placeholder */
    .photo-placeholder {
      width: 100%;
      height: 380px;
      border-radius: var(--radius);
      background: linear-gradient(135deg, #e3edf0 0%, #d4e3e6 100%);
      border: 2px dashed #b5cbd0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      color: var(--ink-soft);
      margin-bottom: 36px;
      text-align: center;
      padding: 20px;
    }
    .photo-placeholder svg {
      width: 48px;
      height: 48px;
      color: var(--brand);
      opacity: .7;
    }
    .photo-placeholder span {
      font-weight: 700;
      font-size: 1rem;
      color: var(--brand);
    }
    .photo-placeholder small {
      font-size: .84rem;
      color: var(--ink-soft);
    }

    .article-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 16px;
      margin-bottom: 18px;
      font-size: .9rem;
      color: var(--ink-soft);
      border-bottom: 1px solid var(--line);
      padding-bottom: 16px;
    }
    .article-meta strong {
      color: var(--brand);
    }
    .article-meta .meta-tag {
      background: var(--blue-soft);
      color: var(--brand);
      font-weight: 800;
      padding: 3px 10px;
      border-radius: 99px;
      font-size: .78rem;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    .article-subtitle {
      font-size: 1.22rem;
      line-height: 1.6;
      color: var(--ink-soft);
      margin-bottom: 32px;
      font-weight: 500;
    }

    .article-content {
      font-size: 1.08rem;
      line-height: 1.8;
      color: #22373b;
    }
    .article-content p {
      margin-bottom: 1.5em;
    }
    .article-content a {
      color: var(--brand);
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .article-content a:hover {
      color: var(--brand-2);
    }
    .article-content sup {
      font-size: .75rem;
      font-weight: 800;
      color: var(--brand);
    }

    /* Caixa de destaque */
    .article-callout {
      background: var(--blue-soft);
      border-left: 4px solid var(--brand);
      padding: 24px 28px;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      margin: 36px 0;
    }
    .article-callout p {
      margin: 0;
      font-size: 1.05rem;
      color: var(--ink);
      font-weight: 600;
    }

    /* Seção de Referências */
    .references-box {
      margin-top: 50px;
      padding: 30px 32px;
      background: white;
      border-radius: var(--radius);
      border: 1px solid var(--line);
      box-shadow: 0 4px 20px rgba(15,79,86,.04);
    }
    .references-box h3 {
      margin-top: 0;
      font-size: 1.25rem;
      color: var(--brand);
      margin-bottom: 16px;
    }
    .references-box ol {
      padding-left: 20px;
      margin: 0;
      display: grid;
      gap: 12px;
      font-size: .9rem;
      color: var(--ink-soft);
    }
    .references-box li a {
      color: var(--brand);
      font-weight: 700;
      word-break: break-all;
    }

    /* Leia também */
    .read-more-box {
      margin-top: 40px;
      padding: 24px 28px;
      background: var(--green-soft);
      border-radius: var(--radius-sm);
      border: 1px solid #d2e4c8;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
    }
    .read-more-box span {
      font-weight: 700;
      font-size: .95rem;
      color: var(--ink);
    }
    .read-more-box a.read-btn {
      color: var(--brand);
      font-weight: 800;
      text-decoration: underline;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    /* Footer */
    footer {
      background: #0b363b;
      color: white;
      padding: 58px 0 28px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.1fr .7fr .7fr 1fr;
      gap: 32px;
    }
    .footer-logo img { width: 185px; filter: brightness(0) invert(1); opacity: .95; }
    .footer-copy { color: rgba(255,255,255,.68); font-size: .86rem; max-width: 360px; margin-top: 18px; }
    .footer-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: #cce2df; margin-bottom: 14px; }
    .footer-links { display: grid; gap: 9px; color: rgba(255,255,255,.78); font-size: .88rem; }
    .footer-links a:hover { color: white; }
    .footer-bottom {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      gap: 12px;
      border-top: 1px solid rgba(255,255,255,.12);
      margin-top: 42px;
      padding-top: 24px;
      color: rgba(255,255,255,.65);
      font-size: .84rem;
      width: 100%;
    }
    .footer-copyright {
      color: rgba(255,255,255,.65);
      text-align: center;
      width: 100%;
    }
    .footer-creator {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      color: rgba(255,255,255,.75);
      text-align: center;
      width: 100%;
    }
    .footer-creator a {
      display: inline-flex;
      align-items: center;
    }
    .footer-creator img {
      height: 22px;
      width: auto;
      display: inline-block;
      vertical-align: middle;
    }

    /* Social Media Section */
    .social-section {
      padding: 68px 0;
      background: linear-gradient(180deg, var(--white) 0%, var(--blue-soft) 100%);
      border-top: 1px solid #e2e8f0;
      border-bottom: 1px solid #e2e8f0;
    }
    .social-section .section-head {
      margin-inline: auto;
      margin-bottom: 32px;
      text-align: center;
    }
    .social-section .eyebrow {
      display: inline-block;
      font-size: .8rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .12em;
      color: var(--brand);
      margin-bottom: 8px;
    }
    .social-section h2 {
      font-family: "Source Serif 4", Georgia, serif;
      font-size: clamp(1.6rem, 2.5vw, 2.2rem);
      color: var(--ink);
      margin: 0 0 10px;
    }
    .social-section p {
      color: var(--ink-soft);
      font-size: .98rem;
      max-width: 560px;
      margin: 0 auto;
    }
    .social-grid {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 20px;
      max-width: 760px;
      margin-inline: auto;
    }
    .social-card {
      flex: 1;
      min-width: 280px;
      max-width: 360px;
      background: white;
      border: 1px solid #e2e8f0;
      border-radius: 20px;
      padding: 22px 26px;
      display: flex;
      align-items: center;
      gap: 18px;
      text-align: left;
      box-shadow: 0 4px 20px rgba(15, 79, 86, 0.05);
      transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
      color: var(--ink);
      text-decoration: none;
    }
    .social-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 16px 36px rgba(15, 79, 86, 0.1);
      border-color: rgba(15, 79, 86, 0.25);
    }
    .social-icon-box {
      width: 54px;
      height: 54px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: white;
      transition: transform .2s ease;
    }
    .social-card:hover .social-icon-box {
      transform: scale(1.08);
    }
    .social-icon-insta {
      background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
      box-shadow: 0 6px 16px rgba(220, 39, 67, 0.3);
    }
    .social-icon-fb {
      background: #1877F2;
      box-shadow: 0 6px 16px rgba(24, 119, 242, 0.3);
    }
    .social-icon-box svg {
      width: 28px;
      height: 28px;
      fill: currentColor;
    }
    .social-info strong {
      display: block;
      font-size: 1.1rem;
      color: var(--brand);
      margin-bottom: 2px;
      font-family: "Source Serif 4", Georgia, serif;
    }
    .social-info span {
      display: block;
      font-size: .85rem;
      color: var(--ink-soft);
      line-height: 1.35;
    }
    .social-arrow {
      margin-left: auto;
      color: var(--brand);
      font-size: 1.25rem;
      font-weight: 800;
      transition: transform .2s ease;
    }
    .social-card:hover .social-arrow {
      transform: translateX(4px);
    }

    @media (max-width: 860px) {
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .photo-placeholder { height: 260px; }
    }
    @media (max-width: 600px) {
      .footer-grid { grid-template-columns: 1fr; }
      .footer { padding-bottom: 84px; }
      .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
      .nav-links { display: none; }
      .nav-toggle { display: block; }
      .photo-placeholder { height: 200px; }
    }
