﻿:root {
    --blue-dark: #0a2e4e;
    --blue-light: #2fa4ff;
    --white: #ffffff;
    --bg: #f3f8fd;
    --text: #17222f;
    --muted: #5f7184;
    --border: #dce8f5;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding-top: 82px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Open Sans", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #eef6ff 0%, #f8fbff 60%, #ffffff 100%);
}

body.home-page {
    padding-top: 0;
}

.container {
    width: min(1120px, 88%);
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    background: rgba(10, 46, 78, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(6, 30, 50, 0.22);
}

.home-page .site-header {
    background: linear-gradient(180deg, rgba(5, 20, 35, 0.82) 0%, rgba(5, 20, 35, 0.42) 70%, rgba(5, 20, 35, 0) 100%);
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    position: relative;
}

.brand {
    color: var(--white);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    flex-shrink: 0;
}

.logo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
    z-index: 2;
}

.logo-initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    z-index: 1;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.logo-tagline {
    font-size: 0.84rem;
    color: rgba(230, 242, 255, 0.92);
    letter-spacing: 0.01em;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #e6f2ff;
    border-radius: 3px;
    transition: transform 0.25s, opacity 0.25s;
    transform-origin: center;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.menu {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.menu a {
    color: #e6f2ff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.94rem;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.menu-admin-link {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.menu-admin-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.main-grid {
    display: grid;
    flex: 1;
    gap: 22px;
    padding: 26px 0 36px;
    grid-template-columns: 2fr 1fr;
}

.home-page .main-grid {
    width: 100%;
    max-width: none;
    padding-top: 0;
}

.full {
    grid-column: 1 / -1;
}

.hero {
    position: relative;
    min-height: 46vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(4, 16, 30, 0.78) 0%, rgba(4, 16, 30, 0.54) 42%, rgba(4, 16, 30, 0.26) 100%),
        radial-gradient(1100px 620px at 20% 20%, rgba(47, 164, 255, 0.28) 0%, rgba(10, 46, 78, 0.92) 55%, rgba(7, 35, 58, 1) 100%);
    color: var(--white);
    padding: 68px 0 34px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.04) 0%, transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 22%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1120px, 92%);
    margin: 0 auto;
    padding-top: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 16, 30, 0.12) 0%, rgba(4, 16, 30, 0.22) 100%);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-title {
    max-width: none;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.02;
    margin: 0 0 12px;
    letter-spacing: -0.06em;
    white-space: nowrap;
    text-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.hero-sub {
    max-width: 760px;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.55;
    color: rgba(230, 242, 255, 0.94);
}

.btn {
    border: none;
    background: var(--blue-light);
    color: var(--white);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    color: var(--blue-dark);
    border: 1px solid var(--blue-dark);
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(11, 42, 68, 0.06);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 300px));
    gap: 18px;
    align-items: stretch;
    justify-content: center;
}

.content {
    width: 100%;
    padding-inline: 18px;
}

.resources-page {
    background:
        radial-gradient(1100px 520px at -10% -10%, rgba(47, 164, 255, 0.2) 0%, transparent 55%),
        radial-gradient(900px 520px at 110% 0%, rgba(10, 46, 78, 0.12) 0%, transparent 58%),
        linear-gradient(180deg, #f4f8fd 0%, #eef5fc 42%, #f8fbff 100%);
}

.resources-section {
    display: grid;
    gap: 26px;
}

.resource-browser {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.resource-sidebar {
    background: #ffffff;
    border: 1px solid #d7e3ef;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 8px 16px rgba(10, 46, 78, 0.06);
    position: sticky;
    top: 108px;
}

.resource-sidebar h2 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #0b2f4d;
}

.resource-filter-list {
    display: grid;
    gap: 8px;
}

.resource-filter-btn {
    border: 1px solid #d9e7f5;
    border-radius: 10px;
    background: #f8fbff;
    color: #113f62;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 8px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.resource-filter-btn span {
    font-size: 0.76rem;
    color: #4f6780;
    background: #e8f2fd;
    border-radius: 999px;
    padding: 2px 8px;
}

.resource-filter-btn.is-active {
    background: #0d6efd;
    color: #ffffff;
    border-color: #0d6efd;
}

.resource-filter-btn.is-active span {
    color: #0d6efd;
    background: #ffffff;
}

.resource-filter-note {
    margin: 10px 0 0;
    color: #5e7388;
    font-size: 0.8rem;
}

.resource-filter-empty {
    margin-top: 10px;
    color: #5f7184;
    font-weight: 600;
}

.resource-category-group {
    display: grid;
    gap: 12px;
}

.resource-category-title {
    margin: 0;
    font-size: 1.05rem;
    color: #0b2f4d;
    border-left: 4px solid #2fa4ff;
    padding-left: 10px;
}

.resources-hero {
    background: linear-gradient(120deg, #ffffff 0%, #f3f9ff 64%, #e9f4ff 100%);
    border: 1px solid #d6e7f8;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 18px 36px rgba(10, 46, 78, 0.08);
}

.resources-kicker {
    margin: 0 0 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f5d99;
    font-size: 0.8rem;
}

.resources-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 3.7vw, 2.7rem);
    letter-spacing: -0.02em;
    color: #082a46;
}

.resources-lead {
    margin: 10px 0 0;
    max-width: 780px;
    color: #3d546b;
    font-size: 1.04rem;
    line-height: 1.7;
}

.resources-meta {
    margin-top: 16px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.resources-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #e8f3ff;
    color: #0f4f82;
    font-size: 0.9rem;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
}

.resource-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d7e3ef;
    border-radius: 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    box-shadow: 0 8px 18px rgba(8, 38, 62, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.resource-card::before {
    content: none;
}

.resource-card:hover {
    transform: translateY(-3px);
    border-color: #c1d4e8;
    box-shadow: 0 14px 26px rgba(8, 38, 62, 0.12);
}

.resource-book-cover {
    position: relative;
    height: 96px;
    padding: 10px 10px 0;
    background: linear-gradient(140deg, #f7fbff 0%, #eaf3ff 100%);
    border-bottom: 1px solid #e2edf8;
}

.resource-book-cover::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    width: 10px;
    border-radius: 8px 0 0 8px;
    background: linear-gradient(180deg, #0d6efd 0%, #0a58ca 100%);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.25);
}

.resource-book-cover img,
.resource-cover-fallback {
    width: calc(100% - 12px);
    height: calc(100% - 10px);
    border-radius: 0 10px 10px 0;
    margin-left: 12px;
}

.resource-book-cover img {
    object-fit: cover;
    border: 1px solid #d3e3f3;
    background: #ffffff;
    box-shadow: 0 8px 16px rgba(10, 46, 78, 0.1);
}

.resource-cover-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", Arial, sans-serif;
    padding: 4px 8px;
    font-weight: 800;
    font-size: 0.68rem;
    color: #0b4f86;
    background: linear-gradient(135deg, #ffffff 0%, #deedff 100%);
    border: 1px solid #caddf2;
}

.resource-book-cover.is-fallback .resource-cover-fallback {
    display: flex;
}

.resource-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    background: #f8fbff;
    border-bottom: 1px solid #e3edf7;
}

.resource-card-header time {
    font-size: 0.76rem;
    color: #68819a;
}

.resource-card-body {
    padding: 10px;
}

.resource-card-footer {
    margin-top: auto;
    padding: 0 10px 10px;
}

.resource-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: #e8f3ff;
    color: #0f5d99;
}

.resource-type-pdf {
    background: #fde8e8;
    color: #9f1f1f;
}

.resource-type-doc,
.resource-type-docx {
    background: #e8efff;
    color: #2148aa;
}

.resource-type-xls,
.resource-type-xlsx {
    background: #e7f8ec;
    color: #14653a;
}

.resource-title {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.35;
    color: #07233d;
}

.resource-text {
    margin: 8px 0 0;
    color: #52708c;
    line-height: 1.45;
    font-size: 0.8rem;
}

.resource-download {
    width: 100%;
    min-height: 34px;
    border-radius: 8px;
    background: #0d6efd;
    box-shadow: none;
    font-size: 0.8rem;
    padding: 8px 10px;
}

.resource-download:hover {
    background: #0b5ed7;
}

@media (max-width: 1200px) {
    .resource-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resource-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Ajuste final robusto para recursos */
.resources-section .resource-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: start;
}

.resources-section .resource-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden;
}

.resources-section .resource-book-cover {
    height: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
    overflow: hidden;
}

.resources-section .resource-book-cover img {
    display: block;
    width: calc(100% - 12px) !important;
    height: calc(100% - 10px) !important;
    max-width: calc(100% - 12px) !important;
    max-height: calc(100% - 10px) !important;
    object-fit: cover !important;
}

.resources-section .resource-card-header {
    padding: 7px 9px !important;
}

.resources-section .resource-card-body {
    padding: 9px !important;
}

.resources-section .resource-card-footer {
    padding: 0 9px 9px !important;
}

.resources-section .resource-title {
    font-size: 0.9rem !important;
}

.resources-section .resource-text {
    font-size: 0.78rem !important;
}

.resources-section .resource-download {
    min-height: 32px !important;
    font-size: 0.78rem !important;
    padding: 7px 8px !important;
}

@media (max-width: 1200px) {
    .resources-section .resource-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .resources-section .resource-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .resources-section .resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

.resources-empty {
    border-radius: 16px;
    padding: 24px;
}

.resources-empty h3 {
    margin: 0 0 8px;
}

.resources-empty p {
    margin: 0;
    color: #5a738d;
}

.post-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    height: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(11, 42, 68, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(11, 42, 68, 0.12);
}

.post-card-img,
.post-card-placeholder {
    width: 100%;
    height: 150px;
    display: block;
}

.post-card-img {
    object-fit: cover;
}

.post-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #12385c 0%, #2fa4ff 100%);
    color: #ffffff;
    font-size: 2.4rem;
}

.post-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 16px;
}

.post-card-body h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    line-height: 1.35;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-body p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.92rem;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    margin-top: auto;
}

.card-img,
.post-image {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 10px;
}

.post-image {
    max-height: 420px;
}

.editor-field {
    display: grid;
    gap: 8px;
}

.editor-shell {
    border: 1px solid #cfdceb;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}

.editor-shell .ck.ck-editor__main > .ck-editor__editable {
    min-height: 320px;
    color: #16324b;
    font-size: 1rem;
    line-height: 1.7;
}

.editor-shell .ck.ck-toolbar {
    border: none;
    border-bottom: 1px solid #dbe6f2;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
}

.editor-shell .ck.ck-editor__main > .ck-editor__editable:not(.ck-focused) {
    border: none;
}

.editor-shell .ck.ck-editor__main > .ck-editor__editable.ck-focused {
    border: none;
    box-shadow: inset 0 0 0 1px rgba(47, 164, 255, 0.18);
}

.editor-shell .ck.ck-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    background: #e9f5ff;
    color: #0f5d99;
    border-radius: 999px;
    font-size: 0.78rem;
    margin-bottom: 10px;
}

.read-more {
    margin-top: auto;
    color: #0f5d99;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 768px) {
    .content {
        padding-inline: 8px;
    }

    .resource-browser {
        grid-template-columns: 1fr;
    }

    .resource-sidebar {
        position: static;
        padding: 10px;
    }

    .resource-filter-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resources-hero {
        padding: 18px;
    }

    .resources-hero h1 {
        font-size: 1.75rem;
    }

    .resources-lead {
        font-size: 0.98rem;
    }

    .resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resource-card {
        min-height: auto;
    }

    .resource-book-cover {
        height: 110px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .post-card {
        max-width: none;
    }

    .post-card-img,
    .post-card-placeholder {
        height: 170px;
    }

    .editor-shell .ck.ck-editor__main > .ck-editor__editable {
        min-height: 240px;
    }
}

.sidebar .card + .card {
    margin-top: 14px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cfdceb;
    border-radius: 10px;
    padding: 9px 12px;
    margin-top: 6px;
    font: inherit;
}

label {
    font-weight: 600;
}

.stack {
    display: grid;
    gap: 12px;
}

.inline-form {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.inline-form input {
    flex: 1;
}

.live-banner {
    margin-bottom: 18px;
    display: grid;
    gap: 10px;
}

.live-banner h2 {
    margin: 0;
    font-size: 1.2rem;
}

.live-banner p {
    margin: 0;
    color: #4a6178;
}

.taller-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.workshops-section {
    display: grid;
    place-items: start;
    width: 100%;
}

.workshops-hero {
    background: linear-gradient(120deg, #ffffff 0%, #f3f9ff 64%, #e9f4ff 100%);
    border: 1px solid #d6e7f8;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 18px 36px rgba(10, 46, 78, 0.08);
    width: 100%;
    margin-bottom: 24px;
}

.workshops-kicker {
    margin: 0 0 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f5d99;
    font-size: 0.8rem;
}

.workshops-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 3.7vw, 2.7rem);
    letter-spacing: -0.02em;
    color: #082a46;
}

.workshops-lead {
    margin: 10px 0 0;
    max-width: 780px;
    color: #3d546b;
    font-size: 1.04rem;
    line-height: 1.7;
}

.workshops-meta {
    margin-top: 16px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.workshops-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #e8f3ff;
    color: #0f4f82;
    font-size: 0.9rem;
}

.workshops-browser {
    width: 100%;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 18px;
}

.workshops-sidebar {
    position: sticky;
    top: 108px;
    background: white;
    border: 1px solid #d7e3ef;
    border-radius: 16px;
    padding: 16px;
    height: fit-content;
    box-shadow: 0 2px 8px rgba(10, 46, 78, 0.04);
}

.workshops-sidebar h2 {
    margin: 0 0 14px;
    font-size: 1.1rem;
    color: #082a46;
    font-weight: 700;
}

.workshops-filter-list {
    display: grid;
    gap: 6px;
}

.workshops-filter-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #f5f9fd;
    border: 1px solid #d7e3ef;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #244761;
    font-weight: 500;
    transition: all 0.2s ease;
}

.workshops-filter-btn:hover {
    background: #ebf3fb;
    border-color: #b8cfe1;
    color: #082a46;
}

.workshops-filter-btn.is-active {
    background: #145b95;
    color: white;
    border-color: #145b95;
    box-shadow: 0 4px 12px rgba(20, 91, 149, 0.2);
}

.workshops-filter-btn span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.workshops-filter-btn span:last-child {
    display: inline-block;
    background: rgba(0,0,0,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: auto;
}

.workshops-filter-btn.is-active span:last-child {
    background: rgba(255,255,255,0.3);
}

.workshops-filter-note {
    margin: 12px 0 0;
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

.section-title {
    margin: 0 0 12px;
    color: #082a46;
    font-size: 1.25rem;
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.workshop-card {
    background: white;
    border: 1px solid #d7e3ef;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(10, 46, 78, 0.04);
}

.workshop-card:hover {
    box-shadow: 0 8px 24px rgba(20, 91, 149, 0.12);
    transform: translateY(-4px);
    border-color: #b8cfe1;
}

.workshop-card[hidden] {
    display: none !important;
}

.workshop-card-image,
.workshop-card-placeholder {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: linear-gradient(135deg, #f5f9fd 0%, #ebf3fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #d7e3ef;
    flex-shrink: 0;
}

.workshop-card-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.workshop-card-content h3 {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.35;
    color: #082a46;
    font-weight: 700;
}

.workshop-card-description {
    margin: 0;
    font-size: 0.8rem;
    color: #3d546b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.workshop-card-meta {
    display: grid;
    gap: 4px;
    padding: 8px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.75rem;
}

.workshop-card-meta small {
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.workshop-card-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: auto;
}

.btn-small {
    padding: 6px 10px;
    font-size: 0.8rem;
    border-radius: 6px;
    border: 1px solid #d7e3ef;
    background: #f5f9fd;
    color: #145b95;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    font-weight: 600;
    white-space: nowrap;
}

.btn-small:hover {
    background: #145b95;
    color: white;
    border-color: #145b95;
}

.btn-small.btn-outline {
    background: white;
    border-color: #d7e3ef;
    color: #244761;
}

.btn-small.btn-outline:hover {
    background: #f5f9fd;
    border-color: #145b95;
    color: #145b95;
}

@media (max-width: 1200px) {
    .workshops-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .workshops-browser {
        grid-template-columns: 1fr;
    }

    .workshops-sidebar {
        position: static;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .workshops-sidebar h2 {
        flex: 1;
    }

    .workshops-filter-list {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 4px;
    }

    .workshops-filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .workshops-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

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

    .workshops-hero {
        padding: 20px;
    }

    .workshops-hero h1 {
        font-size: 1.8rem;
    }

    .workshop-card-content {
        padding: 10px;
    }
}

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

    .workshops-sidebar {
        display: none;
    }

    .workshops-browser {
        grid-template-columns: 1fr;
    }
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.category-list a {
    color: #145b95;
    text-decoration: none;
}

.alert {
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.alert.error {
    background: #ffeaea;
    color: #8f1f1f;
    border: 1px solid #f0b8b8;
}

.alert.success {
    background: #ecfff4;
    color: #115533;
    border: 1px solid #b6e2c8;
}

.site-footer {
    background: #0b2f4d;
    color: #dbeafb;
    padding: 20px 0;
}

.footer-wrap {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-wrap a {
    color: #dbeafb;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border-bottom: 1px solid #e8f0f8;
    text-align: left;
    padding: 10px;
}

.link-btn {
    background: none;
    border: none;
    color: var(--blue-light);
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    font-size: 0.9rem;
}

.link-btn.danger {
    color: #b02020;
}

/* Gestión de menú */
.order-col {
    white-space: nowrap;
    width: 72px;
}

.order-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    padding: 2px 7px;
    font-size: 0.75rem;
    color: var(--text);
    transition: background 0.15s;
}

.order-btn:hover:not([disabled]) {
    background: var(--blue-dark);
    color: #fff;
}

.order-btn[disabled] {
    opacity: 0.28;
    cursor: default;
}

.url-col {
    font-size: 0.85rem;
    color: var(--muted);
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-on  { background: #d4f5e2; color: #166534; }
.badge-off { background: #f3e8e8; color: #991b1b; }

.row-hidden td {
    opacity: 0.5;
}

.table-note {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.alert.error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert.success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.admin-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-table-wrap {
    border: 1px solid #dbe6f2;
    border-radius: 12px;
    overflow: auto;
}

.category-table {
    width: 100%;
    min-width: 640px;
}

.category-table thead th {
    background: #f5f9fd;
    font-weight: 700;
}

.category-table tbody tr:hover {
    background: #f9fcff;
}

.category-table td code {
    color: #0f5d99;
    font-size: 0.85rem;
}

.category-actions {
    white-space: nowrap;
}

.posts-table-wrap {
    border: 1px solid #dbe6f2;
    border-radius: 12px;
    overflow: auto;
}

.posts-table {
    width: 100%;
    min-width: 760px;
}

.posts-table thead th {
    background: #f5f9fd;
    font-weight: 700;
}

.posts-table tbody tr:hover {
    background: #f9fcff;
}

.posts-col-title {
    min-width: 320px;
    font-weight: 600;
}

.posts-col-category,
.posts-col-date,
.posts-col-actions {
    white-space: nowrap;
}

.posts-col-actions {
    min-width: 130px;
}

.files-table-wrap {
    border: 1px solid #dbe6f2;
    border-radius: 12px;
    overflow: auto;
}

.files-table {
    width: 100%;
    min-width: 720px;
}

.files-table thead th {
    background: #f5f9fd;
    font-weight: 700;
}

.files-table tbody tr:hover {
    background: #f9fcff;
}

.files-col-name {
    min-width: 280px;
    font-weight: 600;
}

.files-col-type,
.files-col-date,
.files-col-actions {
    white-space: nowrap;
}

.files-col-actions {
    min-width: 120px;
}

.files-col-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.files-col-category {
    min-width: 160px;
    color: #244761;
    font-weight: 600;
}

.workshops-table-wrap {
    border: 1px solid #dbe6f2;
    border-radius: 12px;
    overflow: auto;
}

.workshops-table {
    width: 100%;
    min-width: 720px;
}

.workshops-table thead th {
    background: #f5f9fd;
    font-weight: 700;
}

.workshops-table tbody tr:hover {
    background: #f9fcff;
}

.workshops-col-title {
    min-width: 200px;
    font-weight: 600;
}

.workshops-col-date,
.workshops-col-time,
.workshops-col-location {
    min-width: 120px;
    white-space: nowrap;
}

.workshops-col-capacity,
.workshops-col-live {
    text-align: center;
    min-width: 100px;
}

.workshops-col-actions {
    min-width: 140px;
}

.workshops-col-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 768px) {
    .two-cols {
        grid-template-columns: 1fr;
    }
}

.resource-form-preview {
    display: grid;
    gap: 6px;
}

.auth-wrap {
    display: grid;
    place-items: center;
}

.auth-card {
    width: min(460px, 100%);
}

.small {
    color: var(--muted);
    font-size: 0.9rem;
}

.meta {
    color: var(--muted);
}

.post-content {
    line-height: 1.7;
    white-space: normal;
}

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

    .hamburger {
        display: flex;
    }

    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 46, 78, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 8px 0 14px;
        border-top: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }

    .menu.is-open {
        display: flex;
    }

    .menu a {
        padding: 12px 20px;
        border-radius: 0;
        font-size: 1rem;
    }

    .menu-admin-link {
        margin: 8px 24px 0;
        border-radius: 10px;
        text-align: center;
    }

    .hero {
        min-height: 42vh;
        padding: 62px 0 26px;
    }

    .logo-badge {
        width: 58px;
        height: 58px;
    }

    .logo-name {
        font-size: 1.25rem;
    }

    .logo-tagline {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 7vw, 3.4rem);
        white-space: normal;
    }

    .hero-sub {
        font-size: 1.02rem;
    }
}

/* Recursos: tarjeta tipo Bootstrap + miniatura */
.resources-section .resource-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.resources-section .resource-card {
    border: 1px solid #d5e1ee;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(12, 40, 64, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.resources-section .resource-book-cover {
    height: 78px;
    min-height: 78px;
    padding: 8px;
    background: #f8fbff;
    border-bottom: 1px solid #e6eff8;
}

.resources-section .resource-book-cover::before {
    display: none;
}

.resources-section .resource-book-cover img,
.resources-section .resource-cover-fallback {
    width: 100%;
    height: 100%;
    margin-left: 0;
    border-radius: 6px;
}

.resources-section .resource-book-cover img {
    object-fit: cover;
    border: 1px solid #d4e3f2;
    box-shadow: none;
}

.resources-section .resource-card-header {
    padding: 7px 9px;
    border-bottom: 1px solid #edf3fa;
    background: #ffffff;
}

.resources-section .resource-card-header time {
    font-size: 0.72rem;
}

.resources-section .resource-pill {
    padding: 3px 7px;
    font-size: 0.64rem;
}

.resources-section .resource-card-body {
    padding: 9px;
}

.resources-section .resource-title {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.3;
}

.resources-section .resource-text {
    margin: 6px 0 0;
    font-size: 0.76rem;
    line-height: 1.4;
}

.resources-section .resource-download-count {
    margin: 8px 0 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: #5c7187;
}

.resources-section .resource-card-footer {
    margin-top: auto;
    padding: 0 9px 9px;
}

.resources-section .resource-download {
    min-height: 30px;
    padding: 6px 8px;
    font-size: 0.74rem;
    border-radius: 6px;
    background: #0d6efd;
}

/* Admin recursos: columna de miniatura */
.files-col-thumb {
    width: 74px;
}

.files-thumb,
.files-thumb-fallback {
    width: 52px;
    height: 38px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8e5f3;
}

.files-thumb {
    object-fit: cover;
    background: #f5f9fd;
}

.files-thumb-fallback {
    background: #eef6ff;
    color: #0f5d99;
    font-size: 0.62rem;
    font-weight: 700;
}

.files-col-downloads {
    white-space: nowrap;
    font-weight: 700;
}

@media (max-width: 1200px) {
    .resources-section .resource-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resources-section .resource-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .resources-section .resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Tamaño estándar de miniaturas de recursos */
.resources-section .resource-book-cover {
    height: 110px !important;
    min-height: 110px !important;
    max-height: 110px !important;
}

.resources-section .resource-book-cover img,
.resources-section .resource-cover-fallback {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.files-thumb,
.files-thumb-fallback {
    width: 52px !important;
    height: 38px !important;
}

@media (max-width: 768px) {
    .resources-section .resource-book-cover {
        height: 96px !important;
        min-height: 96px !important;
        max-height: 96px !important;
    }
}

/* Grilla final de recursos: 4 por fila en desktop */
.resources-section .resource-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

@media (max-width: 992px) {
    .resources-section .resource-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .resources-section .resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 480px) {
    .resources-section .resource-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Recursos full width + compatibilidad de filtrado */
.resources-page .main-grid.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 24px;
    padding-right: 24px;
}

.workshops-page .main-grid.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 24px;
    padding-right: 24px;
}

.resources-section .resource-card[hidden] {
    display: none !important;
}

@media (max-width: 768px) {
    .resources-page .main-grid.container,
    .workshops-page .main-grid.container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ── Testimonios ─────────────────────────────────────── */
.testimonials-section {
    background:
        radial-gradient(1200px 500px at -10% -20%, rgba(47,164,255,.25) 0%, transparent 48%),
        radial-gradient(1000px 500px at 110% 20%, rgba(0,175,140,.18) 0%, transparent 52%),
        linear-gradient(138deg, #061a31 0%, #0a2e4e 52%, #0f4068 100%);
    padding: 86px 0 94px;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255,255,255,.03) 0%, transparent 26%),
        radial-gradient(circle at 80% 20%, rgba(47,164,255,.15) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-inner {
    width: min(1180px, 92%);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.testimonials-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #8dd5ff;
    margin: 0 0 10px;
}

.testimonials-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
}

.testimonials-lead {
    font-size: 1.03rem;
    color: rgba(255,255,255,.78);
    max-width: 620px;
    margin: 0 auto;
}

.testimonials-badges {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.testimonials-badge {
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.88);
    font-size: .76rem;
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 8px;
}

.tcard {
    background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.04) 100%);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
    padding: 24px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 36px rgba(2, 17, 33, .24);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    position: relative;
}

.tcard:hover {
    transform: translateY(-6px);
    border-color: rgba(141,213,255,.5);
    box-shadow: 0 24px 40px rgba(2, 17, 33, .32);
}

.tcard-mark {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 2.1rem;
    line-height: 1;
    color: rgba(255,255,255,.18);
    font-family: Georgia, serif;
}

.tcard-stars {
    display: flex;
    gap: 3px;
    font-size: 1rem;
}

.tcard-star {
    color: rgba(255,255,255,.2);
}

.tcard-star.filled {
    color: #f59e0b;
}

.tcard-quote {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.72;
    color: rgba(255,255,255,.92);
    font-style: italic;
    flex: 1;
    quotes: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.tcard-empty {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.tcard-stars-center {
    justify-content: center;
}

.tcard-quote-normal {
    font-style: normal;
}

.tcard-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 14px;
    margin: 0;
}

.tcard-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2fa4ff, #0a2e4e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.tcard-name {
    margin: 0 0 2px;
    font-weight: 700;
    font-size: 0.88rem;
    color: #fff;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.tcard-role {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,.5);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.btn-outline-white {
    display: inline-block;
    padding: 13px 30px;
    border: 2px solid rgba(255,255,255,.45);
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    letter-spacing: .01em;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.6);
    transform: translateY(-2px);
}

.testimonials-cta {
    text-align: center;
    margin-top: 38px;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .testimonials-section {
        padding: 58px 0 62px;
    }

    .testimonials-badges {
        gap: 8px;
    }

    .testimonials-badge {
        font-size: .72rem;
        padding: 6px 10px;
    }
}

/* ── Sobre mí ─────────────────────────────────────────── */
.about-page .main-grid.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 24px;
    padding-right: 24px;
}

.about-section {
    padding: 20px 0 44px;
}

.about-hero {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: linear-gradient(145deg, #061a31 0%, #0a2e4e 55%, #0f4068 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 24px;
    color: #fff;
    box-shadow: 0 14px 36px rgba(8, 28, 46, 0.28);
}

.about-hero-photo {
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.about-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-kicker {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .74rem;
    font-weight: 700;
    color: #8ed8ff;
}

.about-hero-copy h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.12;
}

.about-lead {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 66ch;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-hero-actions .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.about-hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.about-stat {
    background: #fff;
    border: 1px solid #dfeaf6;
    border-radius: 14px;
    padding: 22px 20px;
    text-align: center;
}

.about-stat-icon {
    margin: 0 0 8px;
    font-size: 2rem;
    line-height: 1;
}

.about-stat-label {
    margin: 0 0 6px;
    color: #0b2845;
    font-size: 1rem;
    font-weight: 700;
}

.about-stat-desc {
    margin: 0;
    color: #5f7184;
    font-size: .86rem;
    line-height: 1.45;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.about-card {
    background: #fff;
    border: 1px solid #dfeaf6;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 1px 6px rgba(10, 46, 78, .05);
}

.about-card h2 {
    margin: 0 0 12px;
    color: #0b2845;
    font-size: 1.08rem;
}

.about-card p {
    margin: 0 0 12px;
    line-height: 1.65;
    color: #2f4154;
}

.about-list {
    margin: 0;
    padding-left: 18px;
    color: #2f4154;
    line-height: 1.6;
}

.about-list li {
    margin-bottom: 8px;
}

.about-email {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e7eef6;
}

.biography-section {
    max-width: 1200px;
    margin: 0 auto;
}

.biography-hero {
    margin-bottom: 16px;
}

.biography-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px;
}

.biography-card p {
    font-size: 1.02rem;
    line-height: 1.8;
}

.biography-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}

@media (max-width: 1000px) {
    .about-hero {
        grid-template-columns: 240px 1fr;
        padding: 24px;
    }

    .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .about-page .main-grid.container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .about-hero {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-hero-photo {
        max-width: 360px;
        margin: 0 auto;
    }

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

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

    .biography-card {
        padding: 20px;
    }
}


