.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-left {
    position: absolute;
    inset: 0 38% 0 0;
    background: var(--off-white);
}

.hero-bg-right {
    position: absolute;
    inset: 0 0 0 62%;
    overflow: hidden;
}

.hero-bg-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-right::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(15, 92, 46, 0.88) 0%, rgba(27, 122, 63, 0.82) 50%, rgba(45, 155, 82, 0.75) 100%);
}

.hero-bg-right::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.2;
    background: radial-gradient(ellipse at 70% 40%, var(--gold) 0%, transparent 65%);
}

.hero-stripes {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0.07;
    background-image: var(--diagonal-texture);
}

.hero-curve {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 36%;
    z-index: 5;
    width: 120px;
}

.hero-curve svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-inner {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    min-height: calc(100vh - var(--header-height));
    align-items: center;
}

.hero-copy {
    max-width: 640px;
    padding-block: clamp(3rem, 7vw, 5rem);
    padding-right: clamp(2rem, 7vw, 6rem);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #888888;
    font-family: var(--font-heading);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-badge::before,
.hero-badge::after {
    content: "";
    width: 1.25rem;
    height: 1.5px;
    background: var(--gold);
}

.hero-name {
    margin: 0.65rem 0 0.75rem;
    background: var(--gradient-name);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 8px rgba(15, 92, 46, 0.18));
    font-family: var(--font-script);
    font-size: clamp(2.7rem, 5.5vw, 4.5rem);
    line-height: 1.04;
}

.hero h1 {
    margin: 0 0 1.45rem;
    color: var(--black);
    font-family: var(--font-heading);
    font-size: clamp(2.75rem, 6.5vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 0.9;
    text-transform: uppercase;
}

.hero-description {
    max-width: 24rem;
    margin: 1.45rem 0 2.1rem;
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-media {
    position: relative;
    align-self: stretch;
    width: clamp(400px, 42vw, 640px);
    margin-right: -2%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.candidate-wrap {
    position: absolute;
    inset: 0 -5% 0 -25%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.candidate-shadow {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    width: 70%;
    height: 80%;
    border-radius: 999px;
    background: radial-gradient(ellipse, rgba(15, 92, 46, 0.18) 0%, transparent 70%);
    filter: blur(40px);
    transform: translate(-50%, -50%);
}

.candidate-photo {
    position: relative;
    z-index: 10;
    width: auto;
    max-width: 110%;
    height: 85vh;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.28));
    animation: floatCandidate 4s ease-in-out infinite;
}

.curved-arrow {
    position: absolute;
    left: 52%;
    top: 38%;
    z-index: 15;
    width: 7rem;
    height: auto;
    pointer-events: none;
}

.hero-office-badge {
    position: absolute;
    right: 0.25rem;
    bottom: 4rem;
    z-index: 20;
    padding: 0.8rem 1.1rem;
    border-radius: var(--radius-xs);
    background: var(--gold);
    color: var(--black);
    box-shadow: var(--shadow-lg);
}

.hero-office-badge p {
    margin: 0;
}

.hero-office-badge .office {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-office-badge .party {
    margin-top: 0.1rem;
    font-family: var(--font-script);
    font-size: 1.05rem;
    line-height: 1.1;
    color: #ffffff;
}

.hero-mobile-portrait {
    display: none;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    z-index: 25;
    border: 0;
    background: transparent;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: flex;
    width: 1.5rem;
    height: 2.5rem;
    justify-content: center;
    padding-top: 0.48rem;
    border: 2px solid rgba(15, 92, 46, 0.3);
    border-radius: 999px;
}

.scroll-indicator span::before {
    content: "";
    width: 0.38rem;
    height: 0.65rem;
    border-radius: 999px;
    background: var(--gold);
    animation: scrollDot 1.8s ease-in-out infinite;
}

.about {
    background: linear-gradient(90deg, rgba(15, 92, 46, 0.08), transparent, rgba(212, 175, 55, 0.08));
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(3rem, 7vw, 4rem);
}

.about-photo {
    position: relative;
    align-self: start;
    margin-top: 3rem;
}

.about-photo::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 5rem;
    height: 5rem;
    background: var(--gold);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.about-photo-frame {
    position: relative;
    overflow: hidden;
    border: 4px solid var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-photo-frame img {
    width: 100%;
    height: clamp(20rem, 42vw, 32rem);
    object-fit: cover;
}

.about-years {
    position: absolute;
    right: -1rem;
    bottom: -1rem;
    background: var(--green-primary);
    color: var(--white);
    padding: 1.05rem 1.25rem;
    box-shadow: var(--shadow-lg);
}

.about-years strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
}

.about-years span {
    display: block;
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    line-height: 1.2;
}

.about-copy p {
    color: rgba(17, 17, 17, 0.7);
    font-size: 1.02rem;
    line-height: 1.75;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stat {
    border-left: 4px solid var(--gold);
    padding-left: 1rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.stat:hover {
    border-color: var(--green-primary);
    transform: translateX(4px);
}

.stat strong {
    display: block;
    color: var(--green-primary);
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
    transition: color 0.3s ease;
}

.stat:hover strong {
    color: var(--gold);
}

.stat span {
    display: block;
    margin-top: 0.35rem;
    color: var(--gray-500);
    font-size: 0.88rem;
    font-weight: 500;
}

.principles {
    background: rgba(248, 248, 246, 0.55);
}

.principle-grid,
.ideal-grid,
.family-grid {
    display: grid;
    gap: 1.5rem;
}

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

.principle-card,
.ideal-card,
.family-pillar {
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    transition: transform 0.45s ease, box-shadow 0.45s ease, background 0.45s ease, border-color 0.45s ease;
}

.principle-card {
    min-height: 18.5rem;
    padding: 2rem;
    cursor: default;
}

.principle-card::before,
.ideal-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--gradient-green-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
}

.principle-card:hover,
.ideal-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.principle-card:hover::before,
.ideal-card:hover::before {
    transform: scaleX(1);
}

.principle-card.green {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.principle-card.blue {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.principle-card.gold {
    background: #fefce8;
    border-color: #fef08a;
}

.principle-card.green:hover {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
}

.principle-card.blue:hover {
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
}

.principle-card.gold:hover {
    background: linear-gradient(135deg, #eab308, #f59e0b);
}

.card-icon {
    display: grid;
    width: 4rem;
    height: 4rem;
    place-items: center;
    border-radius: var(--radius-xl);
    margin-bottom: 1.4rem;
    background: rgba(15, 92, 46, 0.08);
    transition: background 0.35s ease, transform 0.35s ease;
}

.principle-card:hover .card-icon,
.ideal-card:hover .card-icon {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.06);
}

.principle-card h3,
.ideal-card h3,
.family-pillar h3 {
    margin: 0 0 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.principle-card h3 {
    font-size: 1.55rem;
}

.principle-card p,
.ideal-card p,
.family-pillar p {
    margin: 0;
    color: rgba(17, 17, 17, 0.7);
    line-height: 1.65;
}

.principle-card:hover h3,
.principle-card:hover p,
.ideal-card:hover h3,
.ideal-card:hover p {
    color: var(--white);
}

.projects {
    background: var(--white);
}

.projects::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 75% 70% at 50% 50%, rgba(255, 255, 255, 1) 25%, rgba(15, 92, 46, 0.38) 62%, rgba(212, 175, 55, 0.5) 100%);
}

.project-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.project-card {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    isolation: isolate;
}

.project-card img {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.75s ease;
}

.project-card::before,
.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    transition: opacity 0.5s ease;
}

.project-card::before {
    z-index: -2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.1));
}

.project-card::after {
    z-index: -1;
    opacity: 0;
    background: var(--project-gradient);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card:hover::before {
    opacity: 0;
}

.project-card:hover::after {
    opacity: 0.9;
}

.project-link {
    display: flex;
    min-height: 300px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    color: var(--white);
}

.project-card h3 {
    margin: 0 0 0.3rem;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.project-card p {
    max-height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    line-height: 1.4;
    transform: translateY(0.5rem);
    transition: opacity 0.45s ease, transform 0.45s ease, max-height 0.45s ease, margin 0.45s ease;
}

.project-card:hover p,
.project-card:focus-within p {
    max-height: 7rem;
    margin-bottom: 0.85rem;
    opacity: 1;
    transform: translateY(0);
}

.project-cta {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.55rem 0.9rem;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: background 0.35s ease, color 0.35s ease, opacity 0.45s ease, transform 0.45s ease;
}

.project-card:hover .project-cta,
.project-card:focus-within .project-cta {
    opacity: 1;
    transform: translateY(0);
}

.project-cta:hover {
    background: var(--white);
    color: var(--green-primary);
}

.news-section,
.news-list-section,
.related-news {
    background: #f3f6fa;
}

.news-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.8rem;
}

.news-section-head .section-heading,
.news-page-hero h1 {
    color: #052b72;
}

.news-kicker {
    color: var(--green-primary);
}

.news-kicker::before,
.news-kicker::after {
    background: var(--gold-bright);
}

.news-all-link {
    display: inline-flex;
    min-width: 8.25rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    border: 2px solid #052b72;
    border-radius: 999px;
    padding: 0.7rem 1.25rem;
    color: #052b72;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.news-all-link:hover,
.news-all-link:focus-visible {
    background: #052b72;
    color: var(--white);
    transform: translateY(-2px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.news-grid-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-news .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(5, 43, 114, 0.08);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.news-card:hover,
.news-card:focus-within {
    border-color: rgba(15, 92, 46, 0.28);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.15);
    transform: translateY(-6px);
}

.news-card-image {
    position: relative;
    display: block;
    height: 13rem;
    overflow: hidden;
    color: var(--white);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card-image img,
.news-card:focus-within .news-card-image img {
    transform: scale(1.06);
}

.news-card-image span,
.news-detail-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    background: var(--white);
    color: var(--green-primary);
    font-size: 0.74rem;
    font-weight: 800;
}

.news-card-body {
    display: flex;
    min-height: 17rem;
    flex-direction: column;
    padding: 1.25rem;
}

.news-meta,
.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    color: #53627c;
    font-size: 0.76rem;
    line-height: 1.25;
}

.news-meta span,
.news-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.news-meta i,
.news-detail-meta i {
    display: inline-grid;
    width: 0.95rem;
    height: 0.95rem;
    place-items: center;
    color: #052b72;
}

.news-card h2,
.news-card h3 {
    margin: 1rem 0 0.65rem;
    color: #052b72;
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2vw, 1.45rem);
    line-height: 1.15;
}

.news-card h2 a,
.news-card h3 a {
    color: inherit;
}

.news-card h2 a:hover,
.news-card h3 a:hover,
.news-card h2 a:focus-visible,
.news-card h3 a:focus-visible {
    color: var(--green-primary);
}

.news-card p {
    margin: 0;
    color: #53627c;
    font-size: 0.94rem;
    line-height: 1.55;
}

.news-read-more {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 1.1rem;
    color: var(--blue);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
}

.news-read-more:hover,
.news-read-more:focus-visible {
    color: var(--green-primary);
}

.news-page-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-height) + 4.5rem) 0 4.25rem;
    background:
        linear-gradient(135deg, rgba(248, 248, 246, 0.95), rgba(243, 246, 250, 0.98)),
        radial-gradient(ellipse at 85% 20%, rgba(15, 92, 46, 0.14), transparent 55%);
}

.news-page-hero .container {
    position: relative;
    z-index: 2;
}

.news-page-hero h1 {
    max-width: 48rem;
    margin: 0.8rem 0 0;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.news-page-hero p {
    max-width: 42rem;
    margin: 1.15rem 0 0;
    color: var(--gray-500);
    font-size: 1.08rem;
    line-height: 1.7;
}

.news-empty {
    display: grid;
    place-items: center;
    max-width: 34rem;
    margin-inline: auto;
    text-align: center;
}

.news-empty > span {
    display: grid;
    width: 4rem;
    height: 4rem;
    place-items: center;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-primary);
}

.news-empty h2,
.news-empty h3 {
    margin: 1.2rem 0 0.5rem;
    color: #052b72;
    font-family: var(--font-heading);
    font-size: 2rem;
}

.news-empty p {
    margin: 0 0 1.5rem;
    color: var(--gray-500);
}

.news-detail-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-top: var(--header-height);
    color: var(--white);
}

.news-detail-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(5, 43, 114, 0.92), rgba(15, 92, 46, 0.68) 55%, rgba(0, 0, 0, 0.78)),
        linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 58%);
}

.news-detail-hero .texture-diagonal {
    z-index: 2;
    opacity: 0.16;
}

.news-detail-hero-content {
    position: relative;
    z-index: 3;
    padding-block: clamp(4rem, 8vw, 6rem);
}

.detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.4rem;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-back-link:hover,
.detail-back-link:focus-visible {
    color: var(--gold);
}

.news-detail-category {
    position: static;
    background: var(--gold);
    color: #052b72;
}

.news-detail-hero h1 {
    max-width: 62rem;
    margin: 1.1rem 0 0;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6.3rem);
    line-height: 0.92;
    text-transform: uppercase;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

.news-detail-hero p {
    max-width: 45rem;
    margin: 1.25rem 0 1.5rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.7;
}

.news-detail-meta {
    color: rgba(255, 255, 255, 0.78);
}

.news-detail-meta i {
    color: var(--gold);
}

.news-detail-section {
    background: var(--white);
}

.news-detail-content {
    width: min(calc(100% - 2rem), 54rem);
    margin-inline: auto;
    color: var(--gray-700);
    font-size: 1.08rem;
    line-height: 1.85;
}

.news-detail-content > :first-child {
    margin-top: 0;
}

.news-detail-content > :last-child {
    margin-bottom: 0;
}

.news-detail-content p,
.news-detail-content blockquote,
.news-detail-content ul,
.news-detail-content ol {
    margin: 0 0 1.2rem;
}

.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4 {
    margin: 1.75rem 0 0.85rem;
    color: #052b72;
    font-family: var(--font-heading);
    line-height: 1.15;
}

.news-detail-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.news-detail-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.news-detail-content ul,
.news-detail-content ol {
    padding-left: 1.35rem;
}

.news-detail-content blockquote {
    padding: 0.2rem 0 0.2rem 1rem;
    border-left: 4px solid var(--gold);
    color: var(--green-dark);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.35;
}

.news-detail-content a {
    color: var(--green-primary);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.news-source-box {
    margin-top: 2.75rem;
    padding-top: 1.35rem;
}

.news-source-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #6f7a8e;
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.news-source-kicker::before {
    content: "";
    width: 1.4rem;
    height: 2px;
    border-radius: 999px;
    background: var(--gold-bright);
}

.news-source-box strong {
    display: block;
    margin-top: 0.45rem;
    color: #052b72;
    font-family: var(--font-heading);
    font-size: clamp(0.82rem, 1.5vw, 0.95rem);
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.news-gallery-section {
    background: linear-gradient(180deg, var(--white), #f3f6fa);
    padding-top: 0;
}

.news-gallery-head {
    max-width: 54rem;
    margin: 0 auto 2rem;
}

.news-gallery-head .section-heading {
    color: #052b72;
}

.news-gallery-head p {
    max-width: 36rem;
    margin: 0.85rem 0 0;
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.65;
}

.news-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.news-gallery-item {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(5, 43, 114, 0.1);
    border-radius: var(--radius-lg);
    background: #052b72;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    color: var(--white);
    cursor: pointer;
}

.news-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 43, 114, 0.72), rgba(5, 43, 114, 0.04) 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.news-gallery-item span {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    border-radius: 999px;
    padding: 0.42rem 0.8rem;
    background: var(--gold);
    color: #052b72;
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 850;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.news-gallery-item:hover img,
.news-gallery-item:focus-visible img {
    transform: scale(1.06);
}

.news-gallery-item:hover::after,
.news-gallery-item:focus-visible::after,
.news-gallery-item:hover span,
.news-gallery-item:focus-visible span {
    opacity: 1;
    transform: translateY(0);
}

.news-gallery-open {
    overflow: hidden;
}

.news-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    place-items: center;
    padding: 1.5rem;
}

.news-gallery-modal.open {
    display: grid;
}

.news-gallery-modal[hidden] {
    display: none !important;
}

.news-gallery-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 15, 38, 0.88);
    backdrop-filter: blur(10px);
}

.news-gallery-dialog {
    position: relative;
    z-index: 2;
    width: min(72rem, 100%);
    min-height: min(42rem, 80vh);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
}

.news-gallery-dialog figure {
    min-width: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
    justify-items: center;
}

.news-gallery-dialog figure img {
    width: auto;
    max-width: 100%;
    max-height: 76vh;
    border-radius: var(--radius-lg);
    object-fit: contain;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.news-gallery-dialog figcaption {
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
}

.news-gallery-close,
.news-gallery-nav {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.news-gallery-close:hover,
.news-gallery-close:focus-visible,
.news-gallery-nav:hover,
.news-gallery-nav:focus-visible {
    background: var(--gold);
    color: #052b72;
    transform: translateY(-2px);
}

.news-gallery-close {
    position: absolute;
    top: -3rem;
    right: 0;
    min-height: 2.35rem;
    border-radius: 999px;
    padding: 0 1rem;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 850;
}

.news-gallery-nav {
    width: 3rem;
    height: 3rem;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
}

.ideals {
    background: var(--white);
}

.ideals::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 8px;
    background: linear-gradient(90deg, #1d4ed8, #38bdf8, #1d4ed8);
}

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

.ideal-card {
    padding: 1.75rem;
    cursor: default;
}

.ideal-card.green {
    background: #f0fdf4;
    border-color: #dcfce7;
}

.ideal-card.yellow {
    background: #fefce8;
    border-color: #fef9c3;
}

.ideal-card.emerald {
    background: #ecfdf5;
    border-color: #d1fae5;
}

.ideal-card.blue {
    background: #eff6ff;
    border-color: #dbeafe;
}

.ideal-card.indigo {
    background: #eef2ff;
    border-color: #e0e7ff;
}

.ideal-card.lime {
    background: #f7fee7;
    border-color: #ecfccb;
}

.ideal-card.green:hover {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
}

.ideal-card.yellow:hover {
    background: linear-gradient(135deg, #eab308, #d97706);
}

.ideal-card.emerald:hover {
    background: linear-gradient(135deg, #059669, #14b8a6);
}

.ideal-card.blue:hover {
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
}

.ideal-card.indigo:hover {
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
}

.ideal-card.lime:hover {
    background: linear-gradient(135deg, #65a30d, #22c55e);
}

.ideal-more {
    display: block;
    margin-top: 1rem;
    color: var(--green-primary);
    font-family: var(--font-heading);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 0.45s ease, transform 0.45s ease, color 0.45s ease;
}

.ideal-card:hover .ideal-more {
    color: var(--gold);
    opacity: 1;
    transform: translateY(0);
}

.family::before {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 33%;
    background: linear-gradient(225deg, rgba(212, 175, 55, 0.1), transparent);
}

.family-hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin-bottom: clamp(2.7rem, 5vw, 3.5rem);
    box-shadow: var(--shadow-lg);
}

.family-hero img {
    width: 100%;
    height: clamp(16rem, 28vw, 20rem);
    object-fit: cover;
}

.family-hero-copy {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(90deg, rgba(15, 92, 46, 0.9), rgba(15, 92, 46, 0.6), transparent);
}

.family-hero-copy h3 {
    margin: 0 0 0.75rem;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.7rem);
    line-height: 1;
    text-transform: uppercase;
}

.family-hero-copy span {
    color: var(--gold);
}

.family-hero-copy p {
    max-width: 31rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

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

.family-pillar {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 2px solid var(--gray-200);
    padding: 1.25rem;
    background: var(--white);
}

.family-pillar:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.family-icon {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: var(--radius-lg);
    background: rgba(15, 92, 46, 0.05);
    transition: background 0.3s ease;
}

.family-pillar:hover .family-icon {
    background: rgba(212, 175, 55, 0.1);
}

.family-pillar h3 {
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
}

.family-pillar p {
    color: var(--gray-500);
    font-size: 0.88rem;
}

.party {
    color: var(--white);
}

.party::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a, #1e3a8a, #0f172a);
}

.party-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 4rem);
}

.party .section-heading {
    color: var(--white);
}

.party-copy p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.02rem;
    line-height: 1.75;
}

.party-values {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.party-values li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.party-card {
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 2.7rem);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.party-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 10rem;
    height: 10rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.1);
    transform: translate(50%, -50%);
}

.party-logo {
    display: inline-grid;
    min-width: 6rem;
    width: 6rem;
    height: 6rem;
    place-items: center;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
}

.party-logo.has-image {
    display: inline-flex;
    min-width: 10rem;
    width: clamp(10rem, 28vw, 22rem);
    max-width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.8rem;
}

.party-logo.has-image img {
    display: block;
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.party-card h3 {
    margin: 1.4rem 0 0.75rem;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 2rem;
    text-transform: uppercase;
}

.party-card blockquote {
    margin: 0 0 2rem;
    color: rgba(255, 255, 255, 0.72);
    font-style: italic;
    line-height: 1.75;
}

.party-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.party-stats strong {
    display: block;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
}

.party-stats span {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.78rem;
}

.video {
    background: linear-gradient(to bottom, #ffffff 0%, #fef9c3 20%, #dcfce7 55%, #dbeafe 100%);
}

.video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--white);
    border-radius: var(--radius-xl);
    background: #f3f4f6;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.video-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 92, 46, 0.2), transparent, rgba(59, 130, 246, 0.2));
}

.video-frame iframe,
.video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    width: clamp(5rem, 9vw, 6rem);
    height: clamp(5rem, 9vw, 6rem);
    place-items: center;
    border: 4px solid var(--white);
    border-radius: 999px;
    background: var(--gold);
    color: var(--green-dark);
    box-shadow: 0 18px 45px rgba(212, 175, 55, 0.4);
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease;
}

.play-button::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(212, 175, 55, 0.3);
    filter: blur(18px);
    transform: scale(1.55);
    animation: pulseGlow 1.8s ease-in-out infinite;
}

.play-button svg {
    position: relative;
    z-index: 1;
    margin-left: 0.22rem;
}

.video-frame:hover .play-button {
    transform: translate(-50%, -50%) scale(1.08);
}

.video-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.4rem;
    color: rgba(17, 17, 17, 0.7);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.24), transparent);
}

.social-section {
    background: rgba(248, 248, 246, 0.72);
}

.social-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.social-card {
    width: min(100%, 13.75rem);
    flex: 0 1 13.75rem;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    text-align: center;
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease, background 0.45s ease;
}

.social-card:hover,
.social-card:focus-visible {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.social-card.instagram:hover {
    background: #fdf2f8;
}

.social-card.facebook:hover {
    background: #eff6ff;
}

.social-card.youtube:hover {
    background: #fef2f2;
}

.social-card.tiktok:hover {
    background: #f9fafb;
}

.social-card.whatsapp:hover {
    background: #f0fdf4;
}

.social-icon {
    display: grid;
    width: 4rem;
    height: 4rem;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: var(--social-gradient);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.social-card:hover .social-icon {
    transform: scale(1.1);
}

.social-card h3 {
    margin: 0 0 0.2rem;
    font-family: var(--font-heading);
}

.social-card p {
    margin: 0;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.contact {
    background: linear-gradient(135deg, rgba(15, 92, 46, 0.05), var(--white), rgba(212, 175, 55, 0.05));
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    align-items: stretch;
    gap: 2rem;
}

.contact-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--white);
    padding: clamp(1.8rem, 4vw, 2rem);
}

.contact-card h3,
.contact-form h3 {
    margin: 0 0 0.45rem;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.contact-items {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
    flex: 1 1 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.contact-icon {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
}

.contact-label {
    margin: 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-value {
    margin: 0.1rem 0 0;
    font-weight: 500;
}

.whatsapp-area {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    min-height: 100%;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: clamp(1.7rem, 4vw, 2rem);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@keyframes floatCandidate {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

@keyframes scrollDot {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

@keyframes pulseGlow {
    0%,
    100% {
        opacity: 0.65;
        transform: scale(1.35);
    }

    50% {
        opacity: 1;
        transform: scale(1.6);
    }
}
