:root {
    --itkf-navy: #0b2d4f;
    --itkf-navy-2: #123f6b;
    --itkf-deep: #061b30;
    --itkf-gold: #c79a3b;
    --itkf-gold-dark: #a97b24;
    --itkf-sand: #f4f0e7;
    --itkf-cream: #fbfaf7;
    --itkf-line: #e5dfd2;
    --itkf-text: #1e2b36;
    --itkf-muted: #6e7880;
    --itkf-white: #ffffff;
    --itkf-danger: #9f2f2f;
    --itkf-radius: 10px;
    --itkf-shadow: 0 18px 45px rgba(8, 37, 62, .10);
}

html {
    scroll-behavior: smooth;
}

body.itkf-site {
    margin: 0;
    background: var(--itkf-white);
    color: var(--itkf-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

.itkf-site h1,
.itkf-site h2,
.itkf-site h3,
.itkf-site h4,
.itkf-site h5,
.itkf-site h6 {
    color: var(--itkf-navy);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: -.015em;
}

.itkf-site a {
    color: var(--itkf-navy-2);
}

.itkf-site a:hover {
    color: var(--itkf-gold-dark);
    text-decoration: none;
}

.itkf-header {
    position: relative;
    z-index: 1000;
    background: var(--itkf-deep);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.itkf-navbar {
    min-height: 88px;
    padding: 8px 0;
    background: var(--itkf-deep);
}

.itkf-nav-container {
    max-width: 1320px;
}

.itkf-brand {
    display: flex;
    align-items: center;
    min-width: 310px;
    padding: 0;
}

.itkf-brand img {
    width: 72px;
    height: 64px;
    object-fit: contain;
    background: #fff;
    border-radius: 7px;
    padding: 4px;
    margin-right: 12px;
}

.itkf-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.itkf-brand-copy strong {
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 19px;
    letter-spacing: .01em;
}

.itkf-brand-copy small {
    margin-top: 3px;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.itkf-navbar .navbar-nav .nav-link {
    position: relative;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .035em;
    padding: 28px 10px;
    text-transform: uppercase;
}

.itkf-navbar .navbar-nav .nav-link:hover,
.itkf-navbar .navbar-nav .nav-link.active,
.itkf-navbar .navbar-nav .show > .nav-link {
    color: var(--itkf-gold);
}

.itkf-navbar .navbar-nav .nav-link.active:after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 17px;
    height: 2px;
    background: var(--itkf-gold);
}

.itkf-navbar .dropdown-menu {
    border: 0;
    border-radius: 8px;
    box-shadow: var(--itkf-shadow);
    padding: 8px;
    margin-top: 0;
}

.itkf-navbar .dropdown-item {
    border-radius: 5px;
    color: var(--itkf-text);
    font-size: 14px;
    padding: 9px 12px;
}

.itkf-navbar .dropdown-item:hover {
    background: var(--itkf-sand);
    color: var(--itkf-navy);
}

.btn-itkf-gold,
.itkf-site .btn-itkf-gold {
    background: var(--itkf-gold);
    border: 1px solid var(--itkf-gold);
    border-radius: 5px;
    color: var(--itkf-deep) !important;
    font-weight: 800;
    letter-spacing: .025em;
    min-height: 44px;
    padding: 10px 20px;
}

.btn-itkf-gold:hover,
.itkf-site .btn-itkf-gold:hover {
    background: #ddb25a;
    border-color: #ddb25a;
    color: var(--itkf-deep) !important;
}

.btn-itkf-navy,
.itkf-site .btn-itkf-navy {
    background: var(--itkf-navy);
    border: 1px solid var(--itkf-navy);
    border-radius: 5px;
    color: #fff !important;
    font-weight: 700;
    min-height: 44px;
    padding: 10px 20px;
}

.btn-itkf-navy:hover,
.itkf-site .btn-itkf-navy:hover {
    background: var(--itkf-navy-2);
    border-color: var(--itkf-navy-2);
}

.btn-itkf-outline-light,
.itkf-site .btn-itkf-outline-light {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.74);
    border-radius: 5px;
    color: #fff !important;
    font-weight: 700;
    min-height: 44px;
    padding: 10px 20px;
}

.btn-itkf-outline-light:hover,
.itkf-site .btn-itkf-outline-light:hover {
    background: #fff;
    color: var(--itkf-navy) !important;
}

.itkf-hero {
    position: relative;
    min-height: 620px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.itkf-hero:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: var(--itkf-gold);
}

.itkf-hero-row {
    min-height: 620px;
    padding: 70px 0 85px;
}

.itkf-eyebrow,
.itkf-section-kicker {
    color: var(--itkf-gold-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    margin-bottom: 13px;
    text-transform: uppercase;
}

.itkf-hero .itkf-eyebrow {
    color: #e9bd5c;
}

.itkf-hero h1 {
    max-width: 760px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1.02;
}

.itkf-hero-lead {
    max-width: 720px;
    margin-bottom: 23px;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.65;
}

.itkf-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-bottom: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.itkf-hero-meta span {
    display: inline-flex;
    align-items: center;
}

.itkf-hero-meta i {
    width: 23px;
    color: var(--itkf-gold);
}

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

.itkf-hero-logo-card {
    width: 330px;
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
    padding: 38px;
}

.itkf-hero-logo-card img {
    width: 100%;
    height: auto;
}

.itkf-quick-links {
    position: relative;
    z-index: 2;
    margin-top: -37px;
    padding-bottom: 20px;
}

.itkf-quick-card {
    min-height: 120px;
    height: 100%;
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
    padding: 22px;
    background: #fff;
    border: 1px solid #e9e4d9;
    border-radius: 9px;
    box-shadow: 0 12px 35px rgba(7, 32, 53, .09);
    transition: transform .18s ease, box-shadow .18s ease;
}

.itkf-quick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(7, 32, 53, .14);
}

.itkf-quick-card > i {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--itkf-sand);
    border-radius: 50%;
    color: var(--itkf-gold-dark);
    font-size: 19px;
}

.itkf-quick-card span {
    color: var(--itkf-navy);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.itkf-quick-card small {
    color: var(--itkf-muted);
    font-size: 12px;
    line-height: 1.35;
}

.itkf-section {
    padding: 78px 0;
}

.itkf-section-muted {
    background: var(--itkf-cream);
    border-top: 1px solid var(--itkf-line);
    border-bottom: 1px solid var(--itkf-line);
}

.itkf-section-title {
    margin: 0 0 14px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
}

.itkf-section-intro {
    max-width: 760px;
    color: var(--itkf-muted);
    font-size: 17px;
}

.itkf-text-link {
    color: var(--itkf-navy) !important;
    font-weight: 800;
}

.itkf-text-link i,
.itkf-card-link i {
    margin-left: 5px;
    font-size: .82em;
}

.itkf-service-card {
    position: relative;
    min-height: 310px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--itkf-line);
    border-radius: var(--itkf-radius);
    padding: 30px;
    box-shadow: 0 8px 25px rgba(7, 32, 53, .055);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.itkf-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(199,154,59,.6);
    box-shadow: var(--itkf-shadow);
}

.itkf-service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: var(--itkf-navy);
    border-radius: 50%;
    color: var(--itkf-gold);
    font-size: 20px;
}

.itkf-service-card h3 {
    margin-bottom: 12px;
    font-size: 25px;
}

.itkf-service-card p {
    flex: 1;
    color: var(--itkf-muted);
    font-size: 15px;
}

.itkf-card-link {
    color: var(--itkf-navy);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.itkf-timeline-list {
    background: #fff;
    border: 1px solid var(--itkf-line);
    border-radius: var(--itkf-radius);
    box-shadow: 0 10px 30px rgba(9,36,59,.06);
    overflow: hidden;
}

.itkf-date-row {
    display: grid;
    grid-template-columns: 98px 1fr;
    align-items: stretch;
    border-bottom: 1px solid var(--itkf-line);
}

.itkf-date-row:last-child {
    border-bottom: 0;
}

.itkf-date-row > strong {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--itkf-navy);
    color: var(--itkf-gold);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
}

.itkf-date-row > span {
    display: flex;
    flex-direction: column;
    padding: 17px 20px;
}

.itkf-date-row b {
    color: var(--itkf-navy);
    font-size: 15px;
}

.itkf-date-row small {
    margin-top: 3px;
    color: var(--itkf-muted);
}

.itkf-venue-strip {
    padding: 72px 0;
    background-position: center;
    background-size: cover;
    color: #fff;
}

.itkf-venue-strip h2 {
    margin-bottom: 13px;
    color: #fff;
    font-size: 42px;
}

.itkf-venue-strip p {
    margin-bottom: 0;
    color: rgba(255,255,255,.78);
    font-size: 16px;
}

.text-gold {
    color: #e5b653 !important;
}

.itkf-document-links {
    border: 1px solid var(--itkf-line);
    border-radius: 10px;
    overflow: hidden;
}

.itkf-document-links a {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: center;
    padding: 15px 18px;
    background: #fff;
    border-bottom: 1px solid var(--itkf-line);
}

.itkf-document-links a:last-child {
    border-bottom: 0;
}

.itkf-document-links a:hover {
    background: var(--itkf-cream);
}

.itkf-document-links i {
    color: var(--itkf-gold-dark);
    font-size: 25px;
    text-align: center;
}

.itkf-document-links span {
    display: flex;
    flex-direction: column;
    color: var(--itkf-navy);
    font-weight: 800;
}

.itkf-document-links small {
    margin-top: 2px;
    color: var(--itkf-muted);
    font-weight: 400;
}

.itkf-page-hero {
    padding: 74px 0 62px;
    background: var(--itkf-navy);
    color: #fff;
    border-bottom: 4px solid var(--itkf-gold);
}

.itkf-page-hero .itkf-section-kicker {
    color: #e9bd5c;
}

.itkf-page-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(40px, 5vw, 58px);
}

.itkf-page-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: 17px;
}

.itkf-info-card,
.itkf-content-card,
.itkf-module-panel,
.itkf-hotel-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--itkf-line);
    border-radius: 9px;
    box-shadow: 0 7px 24px rgba(7, 32, 53, .05);
}

.itkf-content-card,
.itkf-info-card,
.itkf-module-panel {
    padding: 28px;
}

.itkf-info-card h3,
.itkf-content-card h3,
.itkf-module-panel h2,
.itkf-module-panel h3 {
    margin-top: 0;
}

.itkf-info-label {
    color: var(--itkf-gold-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.itkf-info-value {
    display: block;
    margin-top: 3px;
    color: var(--itkf-navy);
    font-weight: 800;
}

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

.itkf-feature-list li {
    position: relative;
    padding: 10px 0 10px 30px;
    border-bottom: 1px solid #eee9de;
}

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

.itkf-feature-list li:before {
    content: '\f00c';
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--itkf-gold-dark);
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.itkf-hotel-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.itkf-hotel-card-top {
    padding: 23px 24px 17px;
    background: var(--itkf-navy);
}

.itkf-hotel-card h3 {
    margin: 0;
    color: #fff;
    font-size: 21px;
}

.itkf-stars {
    margin-top: 7px;
    color: var(--itkf-gold);
    font-size: 12px;
    letter-spacing: 2px;
}

.itkf-hotel-card-body {
    flex: 1;
    padding: 22px 24px;
}

.itkf-hotel-meta {
    display: grid;
    gap: 13px;
}

.itkf-hotel-meta div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #eee9de;
    padding-bottom: 10px;
}

.itkf-hotel-meta div:last-child {
    border-bottom: 0;
}

.itkf-hotel-meta span {
    color: var(--itkf-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.itkf-hotel-meta strong {
    color: var(--itkf-navy);
    font-size: 14px;
    text-align: right;
}

.itkf-note {
    padding: 16px 18px;
    background: #fff8e9;
    border-left: 4px solid var(--itkf-gold);
    border-radius: 4px;
    color: #5e5138;
}

.itkf-table-wrap {
    border: 1px solid var(--itkf-line);
    border-radius: 9px;
    overflow-x: auto;
    box-shadow: 0 7px 24px rgba(7, 32, 53, .05);
}

.itkf-table {
    width: 100%;
    min-width: 760px;
    margin: 0;
    border-collapse: collapse;
    background: #fff;
}

.itkf-table thead th {
    padding: 15px 13px;
    background: var(--itkf-navy);
    color: #fff;
    border: 0;
    font-size: 12px;
    letter-spacing: .035em;
    text-align: center;
    vertical-align: middle;
}

.itkf-table thead th:first-child {
    text-align: left;
}

.itkf-table tbody td {
    padding: 15px 13px;
    border-top: 1px solid var(--itkf-line);
    color: var(--itkf-text);
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
}

.itkf-table tbody td:first-child {
    color: var(--itkf-navy);
    font-weight: 700;
    text-align: left;
}

.itkf-table tbody tr:nth-child(even) td {
    background: #fbfaf7;
}

.itkf-module-status {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 6px 10px;
    background: var(--itkf-sand);
    border-radius: 999px;
    color: var(--itkf-gold-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.itkf-module-status i {
    margin-right: 7px;
}

.itkf-form-preview {
    padding: 24px;
    background: var(--itkf-cream);
    border: 1px dashed #cfc4ad;
    border-radius: 8px;
}

.itkf-form-preview .form-control {
    min-height: 46px;
    border-color: #d7d1c6;
    background: #fff;
}

.itkf-form-preview .form-control:disabled {
    color: #777;
    background: #f7f5f0;
}

.itkf-footer {
    background: var(--itkf-deep);
    color: rgba(255,255,255,.68);
}

.itkf-footer-main {
    padding: 58px 0 40px;
}

.itkf-footer h4 {
    margin-bottom: 17px;
    color: var(--itkf-gold);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.itkf-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.itkf-footer li {
    margin-bottom: 8px;
}

.itkf-footer a {
    color: rgba(255,255,255,.74);
}

.itkf-footer a:hover {
    color: #fff;
}

.itkf-footer-brand {
    display: flex;
    align-items: center;
    max-width: 470px;
}

.itkf-footer-brand img {
    width: 95px;
    height: 86px;
    object-fit: contain;
    margin-right: 18px;
    padding: 7px;
    background: #fff;
    border-radius: 7px;
}

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

.itkf-footer-brand strong {
    margin-bottom: 8px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    line-height: 1.25;
}

.itkf-footer-brand span {
    color: rgba(255,255,255,.62);
    font-size: 12px;
}

.itkf-footer-bottom {
    padding: 17px 0;
    background: #041423;
    border-top: 1px solid rgba(255,255,255,.06);
    font-size: 12px;
}

.itkf-footer-bottom a {
    color: rgba(255,255,255,.68);
}

/* Legacy account forms: retain functionality while applying Cairo styling. */
.itkf-site .testimonial-padding {
    padding-top: 72px;
    padding-bottom: 72px;
}

.itkf-site .section-title,
.itkf-site .selected-color {
    color: var(--itkf-navy) !important;
}

.itkf-site .loginForm,
.itkf-site .registrationForm,
.itkf-site .password-change-form {
    margin-top: 25px;
    padding: 28px !important;
    background: #fff;
    border: 1px solid var(--itkf-line);
    border-radius: 10px;
    box-shadow: var(--itkf-shadow);
}

.itkf-site .form-control,
.itkf-site select.form-control {
    min-height: 44px;
    border-color: #d8d3c8;
    border-radius: 4px;
}

.itkf-site .input-group-text {
    min-width: 44px;
    justify-content: center;
    background: var(--itkf-sand);
    border-color: #d8d3c8;
    color: var(--itkf-navy);
}

.itkf-site .loginForm .btn,
.itkf-site .registrationForm .btn,
.itkf-site .password-change-form .btn {
    min-width: 120px;
    min-height: 46px;
    background: var(--itkf-navy);
    border-color: var(--itkf-navy);
    color: #fff;
    border-radius: 4px;
}

@media (max-width: 1199.98px) {
    .itkf-navbar {
        min-height: 78px;
    }

    .itkf-navbar .navbar-collapse {
        margin-top: 8px;
        padding: 12px 0 20px;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .itkf-navbar .navbar-nav .nav-link {
        padding: 10px 4px;
    }

    .itkf-navbar .navbar-nav .nav-link.active:after {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .itkf-brand {
        min-width: 0;
    }

    .itkf-brand img {
        width: 62px;
        height: 56px;
    }

    .itkf-hero,
    .itkf-hero-row {
        min-height: 560px;
    }

    .itkf-hero-row {
        padding: 65px 0 95px;
    }

    .itkf-quick-links {
        margin-top: -55px;
    }

    .itkf-section {
        padding: 62px 0;
    }
}

@media (max-width: 767.98px) {
    .itkf-brand-copy small {
        display: none;
    }

    .itkf-brand-copy strong {
        font-size: 16px;
    }

    .itkf-hero h1 {
        font-size: 44px;
    }

    .itkf-hero-lead {
        font-size: 16px;
    }

    .itkf-quick-card {
        grid-template-columns: 36px 1fr;
        column-gap: 10px;
        min-height: 105px;
        padding: 17px 13px;
    }

    .itkf-quick-card > i {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .itkf-quick-card span {
        font-size: 15px;
    }

    .itkf-section-title {
        font-size: 34px;
    }

    .itkf-date-row {
        grid-template-columns: 78px 1fr;
    }

    .itkf-date-row > strong {
        font-size: 15px;
    }

    .itkf-venue-strip h2 {
        font-size: 34px;
    }

    .itkf-footer-bottom span + span {
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .itkf-brand-copy {
        display: none;
    }

    .itkf-hero h1 {
        font-size: 38px;
    }

    .itkf-hero-actions .btn {
        width: 100%;
    }

    .itkf-service-card,
    .itkf-content-card,
    .itkf-info-card,
    .itkf-module-panel {
        padding: 23px;
    }
}

/* Gallery template ------------------------------------------------------- */
.itkf-preview-notice {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    background: #fff8e9;
    border: 1px solid #ead8ae;
    border-left: 4px solid var(--itkf-gold);
    border-radius: 8px;
    color: #5e5138;
}

.itkf-preview-notice-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--itkf-navy);
    border-radius: 50%;
    color: var(--itkf-gold);
}

.itkf-preview-notice strong {
    display: block;
    margin-bottom: 3px;
    color: var(--itkf-navy);
}

.itkf-preview-notice p {
    font-size: 14px;
}

.itkf-preview-notice code {
    color: var(--itkf-navy);
}

.itkf-gallery-section {
    background: #f8f7f3;
}

.itkf-gallery-browser {
    margin-bottom: 46px;
    background: #fff;
    border: 1px solid var(--itkf-line);
    border-radius: 12px;
    box-shadow: 0 10px 34px rgba(7, 32, 53, .07);
    overflow: hidden;
}

.itkf-gallery-filter-block {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    align-items: center;
    padding: 22px 24px;
    border-bottom: 1px solid var(--itkf-line);
}

.itkf-gallery-filter-block:last-child {
    border-bottom: 0;
}

.itkf-gallery-filter-block-compact {
    background: var(--itkf-cream);
}

.itkf-gallery-filter-heading {
    display: flex;
    gap: 12px;
    align-items: center;
}

.itkf-gallery-filter-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--itkf-navy);
    border-radius: 50%;
    color: var(--itkf-gold);
}

.itkf-gallery-filter-heading small,
.itkf-gallery-filter-heading strong {
    display: block;
}

.itkf-gallery-filter-heading small {
    margin-bottom: 1px;
    color: var(--itkf-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.itkf-gallery-filter-heading strong {
    color: var(--itkf-navy);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
}

.itkf-gallery-filter-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 3px 1px 6px;
    scrollbar-width: thin;
}

.itkf-gallery-filter {
    flex: 0 0 auto;
    padding: 9px 14px;
    background: #fff;
    border: 1px solid #ded8cc;
    border-radius: 999px;
    color: var(--itkf-navy);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    transition: .18s ease;
}

.itkf-gallery-filter:hover,
.itkf-gallery-filter.active {
    background: var(--itkf-navy);
    border-color: var(--itkf-navy);
    color: #fff;
}

.itkf-gallery-results-heading {
    gap: 20px;
    margin-bottom: 20px;
}

.itkf-gallery-title {
    color: var(--itkf-navy);
    font-size: 31px;
}

.itkf-gallery-count {
    color: var(--itkf-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.itkf-gallery-count strong {
    color: var(--itkf-navy);
    font-size: 18px;
}

.itkf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: 235px;
    gap: 16px;
}

.itkf-gallery-card {
    position: relative;
    grid-column: span 4;
    min-width: 0;
    overflow: hidden;
    background: var(--itkf-navy);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(7,32,53,.11);
}

.itkf-gallery-card-featured {
    grid-column: span 8;
    grid-row: span 2;
}

.itkf-gallery-card-wide {
    grid-column: span 8;
}

.itkf-gallery-card-tall {
    grid-row: span 2;
}

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

.itkf-gallery-card > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.itkf-gallery-card:hover > img {
    transform: scale(1.035);
}

.itkf-gallery-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 15, 28, .02) 22%, rgba(2, 15, 28, .86) 100%);
}

.itkf-gallery-card-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 20px;
    color: #fff;
}

.itkf-gallery-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.itkf-gallery-card-tags span {
    padding: 5px 8px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    color: rgba(255,255,255,.92);
    font-size: 10px;
    font-weight: 800;
}

.itkf-gallery-card-meta h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 21px;
}

.itkf-gallery-card-meta p {
    max-width: 660px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    line-height: 1.45;
}

.itkf-gallery-card:not(.itkf-gallery-card-featured):not(.itkf-gallery-card-wide) .itkf-gallery-card-meta p {
    display: none;
}

.itkf-gallery-card-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
    display: flex;
    gap: 7px;
    opacity: 0;
    transform: translateY(-4px);
    transition: .18s ease;
}

.itkf-gallery-card:hover .itkf-gallery-card-actions,
.itkf-gallery-card:focus-within .itkf-gallery-card-actions {
    opacity: 1;
    transform: translateY(0);
}

.itkf-gallery-icon-button {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(255,255,255,.94);
    border: 0;
    border-radius: 50%;
    color: var(--itkf-navy) !important;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(0,0,0,.18);
}

.itkf-gallery-icon-button:hover {
    background: var(--itkf-gold);
    color: var(--itkf-deep) !important;
}

.itkf-gallery-empty {
    padding: 70px 30px;
    background: #fff;
    border: 1px dashed #d8d0c1;
    border-radius: 10px;
    text-align: center;
}

.itkf-gallery-empty > span {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: var(--itkf-sand);
    border-radius: 50%;
    color: var(--itkf-gold-dark);
    font-size: 24px;
}

.itkf-gallery-empty h3 {
    margin-bottom: 7px;
}

.itkf-gallery-empty p {
    margin: 0;
    color: var(--itkf-muted);
}

.itkf-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 34px 78px;
    background: rgba(2, 13, 24, .94);
}

.itkf-gallery-lightbox.is-open {
    display: flex;
}

.itkf-gallery-lightbox-inner {
    width: min(1160px, 100%);
    max-height: calc(100vh - 68px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #071c30;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    box-shadow: 0 30px 100px rgba(0,0,0,.45);
}

.itkf-gallery-lightbox-inner > img {
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    object-fit: contain;
    background: #020b13;
}

.itkf-gallery-lightbox-caption {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
}

.itkf-gallery-lightbox-caption small {
    display: block;
    margin-bottom: 2px;
    color: var(--itkf-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.itkf-gallery-lightbox-caption h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 22px;
}

.itkf-gallery-lightbox-caption p {
    color: rgba(255,255,255,.64);
    font-size: 13px;
}

.itkf-gallery-lightbox-close,
.itkf-gallery-lightbox-nav {
    position: absolute;
    z-index: 2;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
}

.itkf-gallery-lightbox-close {
    top: 20px;
    right: 20px;
}

.itkf-gallery-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.itkf-gallery-lightbox-prev { left: 18px; }
.itkf-gallery-lightbox-next { right: 18px; }

body.itkf-gallery-lock {
    overflow: hidden;
}

/* Sponsors template ------------------------------------------------------ */
.itkf-sponsor-tier-section + .itkf-sponsor-tier-section {
    margin-top: 52px;
}

.itkf-sponsor-tier-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.itkf-sponsor-tier-heading h2 {
    margin: 0;
    font-size: 32px;
}

.itkf-sponsor-tier-line {
    height: 1px;
    flex: 1;
    background: var(--itkf-line);
}

.itkf-sponsor-card {
    min-height: 270px;
    display: grid;
    grid-template-columns: minmax(260px, 34%) 1fr;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--itkf-line);
    border-radius: 11px;
    box-shadow: 0 9px 28px rgba(7,32,53,.06);
}

.itkf-sponsor-card-main {
    border-top: 4px solid var(--itkf-gold);
}

.itkf-sponsor-logo-panel {
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 36px 34px;
    background: #f7f5ef;
    border-right: 1px solid var(--itkf-line);
}

.itkf-sponsor-logo-panel img {
    width: min(100%, 360px);
    max-height: 155px;
    object-fit: contain;
}

.itkf-sponsor-tier-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 6px 10px;
    background: var(--itkf-navy);
    border-radius: 999px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.itkf-sponsor-card-main .itkf-sponsor-tier-badge {
    background: var(--itkf-gold);
    color: var(--itkf-deep);
}

.itkf-sponsor-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px 38px;
}

.itkf-sponsor-content h3 {
    margin: 7px 0 13px;
    font-size: 29px;
}

.itkf-sponsor-content p {
    max-width: 800px;
    margin: 0;
    color: var(--itkf-muted);
    font-size: 15px;
}

.itkf-sponsor-card-footer {
    margin-top: 28px;
}

.itkf-sponsor-placeholder-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-height: 44px;
    padding: 10px 16px;
    background: var(--itkf-sand);
    border: 1px dashed #cabfAA;
    border-radius: 5px;
    color: var(--itkf-navy);
    font-size: 13px;
    font-weight: 800;
}

.itkf-sponsor-placeholder-link small {
    margin-left: 8px;
    color: var(--itkf-muted);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.itkf-sponsor-admin-note {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 58px;
    padding: 24px 28px;
    background: var(--itkf-navy);
    border-radius: 10px;
    color: rgba(255,255,255,.72);
}

.itkf-sponsor-admin-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    color: var(--itkf-gold);
    font-size: 19px;
}

.itkf-sponsor-admin-note h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 22px;
}

.itkf-sponsor-admin-note p {
    font-size: 14px;
}

@media (max-width: 991.98px) {
    .itkf-gallery-filter-block {
        grid-template-columns: 1fr;
        gap: 14px;
    }

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

    .itkf-gallery-card,
    .itkf-gallery-card-wide,
    .itkf-gallery-card-featured {
        grid-column: span 3;
    }

    .itkf-gallery-card-featured {
        grid-row: span 2;
    }

    .itkf-sponsor-card {
        grid-template-columns: minmax(220px, 38%) 1fr;
    }

    .itkf-sponsor-content {
        padding: 28px;
    }
}

@media (max-width: 767.98px) {
    .itkf-preview-notice {
        padding: 16px;
    }

    .itkf-gallery-filter-block {
        padding: 18px;
    }

    .itkf-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .itkf-gallery-card,
    .itkf-gallery-card-wide,
    .itkf-gallery-card-featured,
    .itkf-gallery-card-tall {
        grid-column: 1;
        grid-row: auto;
    }

    .itkf-gallery-card-featured {
        min-height: 390px;
    }

    .itkf-gallery-card-actions {
        opacity: 1;
        transform: none;
    }

    .itkf-gallery-lightbox {
        padding: 64px 14px 20px;
    }

    .itkf-gallery-lightbox-nav {
        top: auto;
        bottom: 22px;
    }

    .itkf-gallery-lightbox-prev { left: 18px; }
    .itkf-gallery-lightbox-next { right: 18px; }

    .itkf-gallery-lightbox-caption {
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 80px;
    }

    .itkf-gallery-lightbox-caption .btn {
        width: 100%;
    }

    .itkf-sponsor-card {
        grid-template-columns: 1fr;
    }

    .itkf-sponsor-logo-panel {
        min-height: 220px;
        border-right: 0;
        border-bottom: 1px solid var(--itkf-line);
    }

    .itkf-sponsor-content h3 {
        font-size: 25px;
    }

    .itkf-sponsor-admin-note {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .itkf-gallery-title {
        font-size: 27px;
    }

    .itkf-gallery-card-meta {
        padding: 16px;
    }

    .itkf-gallery-card-meta h3 {
        font-size: 19px;
    }

    .itkf-sponsor-content {
        padding: 24px;
    }

    .itkf-sponsor-admin-note {
        flex-direction: column;
        padding: 22px;
    }
}
