:root {
    --primary: #800000;
    --primary-dark: #5f0000;
    --gold: #d4af37;
    --ink: #162033;
    --muted: #667085;
    --soft: #f5f6f8;
    --line: #e3e7ee;
    --green: #1f7a64;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: #2a2f3a;
    background: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand strong {
    font-family: "Merriweather", Georgia, serif;
}

a {
    color: var(--primary);
    text-decoration: none;
}

img {
    max-width: 100%;
}

a:hover {
    color: var(--primary-dark);
}

.container.narrow {
    max-width: 920px;
}

.container.narrow-wide {
    max-width: 1180px;
}

.flag-strip {
    height: 4px;
    background: linear-gradient(to right, #dc2626 0 50%, #ffffff 50% 100%);
}

.top-bar {
    background: var(--ink);
    color: #e7ebf2;
    font-size: 0.86rem;
    padding: 8px 0;
}

.top-contact {
    display: flex;
    gap: 22px;
    white-space: nowrap;
}

.top-contact i {
    color: var(--gold);
    margin-right: 6px;
}

.navbar {
    background: #ffffff;
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 8px 25px rgba(16, 24, 40, 0.06);
    padding: 12px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0;
    color: var(--primary);
    min-width: 0;
}

.navbar-brand:hover {
    color: var(--primary);
}

.logo-frame {
    align-items: center;
    background: linear-gradient(145deg, var(--primary), var(--ink));
    border: 2px solid rgba(212, 175, 55, 0.78);
    border-radius: 8px;
    box-shadow: 0 12px 26px rgba(16, 24, 40, 0.16);
    display: inline-flex;
    flex: 0 0 auto;
    height: 110px;
    justify-content: center;
    padding: 8px;
    width: 110px;
}

.navbar-logo {
    width: 94px;
    height: 94px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 1.35rem;
    color: var(--primary);
}

.brand-text small {
    max-width: 280px;
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-link {
    color: var(--ink);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 12px !important;
}

.nav-link:hover,
.nav-link.active,
.dropdown-item:hover {
    color: var(--primary) !important;
}

.dropdown-menu {
    border: 0;
    border-top: 3px solid var(--gold);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.14);
}

.dropdown-item {
    font-weight: 600;
    padding: 10px 18px;
}

.news-ticker {
    background: var(--primary);
    color: #ffffff;
    padding: 9px 0;
    font-size: 0.9rem;
}

.news-ticker .container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ticker-label {
    background: var(--gold);
    border-radius: 4px;
    color: var(--primary-dark);
    flex: 0 0 auto;
    font-weight: 800;
    padding: 4px 10px;
    text-transform: uppercase;
}

.hero-slide {
    min-height: 560px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background:
        linear-gradient(to right, rgba(100, 0, 0, 0.94), rgba(100, 0, 0, 0.76), rgba(22, 32, 51, 0.24)),
        var(--hero-image) center / cover no-repeat;
    border-bottom: 6px solid var(--gold);
}

.hero-copy {
    max-width: 820px;
    padding: 64px 0;
}

.hero-tag,
.eyebrow {
    display: inline-flex;
    align-items: center;
    background: rgba(212, 175, 55, 0.16);
    border-left: 4px solid var(--gold);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 16px;
    padding: 7px 12px;
    text-transform: uppercase;
}

.hero .hero-tag {
    background: var(--gold);
    border-left: 0;
    border-radius: 4px;
    color: var(--primary-dark);
}

.hero h1,
.page-hero h1 {
    font-weight: 900;
    line-height: 1.2;
}

.hero h1 {
    font-size: 3.15rem;
    max-width: 800px;
    margin: 0 0 22px;
}

.hero p {
    font-size: 1.18rem;
    line-height: 1.8;
    max-width: 700px;
    margin-bottom: 34px;
}

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

.director-section {
    background:
        linear-gradient(90deg, rgba(128, 0, 0, 0.05), rgba(212, 175, 55, 0.08)),
        #ffffff;
}

.director-panel {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 55px rgba(16, 24, 40, 0.1);
    display: grid;
    gap: 34px;
    grid-template-columns: 330px 1fr;
    overflow: hidden;
    padding: 28px;
}

.director-photo-wrap {
    background: linear-gradient(145deg, var(--primary), var(--ink));
    border-radius: 8px;
    min-height: 380px;
    overflow: hidden;
    position: relative;
}

.director-photo-wrap img,
.director-inline-photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.director-placeholder {
    align-items: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    justify-content: center;
    min-height: 260px;
    padding: 24px;
    text-align: center;
}

.director-placeholder i {
    color: var(--gold);
    font-size: 4rem;
}

.director-placeholder span {
    color: #e7ebf2;
    font-weight: 800;
}

.director-copy h2 {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 900;
    margin: 0 0 16px;
}

.director-copy blockquote,
.director-inline-card blockquote,
.expert-card blockquote,
.expert-detail-quote {
    border-left: 4px solid var(--gold);
    color: var(--ink);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0 0 18px;
    padding-left: 18px;
}

.director-copy p {
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.8;
}

.director-signature,
.director-inline-card strong,
.director-inline-card span {
    display: block;
}

.director-signature {
    margin: 22px 0;
}

.director-signature strong,
.director-inline-card strong {
    color: var(--ink);
    font-weight: 900;
}

.director-signature span,
.director-inline-card span {
    color: var(--primary);
    font-weight: 800;
}

.btn {
    border-radius: 6px;
    font-weight: 700;
    padding: 11px 22px;
}

.btn-formal {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.btn-formal:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff;
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary-dark);
}

.btn-gold:hover {
    background: #c49d2c;
    border-color: #c49d2c;
    color: var(--primary-dark);
}

.section {
    padding: 76px 0;
}

.section-muted {
    background: var(--soft);
}

.section-dark {
    background: var(--ink);
    color: #ffffff;
}

.bg-mark {
    position: relative;
    overflow: hidden;
}

.bg-mark::after {
    content: "PSHKP";
    position: absolute;
    right: 6%;
    bottom: -28px;
    color: rgba(128, 0, 0, 0.035);
    font-family: "Merriweather", Georgia, serif;
    font-size: 8rem;
    font-weight: 900;
    pointer-events: none;
}

.section-head {
    margin-bottom: 34px;
}

.section-head h2,
.section-title {
    color: var(--primary);
    font-size: 2.05rem;
    font-weight: 900;
    margin: 0 0 14px;
}

.section-dark .section-head h2 {
    color: var(--gold);
}

.section-head p,
.lead-muted {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.section-dark .section-head p {
    color: #cbd5e1;
}

.section-head.split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.section-head.split > a {
    font-weight: 800;
}

.feature-image,
.page-image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.12);
    object-fit: cover;
}

.feature-image {
    aspect-ratio: 4 / 3;
}

.page-image {
    max-height: 460px;
    margin-bottom: 30px;
}

.content-body {
    color: #344054;
    font-size: 1rem;
    line-height: 1.85;
}

.content-body.compact {
    max-height: 220px;
    overflow: hidden;
}

.content-body h2,
.content-body h3,
.content-body h4 {
    color: var(--primary);
    margin-top: 28px;
}

.content-body ul,
.content-body ol {
    padding-left: 22px;
}

.content-body li {
    margin-bottom: 7px;
}

.check-list {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.check-list span {
    align-items: center;
    display: flex;
    gap: 10px;
    font-weight: 700;
}

.check-list i {
    color: var(--green);
}

.program-card,
.post-card,
.expert-card,
.org-card,
.service-card-large,
.contact-panel {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.program-card {
    border-top: 4px solid var(--gold);
    padding: 28px 24px;
    text-align: center;
}

.program-card:hover,
.post-card:hover,
.expert-card:hover,
.service-card-large:hover,
.org-card:hover {
    border-color: rgba(128, 0, 0, 0.28);
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.1);
    transform: translateY(-4px);
}

.program-card i {
    color: var(--primary);
    font-size: 2.3rem;
    margin-bottom: 18px;
}

.program-card h3,
.post-card h2,
.expert-card h2 {
    color: var(--ink);
    font-size: 1.12rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.program-card p,
.post-card p,
.expert-card p,
.service-card-large p,
.agenda-row p,
.org-card p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.service-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
}

.service-card-large {
    border-top: 4px solid var(--gold);
    padding: 26px;
}

.service-card-icon {
    align-items: center;
    background: rgba(128, 0, 0, 0.08);
    border: 1px solid rgba(128, 0, 0, 0.12);
    border-radius: 8px;
    color: var(--primary);
    display: flex;
    font-size: 1.6rem;
    height: 56px;
    justify-content: center;
    margin-bottom: 20px;
    width: 56px;
}

.service-card-large h2 {
    color: var(--ink);
    font-size: 1.18rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.service-card-large a {
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    margin-top: 18px;
}

.news-list {
    display: grid;
    gap: 22px;
}

.news-item {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 18px;
    grid-template-columns: 78px 1fr;
    padding-bottom: 22px;
}

.news-date,
.agenda-date-block {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--primary);
    display: grid;
    min-height: 78px;
    place-items: center;
    text-align: center;
}

.news-date strong,
.agenda-date-block strong {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
}

.news-date span,
.agenda-date-block span {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.badge-soft {
    background: rgba(128, 0, 0, 0.08);
    border-radius: 4px;
    color: var(--primary);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 10px;
    padding: 5px 9px;
}

.news-item h3 {
    font-size: 1.26rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.news-item h3 a {
    color: var(--ink);
}

.post-meta {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.84rem;
    font-weight: 700;
    gap: 7px 14px;
    line-height: 1.45;
    margin: -2px 0 12px;
}

.post-meta i {
    color: var(--green);
    margin-right: 4px;
}

.agenda-list {
    display: grid;
    gap: 14px;
}

.agenda-card {
    background: var(--soft);
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    padding: 18px;
}

.agenda-card span {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.agenda-card h3 {
    font-size: 1rem;
    font-weight: 900;
    margin: 6px 0 8px;
}

.agenda-card p {
    color: var(--muted);
    margin: 0;
}

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

.expert-pill {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    display: flex;
    gap: 14px;
    min-height: 110px;
    min-width: 0;
    padding: 14px;
}

.expert-pill:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.expert-pill img,
.profile-side img,
.org-card img {
    border-radius: 8px;
    object-fit: cover;
}

.expert-pill img,
.expert-pill-avatar {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
}

.expert-pill-avatar,
.avatar-icon {
    align-items: center;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    justify-content: center;
}

.expert-pill-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.expert-pill-copy strong {
    display: block;
    font-size: 0.98rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.expert-pill-copy small {
    color: #cbd5e1;
    font-size: 0.8rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.gallery-grid,
.card-grid {
    display: grid;
    gap: 22px;
}

.card-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

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

.gallery-grid.small-grid {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-card {
    background: var(--ink);
    border-radius: 8px;
    display: block;
    min-height: 240px;
    overflow: hidden;
    position: relative;
}

.gallery-grid.small-grid .gallery-card {
    min-height: 180px;
}

.gallery-card img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    transition: transform 0.25s ease;
    width: 100%;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.gallery-card::after {
    background: linear-gradient(to top, rgba(22, 32, 51, 0.88), rgba(22, 32, 51, 0.06));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.gallery-caption {
    background: linear-gradient(to top, rgba(22, 32, 51, 0.94), rgba(22, 32, 51, 0.72), rgba(22, 32, 51, 0));
    bottom: 0;
    color: #ffffff;
    display: grid;
    gap: 5px;
    left: 0;
    padding: 54px 20px 18px;
    position: absolute;
    right: 0;
    z-index: 2;
}

.gallery-caption strong {
    display: block;
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.gallery-caption small {
    color: rgba(255, 255, 255, 0.9);
    display: -webkit-box;
    font-size: 0.92rem;
    line-height: 1.42;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    align-items: center;
    background: rgba(10, 16, 28, 0.92);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 28px;
    position: fixed;
    z-index: 3000;
}

.lightbox figure {
    margin: 0;
    max-height: 92vh;
    max-width: min(1120px, 94vw);
}

.lightbox img {
    border-radius: 8px;
    display: block;
    max-height: 82vh;
    object-fit: contain;
    width: 100%;
}

.lightbox figcaption {
    color: #ffffff;
    font-weight: 800;
    line-height: 1.5;
    margin-top: 12px;
    text-align: center;
}

.lightbox-close {
    align-items: center;
    background: #ffffff;
    border: 0;
    border-radius: 999px;
    color: var(--primary);
    display: flex;
    font-size: 2rem;
    font-weight: 700;
    height: 44px;
    justify-content: center;
    line-height: 1;
    position: fixed;
    right: 22px;
    top: 22px;
    width: 44px;
}

.page-hero {
    background: linear-gradient(to right, var(--primary), var(--ink));
    color: #ffffff;
    padding: 76px 0;
}

.page-hero .eyebrow {
    background: var(--gold);
    border-left: 0;
    border-radius: 4px;
    color: var(--primary-dark);
}

.page-hero h1 {
    font-size: 2.8rem;
    max-width: 900px;
}

.page-hero p {
    color: #e7ebf2;
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 820px;
}

.content-layout {
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 1fr) 300px;
}

.content-side,
.profile-side {
    align-self: start;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
}

.content-side h2 {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 14px;
}

.content-side a {
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    display: block;
    font-weight: 700;
    padding: 11px 0;
}

.content-side a:hover {
    color: var(--primary);
}

.post-card,
.expert-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.post-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

.post-card > div,
.expert-card-body {
    padding: 22px;
}

.expert-card {
    padding: 0;
    text-align: left;
}

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

.expert-photo {
    background: linear-gradient(145deg, rgba(128, 0, 0, 0.12), rgba(212, 175, 55, 0.15));
    display: block;
    min-height: 270px;
    overflow: hidden;
}

.expert-photo img,
.expert-photo .avatar-icon {
    height: 270px;
    margin: 0;
    object-fit: cover;
    width: 100%;
}

.avatar-icon {
    border-radius: 8px;
    font-size: 3rem;
}

.avatar-icon.large {
    height: 260px;
    width: 100%;
}

.expert-field {
    color: var(--green);
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.expert-degree {
    color: var(--primary);
    display: block;
    font-weight: 900;
    line-height: 1.55;
    margin-bottom: 8px;
}

.expert-card blockquote {
    color: #475467;
    font-size: 0.92rem;
    margin-top: 14px;
}

.expert-more {
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    margin-top: 16px;
}

.agenda-page-list {
    display: grid;
    gap: 18px;
}

.agenda-row {
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 20px;
    grid-template-columns: 110px 1fr;
    padding: 22px;
}

.agenda-row h2 {
    font-size: 1.35rem;
}

.agenda-detail-link {
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    margin-top: 12px;
}

.agenda-detail-layout {
    align-items: start;
    display: grid;
    gap: 38px;
    grid-template-columns: minmax(0, 1fr) 330px;
}

.agenda-register-card {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    position: sticky;
    top: 124px;
}

.agenda-register-card h2 {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.agenda-register-card div {
    align-items: start;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 12px;
    grid-template-columns: 22px 1fr;
    margin-bottom: 14px;
    padding-bottom: 14px;
}

.agenda-register-card i {
    color: var(--green);
    margin-top: 3px;
}

.agenda-register-card span {
    color: var(--ink);
    font-weight: 700;
    line-height: 1.55;
}

.agenda-register-card .btn {
    margin-top: 6px;
}

.org-grid {
    display: grid;
    gap: 18px;
    margin-top: 36px;
}

.org-card {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: 92px 1fr;
    padding: 18px;
}

.org-card img,
.org-card .avatar-icon {
    height: 92px;
    margin: 0;
    width: 92px;
}

.org-card span {
    color: var(--green);
    font-weight: 800;
}

.org-card h3 {
    color: var(--ink);
    font-size: 1.2rem;
    margin: 4px 0 6px;
}

.profile-side img {
    width: 100%;
}

.expert-detail-layout {
    display: grid;
    gap: 42px;
    grid-template-columns: 340px minmax(0, 1fr);
}

.expert-profile-side {
    padding: 0;
    overflow: hidden;
}

.expert-profile-side img,
.expert-profile-side .avatar-icon.large {
    border-radius: 0;
    height: 360px;
}

.profile-meta {
    padding: 22px;
}

.profile-meta span {
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.profile-meta h2 {
    color: var(--ink);
    font-size: 1.3rem;
    font-weight: 900;
    margin: 8px 0;
}

.achievement-panel {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-top: 30px;
    padding: 24px;
}

.achievement-panel h2 {
    color: var(--primary);
    font-size: 1.28rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.achievement-panel ul {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.achievement-panel li {
    display: flex;
    gap: 10px;
}

.achievement-panel i {
    color: var(--green);
    margin-top: 5px;
}

.director-inline-card {
    align-items: center;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 22px;
    grid-template-columns: 180px 1fr;
    margin-bottom: 30px;
    padding: 20px;
}

.director-inline-photo {
    background: linear-gradient(145deg, var(--primary), var(--ink));
    border-radius: 8px;
    height: 220px;
    overflow: hidden;
}

.director-inline-card blockquote {
    margin-bottom: 14px;
}

.contact-panel {
    background: var(--ink);
    color: #ffffff;
    padding: 30px;
}

.contact-panel h2 {
    color: var(--gold);
    font-size: 1.5rem;
}

.contact-line {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.contact-line i {
    color: var(--gold);
    width: 20px;
}

.contact-line a {
    color: #ffffff;
}

.contact-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
}

.contact-form label {
    color: var(--ink);
    font-weight: 800;
    margin-bottom: 7px;
}

.form-control,
.form-select {
    border-color: var(--line);
    border-radius: 6px;
    padding: 11px 12px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.18rem rgba(128, 0, 0, 0.12);
}

.empty-state {
    background: var(--soft);
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    padding: 22px;
}

.site-footer {
    background: var(--ink);
    border-top: 5px solid var(--primary);
    color: #d8dee9;
    padding: 58px 0 22px;
}

.footer-brand {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-logo-frame {
    height: 70px;
    width: 70px;
}

.footer-brand img {
    height: 54px;
    object-fit: contain;
    width: 54px;
}

.footer-brand strong,
.footer-brand span {
    display: block;
}

.footer-brand strong {
    color: #ffffff;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.3rem;
}

.footer-brand span {
    color: #b8c1d1;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-desc {
    color: #a9b4c5;
    line-height: 1.8;
    max-width: 520px;
}

.site-footer h5 {
    color: var(--gold);
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.site-footer a {
    color: #cdd5e1;
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-contact {
    display: grid;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
}

.footer-contact i {
    color: var(--gold);
    margin-top: 5px;
}

.footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #91a0b8;
    display: flex;
    font-size: 0.86rem;
    justify-content: space-between;
    margin-top: 42px;
    padding-top: 20px;
}

.footer-bottom a {
    color: #91a0b8;
    margin: 0;
}

@media (max-width: 1199px) {
    .brand-text small {
        max-width: 210px;
    }

    .nav-link {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.45rem;
    }

    .hero-slide {
        min-height: 500px;
    }

    .content-layout,
    .card-grid.three,
    .gallery-grid,
    .expert-strip,
    .gallery-grid.small-grid,
    .service-grid,
    .expert-grid,
    .director-panel,
    .expert-detail-layout {
        grid-template-columns: 1fr 1fr;
    }

    .agenda-detail-layout {
        grid-template-columns: 1fr;
    }

    .agenda-register-card {
        position: static;
    }

    .content-side {
        order: -1;
    }
}

@media (max-width: 767px) {
    .section,
    .page-hero {
        padding: 54px 0;
    }

    .logo-frame {
        height: 78px;
        padding: 6px;
        width: 78px;
    }

    .navbar-logo {
        height: 64px;
        width: 64px;
    }

    .brand-text small {
        display: none;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.05rem;
    }

    .hero p,
    .page-hero p {
        font-size: 1rem;
    }

    .section-head.split,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .content-layout,
    .card-grid.three,
    .gallery-grid,
    .expert-strip,
    .gallery-grid.small-grid,
    .service-grid,
    .expert-grid,
    .director-panel,
    .expert-detail-layout,
    .director-inline-card,
    .agenda-detail-layout,
    .agenda-row,
    .news-item,
    .org-card {
        grid-template-columns: 1fr;
    }

    .top-contact {
        flex-wrap: wrap;
        gap: 8px 14px;
        white-space: normal;
    }

    .expert-pill {
        min-height: auto;
    }

    .director-panel {
        padding: 18px;
    }

    .director-photo-wrap {
        min-height: 300px;
    }

    .director-copy h2,
    .section-head h2,
    .section-title {
        font-size: 1.65rem;
    }

    .expert-photo,
    .expert-photo img,
    .expert-photo .avatar-icon,
    .expert-profile-side img,
    .expert-profile-side .avatar-icon.large {
        height: 300px;
    }

    .director-inline-photo {
        height: 260px;
    }

    .agenda-date-block,
    .news-date {
        min-height: auto;
        padding: 14px;
    }

    .gallery-card {
        min-height: 240px;
    }

    .lightbox {
        padding: 18px;
    }

    .lightbox-close {
        height: 40px;
        right: 14px;
        top: 14px;
        width: 40px;
    }
}

/* Compact public polish */
body,
button,
input,
textarea,
select {
    letter-spacing: 0;
}

.top-bar {
    font-size: 0.78rem;
    padding: 6px 0;
}

.navbar {
    padding: 8px 0;
}

.navbar .container {
    gap: 18px;
}

.logo-frame {
    background: linear-gradient(135deg, #3c0710, var(--primary));
    border-color: rgba(212, 175, 55, 0.88);
    height: 72px;
    padding: 7px 11px;
    width: 204px;
}

.navbar-logo {
    height: auto;
    max-height: 56px;
    width: 176px;
}

.nav-link {
    border-radius: 6px;
    font-size: 0.87rem;
    padding: 8px 10px !important;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(128, 0, 0, 0.07);
}

.dropdown-item {
    font-size: 0.9rem;
    padding: 8px 16px;
}

.news-ticker {
    font-size: 0.86rem;
    padding: 7px 0;
}

.news-ticker .container {
    gap: 12px;
    min-width: 0;
}

.ticker-label {
    font-size: 0.75rem;
    padding: 4px 9px;
}

.ticker-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-slide {
    border-bottom-width: 4px;
    min-height: 390px;
}

.hero-copy {
    max-width: 720px;
    padding: 38px 0;
}

.hero h1 {
    font-size: 2.42rem;
    line-height: 1.16;
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.04rem;
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 660px;
}

.hero-tag,
.eyebrow {
    font-size: 0.72rem;
    margin-bottom: 12px;
    padding: 6px 10px;
}

.btn {
    font-size: 0.92rem;
    padding: 9px 17px;
}

.section {
    padding: 48px 0;
}

.page-hero {
    padding: 42px 0 46px;
}

.page-hero h1 {
    font-size: 2.2rem;
    line-height: 1.16;
}

.page-hero p {
    font-size: 0.98rem;
    line-height: 1.65;
}

.section-head {
    margin-bottom: 24px;
}

.section-head h2,
.section-title {
    font-size: 1.72rem;
    line-height: 1.22;
    margin-bottom: 10px;
}

.section-head p,
.lead-muted {
    font-size: 0.96rem;
    line-height: 1.65;
}

.feature-image {
    aspect-ratio: 16 / 10;
    max-height: 330px;
}

.content-body {
    font-size: 0.95rem;
    line-height: 1.68;
}

.content-body.compact {
    max-height: 150px;
}

.content-body h2,
.content-body h3,
.content-body h4 {
    margin-top: 18px;
}

.check-list {
    gap: 7px;
    margin-top: 16px;
}

.check-list span {
    font-size: 0.92rem;
}

.director-panel {
    gap: 24px;
    grid-template-columns: 260px minmax(0, 1fr);
    padding: 22px;
}

.director-photo-wrap {
    min-height: 300px;
}

.director-copy h2 {
    font-size: 1.66rem;
    line-height: 1.25;
    margin-bottom: 12px;
}

.director-copy blockquote,
.director-inline-card blockquote,
.expert-card blockquote,
.expert-detail-quote {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 14px;
}

.director-copy p {
    font-size: 0.96rem;
    line-height: 1.65;
}

.director-signature {
    margin: 16px 0;
}

.program-card,
.post-card,
.expert-card,
.service-card-large,
.org-card,
.contact-panel {
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}

.program-card {
    display: grid;
    gap: 10px;
    padding: 20px;
    text-align: left;
}

.program-card i {
    align-items: center;
    background: rgba(128, 0, 0, 0.08);
    border: 1px solid rgba(128, 0, 0, 0.12);
    border-radius: 8px;
    display: inline-flex;
    font-size: 1.25rem;
    height: 44px;
    justify-content: center;
    margin: 0;
    width: 44px;
}

.program-card h3,
.post-card h2,
.expert-card h2 {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

.program-card p,
.post-card p,
.expert-card p,
.service-card-large p,
.agenda-row p,
.org-card p {
    font-size: 0.9rem;
    line-height: 1.58;
}

.card-grid,
.gallery-grid {
    gap: 18px;
}

.card-grid.three,
.gallery-grid,
.expert-grid,
.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.post-card img {
    aspect-ratio: 16 / 9;
}

.post-card > div,
.expert-card-body {
    padding: 18px;
}

.post-meta {
    font-size: 0.78rem;
    margin-bottom: 10px;
}

.news-list,
.agenda-list,
.agenda-page-list {
    gap: 14px;
}

.news-item {
    gap: 14px;
    grid-template-columns: 68px 1fr;
    padding-bottom: 16px;
}

.news-date,
.agenda-date-block {
    min-height: 68px;
}

.news-date strong,
.agenda-date-block strong {
    font-size: 1.45rem;
}

.agenda-row {
    gap: 16px;
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 18px;
}

.agenda-row h2 {
    font-size: 1.16rem;
    line-height: 1.35;
    margin-bottom: 8px;
}

.agenda-detail-link {
    font-size: 0.9rem;
    margin-top: 10px;
}

.expert-strip {
    gap: 14px;
}

.expert-pill {
    min-height: 94px;
    padding: 14px;
}

.expert-pill img,
.expert-pill-avatar {
    flex-basis: 58px;
    height: 58px;
    width: 58px;
}

.expert-pill-copy strong {
    font-size: 0.92rem;
}

.expert-pill-copy small {
    font-size: 0.76rem;
}

.expert-grid {
    gap: 18px;
}

.expert-photo {
    min-height: 180px;
}

.expert-photo img,
.expert-photo .avatar-icon {
    height: 180px;
}

.expert-field {
    font-size: 0.72rem;
    margin-bottom: 6px;
}

.expert-degree {
    font-size: 0.9rem;
    line-height: 1.45;
}

.expert-card blockquote {
    font-size: 0.86rem;
    margin-top: 10px;
}

.expert-more {
    font-size: 0.9rem;
    margin-top: 12px;
}

.gallery-card {
    aspect-ratio: 16 / 10;
    min-height: 0;
}

.gallery-grid.small-grid .gallery-card {
    aspect-ratio: 16 / 9;
    min-height: 0;
}

.gallery-caption {
    padding: 44px 16px 14px;
}

.gallery-caption strong {
    font-size: 0.95rem;
}

.gallery-caption small {
    font-size: 0.82rem;
}

.content-layout {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 260px;
}

.content-side,
.profile-side {
    padding: 18px;
}

.page-image {
    max-height: 340px;
    margin-bottom: 20px;
}

.service-grid {
    gap: 16px;
    margin-top: 0;
}

.service-card-large {
    align-items: start;
    display: grid;
    gap: 14px;
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 18px;
}

.service-card-icon {
    font-size: 1.25rem;
    height: 48px;
    margin-bottom: 0;
    width: 48px;
}

.service-card-large h2 {
    font-size: 1.02rem;
    line-height: 1.32;
    margin-bottom: 8px;
}

.service-card-large a {
    font-size: 0.9rem;
    margin-top: 12px;
}

.expert-detail-layout {
    gap: 28px;
    grid-template-columns: 300px minmax(0, 1fr);
}

.expert-profile-side img,
.expert-profile-side .avatar-icon.large {
    height: 300px;
}

.profile-meta {
    padding: 18px;
}

.achievement-panel {
    margin-top: 22px;
    padding: 20px;
}

.agenda-detail-layout {
    gap: 26px;
    grid-template-columns: minmax(0, 1fr) 300px;
}

.agenda-register-card {
    padding: 20px;
    top: 104px;
}

.site-footer {
    padding: 42px 0 18px;
}

.footer-brand {
    margin-bottom: 14px;
}

.footer-logo-frame {
    height: 64px;
    padding: 7px 10px;
    width: 156px;
}

.footer-brand img {
    height: auto;
    max-height: 48px;
    width: 132px;
}

@media (max-width: 1199px) {
    .logo-frame {
        height: 68px;
        width: 186px;
    }

    .navbar-logo {
        max-height: 52px;
        width: 160px;
    }

    .nav-link {
        font-size: 0.82rem;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 991px) {
    .navbar {
        padding: 7px 0;
    }

    .logo-frame {
        height: 62px;
        width: 160px;
    }

    .navbar-logo {
        max-height: 48px;
        width: 138px;
    }

    .navbar-collapse {
        background: #ffffff;
        border-top: 1px solid var(--line);
        margin-top: 10px;
        padding: 8px 0;
    }

    .hero-slide {
        min-height: 380px;
    }

    .hero-copy {
        padding: 32px 0;
    }

    .hero h1 {
        font-size: 1.98rem;
    }

    .section {
        padding: 42px 0;
    }

    .page-hero {
        padding: 36px 0 40px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .card-grid.three,
    .gallery-grid,
    .gallery-grid.small-grid,
    .expert-grid,
    .service-grid,
    .expert-strip,
    .director-panel,
    .content-layout,
    .expert-detail-layout,
    .agenda-detail-layout {
        grid-template-columns: 1fr 1fr;
    }

    .content-side,
    .agenda-register-card {
        position: static;
    }
}

@media (max-width: 767px) {
    .top-bar {
        display: none !important;
    }

    .logo-frame {
        height: 56px;
        width: 142px;
    }

    .navbar-logo {
        max-height: 42px;
        width: 120px;
    }

    .news-ticker {
        font-size: 0.8rem;
        padding: 6px 0;
    }

    .ticker-label {
        font-size: 0.7rem;
    }

    .hero-slide {
        min-height: 370px;
    }

    .hero-copy {
        padding: 28px 0;
    }

    .hero h1 {
        font-size: 1.68rem;
        line-height: 1.18;
    }

    .hero p {
        font-size: 0.95rem;
        line-height: 1.58;
        margin-bottom: 20px;
    }

    .hero-actions {
        align-items: center;
        flex-direction: row;
        gap: 8px;
        max-width: none;
    }

    .hero-actions .btn {
        font-size: 0.82rem;
        padding: 8px 11px;
    }

    .section {
        padding: 34px 0;
    }

    .page-hero {
        padding: 30px 0 34px;
    }

    .page-hero h1,
    .section-head h2,
    .section-title,
    .director-copy h2 {
        font-size: 1.52rem;
    }

    .page-hero p,
    .section-head p,
    .lead-muted {
        font-size: 0.92rem;
    }

    .feature-image {
        max-height: 220px;
    }

    .content-body.compact {
        max-height: 190px;
    }

    .card-grid.three,
    .gallery-grid,
    .gallery-grid.small-grid,
    .expert-grid,
    .service-grid,
    .expert-strip,
    .director-panel,
    .content-layout,
    .expert-detail-layout,
    .agenda-detail-layout,
    .director-inline-card,
    .agenda-row,
    .news-item,
    .org-card {
        grid-template-columns: 1fr;
    }

    .director-panel {
        gap: 18px;
        padding: 16px;
    }

    .director-photo-wrap {
        min-height: 240px;
    }

    .program-card,
    .post-card > div,
    .expert-card-body,
    .service-card-large,
    .content-side,
    .profile-side,
    .agenda-register-card {
        padding: 16px;
    }

    .service-card-large {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .service-card-icon {
        height: 42px;
        width: 42px;
    }

    .expert-photo,
    .expert-photo img,
    .expert-photo .avatar-icon,
    .expert-profile-side img,
    .expert-profile-side .avatar-icon.large {
        height: 220px;
    }

    .gallery-card,
    .gallery-grid.small-grid .gallery-card {
        aspect-ratio: 4 / 3;
    }

    .agenda-date-block,
    .news-date {
        width: 84px;
    }

    .site-footer {
        padding-top: 34px;
    }
}
