* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Cambria Math", Cambria, "Times New Roman", serif;
    color: white;
    text-align: justify;
}

p,
li {
    text-align: justify;
}

button,
input,
select,
textarea {
    font: inherit;
}

.hero {
    min-height: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    padding: 0;
    background-color: #0a3157;
    color: white;
    text-align: left;
}

.hero-panel {
    position: relative;
    width: 100%;
}

.hero-title-panel {
    width: 100%;
    min-height: 94px;
    padding-right: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background-color: #0a3157;
}

.hero-title-panel h1 {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
}

.hero h1 {
    position: relative;
    width: 50%;
    margin: 0;
    padding: 14.4px 4% 14.4px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #0a3157;
    color: white;
    font-size: clamp(24px, 2.8vw, 43.2px);
    line-height: 1;
    letter-spacing: -2px;
}

.title-flag {
    position: static;
    display: block;
    flex: 0 0 auto;
    width: 97.2px;
    height: 64.8px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 0;
    filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.28));
}

.hero-title-actions {
    width: clamp(520px, 44vw, 720px);
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(250px, 1fr) minmax(230px, 300px);
    align-items: stretch;
    gap: 12px;
}

.development-notice {
    margin: 0;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff5d6;
    border: 1px solid #e5c879;
    border-left: 5px solid #a51d2d;
    color: #001f3f;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.development-notice strong,
.development-notice span {
    display: block;
}

.development-notice strong {
    color: #a51d2d;
    font-size: 17px;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.hero-navigation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(240px, 18vw, 300px);
    gap: 12px;
    width: 100%;
    padding: 0 24px;
    background-color: white;
    border-top: 2px solid #87ceeb;
    border-bottom: 2px solid #87ceeb;
}

.primary-navigation-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin-left: -16px;
}

.hero-navigation a {
    flex: 0 0 auto;
    height: 46px;
    margin: 8px 0 15px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #bfe7f6;
    border: 2px solid #87ceeb;
    border-radius: 4px;
    box-shadow: 0 7px 0 #438eaa, 0 9px 12px rgba(0, 31, 63, 0.18);
    color: #001f3f;
    font-family: "Cambria Math", Cambria, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.hero-navigation a:last-child {
    border-right: 2px solid #87ceeb;
}

.hero-navigation a:hover {
    background-color: #d9edf5;
    color: #001f3f;
    transform: translateY(2px);
    box-shadow: 0 5px 0 #438eaa, 0 7px 10px rgba(0, 31, 63, 0.16);
}

.emergency-contact {
    min-height: 46px;
    margin: 8px 0 15px;
    padding: 0 14px;
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background-color: #fff4f4;
    border: 2px solid #a51d2d;
    border-radius: 4px;
    box-shadow: 0 7px 0 #7f1622, 0 9px 12px rgba(0, 31, 63, 0.18);
    color: #001f3f;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.emergency-contact > span {
    color: #a51d2d;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-navigation .emergency-contact a,
.hero-navigation .emergency-contact a:last-child {
    height: auto;
    margin: 0;
    padding: 0;
    display: inline;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #001f3f;
    font-size: 13px;
    text-decoration: none;
    text-transform: none;
}

.hero-navigation .emergency-contact a:hover,
.hero-navigation .emergency-contact a:focus-visible {
    background: transparent;
    color: #a51d2d;
    outline: 2px solid #a51d2d;
    outline-offset: 2px;
    box-shadow: none;
    transform: none;
}

.emergency-contact strong {
    color: #a51d2d;
    font-size: 16px;
}

.emergency-icon {
    display: inline-block;
    margin-right: 2px;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
    font-size: 18px;
    line-height: 1;
    vertical-align: -2px;
}

.navigation-search {
    flex: 1 1 520px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 69px;
    background-color: white;
}

.header-member-control {
    position: relative;
    width: 100%;
    align-self: center;
}

.header-member-login {
    width: 100%;
    height: 54px;
    padding: 5px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #87ceeb;
    border: 2px solid #a51d2d;
    border-radius: 4px;
    box-shadow: 0 7px 0 #a51d2d, 0 9px 12px rgba(0, 31, 63, 0.2);
    color: #001f3f;
    font-family: "Cambria Math", Cambria, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.header-member-login small {
    margin-top: 4px;
    color: #7f1622;
    font-size: 9px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.header-member-login:hover,
.header-member-login:focus-visible {
    background-color: #b9e3f3;
    transform: translateY(2px);
    box-shadow: 0 5px 0 #a51d2d, 0 7px 10px rgba(0, 31, 63, 0.18);
}

.header-member-account {
    position: relative;
    width: 100%;
}

.header-member-account[hidden],
.header-member-login[hidden],
.header-member-menu[hidden] {
    display: none !important;
}

.header-member-summary {
    min-height: 54px;
    padding: 4px 6px 4px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px auto;
    align-items: center;
    gap: 7px;
    background-color: #87ceeb;
    border: 2px solid #a51d2d;
    border-radius: 4px;
    box-shadow: 0 7px 0 #a51d2d, 0 9px 12px rgba(0, 31, 63, 0.2);
    color: #001f3f;
}

.header-member-summary > span {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-member-summary img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border: 2px solid #87ceeb;
    border-radius: 50%;
}

.header-member-summary button,
.header-member-menu button {
    border: 1px solid #87ceeb;
    background-color: #ffffff;
    color: #001f3f;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.header-member-summary button {
    height: 38px;
    padding: 0 9px;
}

.header-member-menu {
    position: absolute;
    z-index: 50;
    top: calc(100% + 9px);
    right: 0;
    width: 100%;
    padding: 8px;
    display: grid;
    gap: 7px;
    background-color: #ffffff;
    border: 2px solid #87ceeb;
    box-shadow: 0 12px 24px rgba(0, 31, 63, 0.28);
}

.header-member-menu button {
    min-height: 40px;
    padding: 8px 12px;
    text-align: left;
}

.header-member-menu button:hover,
.header-member-menu button:focus-visible {
    background-color: #d9edf5;
}

.profile-picture-row {
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #eef7fa;
    border-left: 5px solid #87ceeb;
}

.profile-picture-row img {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    border: 3px solid #87ceeb;
    border-radius: 50%;
}

.profile-picture-row p {
    margin: 0;
}

.navigation-search label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    margin: 8px 0 15px;
    padding: 0 20px;
    background-color: #bfe7f6;
    border: 2px solid #87ceeb;
    border-radius: 4px;
    box-shadow: 0 7px 0 #438eaa, 0 9px 12px rgba(0, 31, 63, 0.18);
    color: #001f3f;
    font-family: "Cambria Math", Cambria, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.navigation-search input {
    min-width: 0;
    flex: 1 1 auto;
    height: 46px;
    margin: 8px 0 15px;
    padding: 9px 14px;
    border: 2px solid #87ceeb;
    border-right: 0;
    background-color: white;
    color: #001f3f;
    font-size: 17px;
    outline: 0;
}

.navigation-search input:focus {
    border-color: #e5c879;
    box-shadow: inset 0 0 0 1px #e5c879;
}

.navigation-search button {
    height: 46px;
    margin: 8px 0 15px;
    padding: 0 22px;
    border: 2px solid #87ceeb;
    background-color: #87ceeb;
    border-radius: 4px;
    box-shadow: 0 7px 0 #438eaa, 0 9px 12px rgba(0, 31, 63, 0.18);
    color: #001f3f;
    font-family: "Cambria Math", Cambria, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.navigation-search button:hover,
.navigation-search button:focus-visible {
    border-color: #e5c879;
    background-color: #e5c879;
    transform: translateY(2px);
    box-shadow: 0 5px 0 #8d6b22, 0 7px 10px rgba(0, 31, 63, 0.16);
}

.contribution-navigation-cta {
    width: 100%;
    height: 54px;
    margin: 0;
    padding: 5px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    flex: 0 0 auto;
    background-color: #87ceeb;
    border: 2px solid #a51d2d;
    border-radius: 4px;
    box-shadow: 0 7px 0 #a51d2d, 0 10px 16px rgba(0, 31, 63, 0.22);
    color: #001f3f;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.4px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    animation: contribution-attention 2.8s ease-in-out infinite;
}

.contribution-navigation-cta[hidden] {
    display: none !important;
}

.contribution-navigation-cta span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.contribution-navigation-cta b {
    color: #a51d2d;
    font-size: 25px;
    line-height: 0.7;
    transition: transform 0.18s ease;
}

.contribution-navigation-cta small {
    color: #7f1622;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.1px;
    line-height: 1;
    text-transform: uppercase;
}

.contribution-navigation-cta:hover,
.contribution-navigation-cta:focus-visible {
    background-color: #b9e3f3;
    border-color: #a51d2d;
    color: #001f3f;
    transform: translateY(2px);
    box-shadow: 0 5px 0 #a51d2d, 0 7px 11px rgba(0, 31, 63, 0.2);
    animation-play-state: paused;
}

.contribution-navigation-cta:hover b,
.contribution-navigation-cta:focus-visible b {
    transform: translateX(5px);
}

@keyframes contribution-attention {
    0%, 72%, 100% {
        box-shadow: 0 7px 0 #a51d2d, 0 10px 16px rgba(0, 31, 63, 0.22);
    }

    82% {
        box-shadow: 0 7px 0 #a51d2d, 0 10px 24px rgba(165, 29, 45, 0.46);
    }
}

@media (prefers-reduced-motion: reduce) {
    .contribution-navigation-cta {
        animation: none;
    }
}

.district-quick-navigation {
    width: 100%;
    padding: 0;
    overflow: visible;
    background-color: transparent;
    border: 0;
}

.district-tab-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(171px, 1fr));
    align-content: start;
    gap: 9.8px;
    width: 100%;
    padding: 0 0 10px;
    overflow: visible;
}

.district-quick-tab {
    width: 100%;
    min-width: 0;
    height: 57.70px;
    justify-self: start;
    padding: 0 17.64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background-color: #bfe7f6;
    border: 2px solid #87ceeb;
    border-radius: 4px;
    box-shadow: 0 6px 0 #438eaa, 0 9px 13px rgba(0, 31, 63, 0.24);
    color: #001f3f;
    font: inherit;
    font-family: "Cambria Math", Cambria, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transform: translateY(0);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.district-tab-name {
    max-width: 100%;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.05;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.district-tab-detail {
    max-width: 100%;
    overflow: hidden;
    color: #52636b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.45px;
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: none;
}

.headquarters-tab .district-tab-detail {
    color: #8d1726;
}

.district-quick-tab:hover {
    background-color: #d9edf5;
    box-shadow: 0 3px 0 #438eaa, 0 6px 10px rgba(0, 31, 63, 0.2);
    transform: translateY(3px);
}

.district-quick-tab:focus-visible {
    outline: 3px solid #a51d2d;
    outline-offset: 3px;
}

.district-quick-tab.headquarters-tab {
    background-color: #e5c879;
    border-color: #a51d2d;
    box-shadow: 0 6px 0 #a51d2d, 0 9px 13px rgba(0, 31, 63, 0.24);
    color: #001f3f;
}

.district-quick-tab.headquarters-tab:hover {
    background-color: #f1d98f;
    box-shadow: 0 3px 0 #a51d2d, 0 6px 10px rgba(0, 31, 63, 0.2);
}

.district-instruction-tab {
    width: 100%;
    height: 57.70px;
    justify-self: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0 17.64px;
    background-color: #ffffff;
    border: 3px solid #87ceeb;
    border-radius: 4px;
    box-shadow: 0 6px 0 #438eaa, 0 9px 14px rgba(0, 31, 63, 0.28);
    color: #001f3f;
    font-family: "Cambria Math", Cambria, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 900;
}

.district-instruction-tab span {
    width: 150px;
    color: #001f3f;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.district-instruction-tab strong {
    display: block;
    width: 150px;
    height: 17px;
    flex: 0 0 17px;
    background-color: #a51d2d;
    clip-path: polygon(0 38%, 84% 38%, 84% 0, 100% 50%, 84% 100%, 84% 62%, 0 62%);
    font-size: 0;
}

.district-instruction-tab strong::before {
    content: none;
}

.district-instruction-tab strong::after {
    content: none;
}

.explore-section {
    min-height: 500px;
    padding: 100px 60px;

    background-color: white;
    color: #123c2d;
    text-align: center;
}

.explore-section h2 {
    margin-top: 0;
    font-size: 40px;
}
.section-label {
    margin: 0 0 10px;
    color: #9a6a1f;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-introduction {
    max-width: 600px;
    margin: 16px auto 40px;
    color: #52636b;
    line-height: 1.7;
}

.district-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.district-card {
    padding: 30px;
    background-color: #f4f8fa;
    border: 1px solid #d5e3e9;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.district-card span {
    color: #9a6a1f;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.district-card h3 {
    margin: 12px 0;
    color: #001f3f;
    font-size: 28px;
}

.district-card p {
    min-height: 72px;
    color: #52636b;
    line-height: 1.6;
}

.district-card a {
    color: #001f3f;
    font-weight: bold;
    text-decoration: none;
}

.district-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 31, 63, 0.12);
}

.heritage-section {
    padding: 100px 60px;
    background-color: #001f3f;
    color: white;
}

.heritage-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;

    max-width: 1200px;
    margin: 0 auto 40px;
}

.heritage-heading h2 {
    margin: 0;
    font-size: 40px;
}

.heritage-heading > p {
    max-width: 470px;
    margin: 0;
    color: #c7d7df;
    line-height: 1.7;
}

.heritage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

    max-width: 1200px;
    margin: 0 auto;
}

.heritage-card {
    min-height: 290px;
    padding: 30px;

    display: flex;
    flex-direction: column;

    background-color: #0a3157;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.heritage-card:hover {
    transform: translateY(-5px);
    background-color: #123f67;
}

.heritage-card span {
    color: #e5c879;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.heritage-card h3 {
    margin: 14px 0 6px;
    font-size: 27px;
}

.heritage-card p {
    margin: 0;
    color: #c7d7df;
}

.heritage-card a {
    margin-top: auto;
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.heritage-card a:hover {
    color: #e5c879;
}

.culture-section {
    padding: 100px 60px;
    background-color: #fff8e8;
    color: #123c2d;
}

.culture-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.culture-heading h2 {
    margin: 0;
    font-size: 40px;
}

.culture-heading > p:last-child {
    margin: 18px auto 0;
    color: #52636b;
    line-height: 1.7;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.culture-card {
    min-height: 300px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    background-color: white;
    border: 1px solid #ead9b7;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(92, 62, 20, 0.12);
}

.culture-card span {
    color: #9a6a1f;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.culture-card h3 {
    margin: 14px 0 10px;
    color: #001f3f;
    font-size: 27px;
}

.culture-card p {
    margin: 0;
    color: #52636b;
    line-height: 1.6;
}

.culture-card a {
    margin-top: auto;
    color: #001f3f;
    font-weight: bold;
    text-decoration: none;
}

.culture-card a:hover {
    color: #9a6a1f;
}

/* A consistent navy-and-gold theme for every discovery section. */
.explore-section,
.culture-section,
.travel-section {
    padding: 100px 60px;
    background-color: #001f3f;
    color: white;
}

.explore-section,
.culture-section,
.heritage-section,
.travel-section {
    position: relative;
}

.explore-section::after,
.heritage-section::after,
.culture-section::after,
.travel-section::after {
    content: "";
    position: absolute;
    z-index: 2;
    bottom: -4px;
    left: 50%;
    width: 100%;
    height: 8px;
    transform: translateX(-50%);
    background: linear-gradient(
        to bottom,
        #a51d2d 0%,
        #a51d2d 34%,
        #e5c879 34%,
        #f1d98f 66%,
        #a51d2d 66%,
        #a51d2d 100%
    );
    box-shadow: 0 2px 8px rgba(165, 29, 45, 0.34);
    pointer-events: none;
}

.section-introduction,
.culture-heading > p:last-child {
    color: #c7d7df;
}

.district-card,
.heritage-card,
.culture-card,
.travel-card {
    height: 330px;
    min-height: 330px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    background-color: #0a3157;
    border: 2px solid #87ceeb;
    border-radius: 10px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.district-card:hover,
.culture-card:hover,
.travel-card:hover {
    transform: translateY(-5px);
    background-color: #123f67;
    box-shadow: none;
}

.district-card span,
.culture-card span,
.travel-card span {
    color: #e5c879;
    letter-spacing: 1px;
}

.district-card h3,
.culture-card h3,
.travel-card h3 {
    color: white;
}

.district-card p,
.culture-card p,
.travel-card p {
    color: #c7d7df;
}

.district-card a,
.culture-card a,
.travel-card a {
    margin-top: auto;
    color: white;
}

.district-card a:hover,
.culture-card a:hover,
.travel-card a:hover {
    color: #e5c879;
}

/* Use the same narrow portrait shape for every discovery card. */
.district-grid {
    grid-template-columns: repeat(auto-fill, 220px);
    gap: 14px;
}

.district-card {
    min-height: 330px;
    padding: 24px;
}

.district-card span {
    font-size: 10px;
    line-height: 1.35;
}

.district-card h3 {
    margin: 11px 0 8px;
    font-size: 20px;
    line-height: 1.15;
}

.district-card a {
    font-size: 16px;
    font-weight: 800;
}

.district-directory {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.division-group {
    padding: 24px;
    background-color: rgba(10, 49, 87, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.division-heading {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 18px;
}

.division-heading > span {
    color: #e5c879;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.division-heading h3 {
    margin: 0;
    color: white;
    font-size: 25px;
}

.division-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, 220px);
    gap: 14px;
}

.district-card.division-headquarters {
    background-color: #174b76;
    border: 2px solid #87ceeb;
    box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.1);
}

.district-card.division-headquarters span {
    color: #f1d98f;
}

.district-card,
.heritage-card,
.culture-card,
.travel-card {
    position: relative;
    cursor: pointer;
}

.district-card a,
.heritage-card a,
.culture-card a,
.travel-card a {
    font-size: 16px;
    font-weight: 800;
}

.district-card a::after,
.heritage-card a::after,
.culture-card a::after,
.travel-card a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.district-card:focus-within,
.heritage-card:focus-within,
.culture-card:focus-within,
.travel-card:focus-within {
    outline: 3px solid white;
    outline-offset: 3px;
}

.travel-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.travel-heading h2 {
    margin: 0;
    font-size: 40px;
}

.travel-heading > p {
    max-width: 470px;
    margin: 0;
    color: #c7d7df;
    line-height: 1.7;
}

.travel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.travel-card span {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.travel-card h3 {
    margin: 14px 0 10px;
    font-size: 27px;
}

.travel-card p {
    margin: 0;
    line-height: 1.6;
}

.travel-card a {
    font-weight: bold;
    text-decoration: none;
}

/* Shared card typography: label, title, description, then action. */
.district-card span,
.heritage-card span,
.culture-card span,
.travel-card span {
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.district-card h3,
.heritage-card h3,
.culture-card h3,
.travel-card h3 {
    margin: 14px 0 10px;
    font-size: 24px;
    line-height: 1.15;
}

.district-card p,
.heritage-card p,
.culture-card p,
.travel-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.district-card a,
.heritage-card a,
.culture-card a,
.travel-card a {
    margin-top: auto;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none;
}

/* Keep section content left-aligned and leave room for future cards. */
.explore-section,
.culture-section {
    text-align: left;
}

.section-introduction,
.culture-heading,
.heritage-heading,
.travel-heading {
    margin-left: 0;
    margin-right: 0;
}

.section-introduction {
    margin-top: 16px;
    margin-bottom: 40px;
}

.culture-heading {
    text-align: left;
}

.district-grid,
.heritage-grid,
.culture-grid,
.travel-grid {
    grid-template-columns: repeat(auto-fill, 220px);
    justify-content: start;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* Compact linked-information tabs beneath the Heritage, Culture and Travel menu items. */
.heritage-section,
.culture-section,
.travel-section {
    padding: 48px 60px 52px;
}

.heritage-grid,
.culture-grid,
.travel-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}

.heritage-section .heritage-card,
.culture-section .culture-card,
.travel-section .travel-card {
    width: 100%;
    height: 104px;
    min-height: 104px;
    padding: 12px 16px 14px;
    justify-content: center;
    gap: 3px;
    overflow: hidden;
    background-color: #bfe7f6;
    color: #001f3f;
    border: 2px solid #87ceeb;
    border-radius: 7px;
    box-shadow:
        0 8px 0 #3b8cab,
        0 12px 18px rgba(0, 31, 63, 0.18);
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.heritage-section .heritage-card:hover,
.culture-section .culture-card:hover,
.travel-section .travel-card:hover {
    transform: translateY(-3px);
    background-color: #d9edf5;
    box-shadow:
        0 11px 0 #3b8cab,
        0 15px 22px rgba(0, 31, 63, 0.2);
}

.heritage-section .heritage-card span,
.culture-section .culture-card span,
.travel-section .travel-card span {
    margin: 0;
    color: #9a6a1f;
    font-size: 10px;
    line-height: 1.1;
    text-align: center;
}

.heritage-section .heritage-card h3,
.culture-section .culture-card h3,
.travel-section .travel-card h3 {
    margin: 1px 0;
    color: #001f3f;
    font-size: 18px;
    line-height: 1.05;
    text-align: center;
}

.heritage-section .heritage-card p,
.culture-section .culture-card p,
.travel-section .travel-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #355568;
    font-size: 11px;
    line-height: 1.2;
    text-align: justify;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.heritage-section .heritage-card a,
.culture-section .culture-card a,
.travel-section .travel-card a {
    position: absolute;
    z-index: 2;
    inset: 0;
    margin: 0;
    color: transparent;
    font-size: 0;
}

.heritage-section .heritage-card:focus-within,
.culture-section .culture-card:focus-within,
.travel-section .travel-card:focus-within {
    outline: 3px solid white;
    outline-offset: 4px;
}

.home-button {
    position: fixed;
    z-index: 20;
    top: 50%;
    right: auto;
    bottom: auto;
    left: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 11px 9px 13px;
    background-color: #87ceeb;
    color: #001f3f;
    border: 1px solid rgba(0, 31, 63, 0.18);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 8px 24px rgba(0, 15, 35, 0.28);
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
    writing-mode: horizontal-tb;
    transform: translateY(-50%);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.home-button:hover {
    transform: translateY(-50%) translateX(3px);
    background-color: #a8ddf0;
}

.home-main {
    font-size: 14px;
    line-height: 1;
    writing-mode: horizontal-tb;
}

.home-page {
    font-size: 13px;
    line-height: 1;
    letter-spacing: 1px;
    text-orientation: upright;
    writing-mode: vertical-rl;
}

.homepage-home-button {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(-100%);
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease,
        background-color 0.2s ease;
}

.homepage-home-button.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

.homepage-home-button.is-visible:hover {
    transform: translateY(-50%) translateX(3px);
}

.home-button:focus-visible {
    outline: 3px solid white;
    outline-offset: 3px;
}

.hero-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(720px, 43vw, 940px);
    gap: 0;
    width: 100%;
    padding: 12px 16px 14px;
}

.hero-main-space {
    min-width: 0;
    height: auto;
    min-height: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    overflow: visible;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: white;
}

.punjab-opening-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: stretch;
    gap: 12px;
}

.punjab-opening {
    width: 100%;
    min-height: 228px;
    align-self: flex-start;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    padding: 10px 12px 45px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f3fbfe 55%, #e1f3fa 100%);
    border: 2px solid #87ceeb;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 31, 63, 0.24);
}

.punjab-opening::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #a51d2d 0 18%, #e5c879 18% 60%, #87ceeb 60% 100%);
}

.punjab-opening-copy {
    min-width: 0;
    max-width: none;
    padding-right: 0;
}

.punjab-opening-secondary {
    min-width: 0;
    align-self: stretch;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f3fbfe 55%, #e1f3fa 100%);
    border: 2px solid #87ceeb;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 31, 63, 0.24);
}

.punjab-opening-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #a51d2d 0 18%, #e5c879 18% 60%, #87ceeb 60% 100%);
}

.landmark-slideshow {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    padding: 8px;
    contain: layout paint;
}

.landmark-slide-link {
    width: 100%;
    height: 100%;
    min-height: 0;
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid #87ceeb;
    border-radius: 7px;
    background: #d9edf5;
    color: #ffffff;
    text-decoration: none;
}

.landmark-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transform: scale(1.001);
    transition: opacity 0.45s ease, transform 5s linear;
}

.landmark-slideshow:not(.is-paused) .landmark-slide-image {
    transform: scale(1.035);
}

.landmark-slideshow.is-changing .landmark-slide-image {
    opacity: 0;
}

.landmark-slide-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 20, 42, 0.88) 100%);
}

.landmark-slide-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    gap: 2px;
    padding: 28px 16px 13px;
    text-align: left;
}

.landmark-slide-caption small {
    color: #f1d47d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.landmark-slide-caption strong {
    font-size: 24px;
    line-height: 1.05;
}

.landmark-slide-caption > span {
    color: #d9edf5;
    font-size: 15px;
    font-weight: 700;
}

.landmark-slideshow-toolbar {
    min-width: 0;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 7px 2px 0;
    color: #355568;
    font-size: 11px;
}

.landmark-slideshow-controls {
    display: flex;
    gap: 4px;
}

.landmark-slideshow-controls button {
    min-width: 28px;
    height: 25px;
    padding: 0 7px;
    border: 1px solid #87ceeb;
    border-radius: 4px;
    background: #d9edf5;
    color: #001f3f;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.landmark-slideshow-controls button:hover,
.landmark-slideshow-controls button:focus-visible {
    background: #87ceeb;
}

.landmark-position {
    white-space: nowrap;
}

.landmark-credit {
    min-width: 0;
    overflow: hidden;
    color: #355568;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Consistent heading colour across every white or pale information surface. */
.punjab-opening h2,
.punjab-opening h3,
.punjab-fact-grid strong,
.community-map-card h2,
.community-card h2,
.public-posts-card h2,
.public-post-preview strong,
.member-dialog h2,
.district-card h3 {
    color: #001f3f;
}

@media (prefers-reduced-motion: reduce) {
    .landmark-slide-image {
        transition: none;
        transform: none !important;
    }
}

.punjab-opening-title-row {
    display: flex;
    align-items: center;
    gap: 0;
}

.punjab-opening h2 {
    margin: 0;
    padding: 0 0 5px;
    background: transparent;
    border: 0;
    border-bottom: 3px solid #e5c879;
    border-radius: 0;
    box-shadow: none;
    color: #001f3f;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.25px;
    line-height: 1.2;
}

.punjab-opening-lead {
    max-width: none;
    margin: 14px 0 0;
    color: #355568;
    font-size: 17px;
    line-height: 1.35;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

.punjab-fact-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 18px;
    padding-top: 11px;
    border-top: 1px solid #b9dce8;
}

.punjab-fact-grid article {
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.punjab-fact-grid strong {
    display: block;
    color: #001f3f;
    font-size: 13px;
    line-height: 1.15;
}

.punjab-fact-grid p {
    margin: 5px 0 0;
    color: #355568;
    font-size: 11px;
    line-height: 1.3;
    text-align: justify;
}

.punjab-map-reference {
    margin: 12px 0 0;
    padding: 7px 9px;
    color: #355568;
    font-size: 12px;
    line-height: 1.3;
    background-color: rgba(217, 237, 245, 0.72);
    border-left: 4px solid #87ceeb;
}

.punjab-map-reference strong {
    color: #001f3f;
}

.punjab-story {
    margin-top: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.punjab-story article {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.punjab-story article:hover {
    transform: none;
    box-shadow: none;
}

.punjab-story strong {
    display: block;
    min-height: 0;
    margin-bottom: 6px;
    padding: 0;
    border: 0;
    color: #001f3f;
    font-size: 15px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.punjab-story p {
    margin: 0;
    color: #29495c;
    font-size: 15px;
    line-height: 1.35;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

.punjab-maps {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: start;
    align-content: stretch;
    align-self: stretch;
    gap: 6px;
    padding-left: 10px;
    border-left: 2px solid #c8e4ee;
}

.punjab-map-heading {
    grid-column: 1 / -1;
    margin: 0 0 2px;
    color: #001f3f;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}

.punjab-map {
    min-width: 0;
    min-height: 0;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    align-self: stretch;
    padding: 3px;
    background-color: rgba(255, 255, 255, 0.68);
    border: 1px solid #c8e4ee;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 31, 63, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.punjab-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 31, 63, 0.14);
}

.punjab-map a {
    width: 100%;
    min-height: 0;
    flex: 1;
    display: flex;
    justify-content: center;
    transform: scale(1.768, 1.291);
    transform-origin: right top;
}

.punjab-map img {
    width: 100%;
    height: 100%;
    max-height: none;
    display: block;
    object-fit: contain;
    background-color: #eef7fa;
    border: 1px solid #87ceeb;
}

.punjab-map figcaption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.punjab-map-note {
    grid-column: 1 / -1;
    margin: 0;
    color: #526b78;
    font-size: 9px;
    line-height: 1.35;
    text-align: center;
}

.hero-feature-image {
    width: 100%;
    height: 47%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-feature-content {
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.hero-feature-content h2 {
    margin: 0;
    color: #001f3f;
    font-size: clamp(30px, 2.5vw, 46px);
    line-height: 1.05;
}

.hero-feature-introduction {
    max-width: 720px;
    margin: 14px 0 20px;
    color: #52636b;
    font-size: 16px;
    line-height: 1.6;
}

.district-search {
    max-width: 680px;
}

.district-search > label {
    display: block;
    margin-bottom: 7px;
    color: #001f3f;
    font-size: 13px;
    font-weight: 800;
}

.district-search-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}

.district-search input,
.district-search button {
    min-height: 48px;
    border: 2px solid #87ceeb;
    font: inherit;
}

.district-search input {
    min-width: 0;
    padding: 0 14px;
    border-radius: 6px 0 0 6px;
    color: #001f3f;
}

.district-search button {
    padding: 0 20px;
    background-color: #001f3f;
    border-left: 0;
    border-radius: 0 6px 6px 0;
    color: white;
    font-weight: 800;
    cursor: pointer;
}

.district-search button:hover {
    background-color: #0a3157;
}

.district-search input:focus-visible,
.district-search button:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid #e5c879;
    outline-offset: 2px;
}

.district-search-status {
    min-height: 20px;
    margin: 6px 0 0;
    color: #52636b;
    font-size: 12px;
}

.featured-destination {
    margin-top: auto;
    padding-top: 18px;
    display: grid;
    grid-template-columns: auto minmax(120px, 1fr) auto;
    align-items: center;
    gap: 18px;
    border-top: 1px solid #c8dce5;
}

.featured-destination div {
    display: flex;
    flex-direction: column;
}

.featured-destination span {
    color: #9a6a1f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.featured-destination strong {
    margin-top: 4px;
    color: #001f3f;
    font-size: 25px;
}

.featured-destination p {
    margin: 0;
    color: #52636b;
    font-size: 13px;
    line-height: 1.45;
}

.featured-destination a {
    padding: 11px 14px;
    background-color: #87ceeb;
    border-radius: 5px;
    color: #001f3f;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.featured-destination a:hover {
    background-color: #a8ddf0;
}

.district-card.search-result-highlight {
    outline: 4px solid #87ceeb;
    outline-offset: 5px;
    box-shadow: 0 0 28px rgba(135, 206, 235, 0.7);
}

.visitor-tools {
    width: calc(100% - 4px);
    margin-left: 4px;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "registration public-posts"
        "advertisement advertisement";
    grid-template-rows: minmax(620px, 1fr) 250px;
    column-gap: 12px;
    row-gap: 20px;
    justify-self: stretch;
    align-self: stretch;
    align-items: stretch;
    transform: none;
}

.community-card {
    grid-area: post;
}

.membership-card {
    grid-area: registration;
}

.public-posts-card {
    grid-area: public-posts;
}

.advertisement-slot {
    grid-area: advertisement;
}

.public-posts-card {
    min-height: 0;
    overflow-y: auto;
}

.embedded-community-card {
    margin-top: 18px;
    padding: 18px 0 0;
    background: transparent;
    border: 0;
    border-top: 2px solid #87ceeb;
    border-radius: 0;
    box-shadow: none;
}

.embedded-community-card h2 {
    font-size: 20px;
}

.community-map-card {
    grid-area: registration;
    min-width: 0;
    min-height: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(145deg, #f7fcfe, #d9edf5);
    border: 2px solid #87ceeb;
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(0, 31, 63, 0.16);
}

.community-map-card h2 {
    margin: 0 0 7px;
    color: #001f3f;
    font-size: 22px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.community-map-card .punjab-map {
    flex: 1;
    height: auto;
    overflow: hidden;
}

.community-map-card .punjab-map a {
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform: none;
}

.community-map-card .punjab-map img {
    max-height: 100%;
    object-fit: fill;
    object-position: center;
}

.membership-card,
.community-card,
.public-posts-card {
    padding: 22px;
    background-color: white;
    border: 1px solid #c8dce5;
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(0, 31, 63, 0.16);
    color: #001f3f;
}

.tool-label {
    margin: 0 0 7px;
    color: #9a6a1f;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.membership-card h2,
.community-card h2,
.public-posts-card h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.15;
}

.membership-card > p:not(.tool-label),
.community-card > p:not(.tool-label),
.member-signed-out-state > p:not(.tool-label),
.member-signed-in-state > p:not(.tool-label) {
    margin: 8px 0 18px;
    color: #52636b;
    font-size: 14px;
}

.public-post-preview {
    margin-top: 14px;
    padding: 14px;
    background-color: #eef7fa;
    border-radius: 6px;
    color: #001f3f;
}

.public-post-preview strong {
    font-size: 13px;
}

.public-post-preview p {
    margin: 7px 0 0;
    color: #52636b;
    font-size: 12px;
    line-height: 1.45;
}

.muted-preview {
    opacity: 0.7;
}

.membership-form {
    display: grid;
    gap: 11px;
}

.membership-form[hidden] {
    display: none !important;
}

.membership-form label {
    color: #52636b;
    font-size: 12px;
    font-weight: bold;
}

.membership-form input,
.registration-form input,
.registration-form select,
.verification-placeholder input,
.community-card textarea {
    width: 100%;
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #c8dce5;
    border-radius: 5px;
    font: inherit;
}

.community-card textarea {
    resize: none;
}

.upload-placeholder {
    display: block;
    margin: 10px 0;
    padding: 11px;
    background-color: #eef7fa;
    border: 1px dashed #9eb7c2;
    border-radius: 5px;
    color: #52636b;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

.upload-placeholder input {
    display: none;
}

.membership-card button,
.community-card button {
    width: 100%;
    padding: 11px;
    background-color: #d9e5ea;
    border: 0;
    border-radius: 5px;
    color: #52636b;
    font-weight: bold;
    cursor: pointer;
}

.membership-card button:disabled,
.community-card button:disabled,
.verification-placeholder button:disabled {
    cursor: not-allowed;
}

.member-primary-button {
    background-color: #001f3f !important;
    color: white !important;
}

.member-primary-button:hover,
.member-primary-button:focus-visible {
    background-color: #0a4675 !important;
}

.member-secondary-button {
    background-color: #bfe7f6 !important;
    color: #001f3f !important;
}

.member-secondary-button:hover,
.member-secondary-button:focus-visible {
    background-color: #87ceeb !important;
}

.member-placeholder-note,
.member-lock-status {
    padding: 9px 11px;
    background-color: #eef7fa;
    border-left: 4px solid #87ceeb;
    color: #52636b;
    font-size: 11px !important;
    line-height: 1.35;
}

.member-lock-status {
    margin-bottom: 10px !important;
    border-left-color: #a51d2d;
}

.member-dialog {
    width: min(760px, calc(100% - 32px));
    max-height: calc(100vh - 40px);
    padding: 24px;
    overflow: auto;
    background-color: white;
    border: 2px solid #87ceeb;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0, 31, 63, 0.42);
    color: #001f3f;
}

.member-login-dialog {
    width: min(620px, calc(100% - 32px));
}

.member-login-guidance {
    max-width: 520px;
    margin: 7px 0 0;
    color: #52636b;
    line-height: 1.45;
}

.member-dialog::backdrop {
    background-color: rgba(0, 31, 63, 0.72);
    backdrop-filter: blur(3px);
}

.member-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #d9edf5;
}

.member-dialog-header h2 {
    margin: 0;
    font-size: 28px;
}

.dialog-close-button {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    background-color: #eef7fa;
    border: 1px solid #c8dce5;
    border-radius: 4px;
    color: #001f3f;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.registration-form {
    display: grid;
    gap: 14px;
}

.registration-form[hidden],
.verification-placeholder[hidden] {
    display: none;
}

.registration-form label,
.verification-placeholder label {
    display: grid;
    gap: 5px;
    color: #52636b;
    font-size: 13px;
    font-weight: 800;
}

.registration-form input,
.registration-form select,
.verification-placeholder input {
    width: 100%;
    margin: 0;
    padding: 11px;
    background-color: white;
    border: 1px solid #b8d3de;
    border-radius: 5px;
    color: #001f3f;
    font: inherit;
}

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

.registration-phone-grid {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
    gap: 12px;
}

.dialog-action-row {
    display: grid;
    grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1.45fr);
    gap: 12px;
}

.dialog-action-row button,
.verification-placeholder button {
    min-height: 44px;
    padding: 10px 14px;
    border: 0;
    border-radius: 5px;
    font-weight: 800;
    cursor: pointer;
}

.verification-placeholder {
    padding: 18px;
    background-color: #eef7fa;
    border: 1px solid #c8dce5;
    border-left: 5px solid #e5c879;
}

.verification-placeholder h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.verification-placeholder p:not(.tool-label) {
    color: #52636b;
}

.verification-placeholder .member-primary-button {
    background-color: #001f3f;
    color: white;
}

.verification-placeholder .member-primary-button:hover,
.verification-placeholder .member-primary-button:focus-visible {
    background-color: #0a3157;
}

.verification-placeholder button {
    width: 100%;
    margin-top: 12px;
    background-color: #d9e5ea;
    color: #52636b;
}

.contribution-dialog {
    width: min(980px, calc(100% - 32px));
}

.contribution-placeholder-warning {
    max-width: 700px;
    margin: 7px 0 0;
    color: #52636b;
    font-size: 12px;
    line-height: 1.4;
}

.contribution-demo-button {
    min-height: 38px;
    margin-top: 10px;
    padding: 8px 14px;
    background-color: #e5c879;
    border: 2px solid #a51d2d;
    border-radius: 4px;
    box-shadow: 0 4px 0 #a51d2d;
    color: #001f3f;
    font-weight: 900;
    cursor: pointer;
}

.contribution-demo-button:hover,
.contribution-demo-button:focus-visible {
    background-color: #f1d98e;
    transform: translateY(1px);
    box-shadow: 0 3px 0 #a51d2d;
}

.contribution-demo-status {
    min-height: 18px;
    margin: 9px 0 0;
    color: #2f7d4a;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.contribution-progress {
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    list-style: none;
    counter-reset: contribution-progress;
}

.contribution-progress li {
    counter-increment: contribution-progress;
    padding: 9px 6px;
    background-color: #eef7fa;
    border: 1px solid #c8dce5;
    border-radius: 4px;
    color: #52636b;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.contribution-progress li::before {
    content: counter(contribution-progress) ". ";
}

.contribution-progress li.is-complete {
    background-color: #d9edf5;
    border-color: #87ceeb;
    color: #001f3f;
}

.contribution-progress li.is-current {
    background-color: #e5c879;
    border-color: #a51d2d;
    box-shadow: 0 3px 0 #a51d2d;
    color: #001f3f;
}

.contribution-step {
    padding: 4px 2px 2px;
    color: #001f3f;
}

.contribution-step[hidden] {
    display: none;
}

.contribution-step h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.contribution-step > p:not(.tool-label) {
    margin: 0 0 18px;
    color: #52636b;
    line-height: 1.5;
}

.contribution-form,
.contribution-policy-form {
    display: grid;
    gap: 14px;
}

.contribution-form label,
.contribution-form legend,
.contribution-media-fieldset legend {
    color: #355568;
    font-size: 13px;
    font-weight: 800;
}

.contribution-form input,
.contribution-form select,
.contribution-form textarea {
    width: 100%;
    margin-top: 5px;
    padding: 11px;
    background-color: white;
    border: 1px solid #b8d3de;
    border-radius: 5px;
    color: #001f3f;
    font: inherit;
}

.contribution-form textarea {
    resize: vertical;
}

.contribution-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.verification-methods,
.contribution-media-fieldset {
    margin: 0;
    padding: 14px;
    border: 1px solid #c8dce5;
    border-radius: 6px;
}

.verification-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    background-color: #f7fbfd;
}

.verification-methods label {
    display: flex;
    align-items: center;
    gap: 7px;
}

.verification-methods input,
.contribution-policy-form input {
    width: auto;
    margin: 0;
    accent-color: #a51d2d;
}

.contribution-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
}

.contribution-actions button,
.contribution-confirmation button,
#send-placeholder-code {
    min-height: 44px;
    padding: 10px 14px;
    border: 0;
    border-radius: 5px;
    font-weight: 800;
    cursor: pointer;
}

.contribution-actions button:disabled,
.contribution-confirmation button:disabled {
    background-color: #d9e5ea !important;
    color: #7b8b93 !important;
    cursor: not-allowed;
}

.contribution-media-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.contribution-media-options label {
    padding: 12px;
    display: grid;
    gap: 8px;
    background-color: #eef7fa;
    border: 1px dashed #87b8cc;
    border-radius: 5px;
    color: #001f3f;
    text-align: center;
}

.contribution-media-options input {
    margin: 0;
    padding: 7px;
    background-color: white;
    font-size: 11px;
}

.contribution-media-preview {
    margin-top: 12px;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    background-color: #f7fbfd;
    border-radius: 5px;
}

.contribution-media-preview > p {
    grid-column: 1 / -1;
    margin: 0;
    color: #52636b;
    font-size: 12px;
}

.contribution-media-item {
    min-width: 0;
    margin: 0;
    padding: 7px;
    background-color: white;
    border: 1px solid #c8dce5;
    border-radius: 4px;
}

.contribution-media-item img,
.contribution-media-item video {
    width: 100%;
    height: 100px;
    display: block;
    object-fit: cover;
    background-color: #d9e5ea;
}

.contribution-demo-media {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(135, 206, 235, 0.76), rgba(229, 200, 121, 0.8)),
        #d9edf5;
    border: 1px dashed #438eaa;
    color: #001f3f;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}

.contribution-media-item figcaption {
    margin-top: 6px;
    overflow: hidden;
    color: #52636b;
    font-size: 10px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contribution-review {
    margin: 0 0 20px;
    display: grid;
    grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1.65fr);
    border: 1px solid #c8dce5;
    border-radius: 6px;
    overflow: hidden;
}

.contribution-review dt,
.contribution-review dd {
    margin: 0;
    padding: 11px 13px;
    border-bottom: 1px solid #d9e5ea;
}

.contribution-review dt {
    background-color: #eef7fa;
    color: #001f3f;
    font-weight: 900;
}

.contribution-review dd {
    color: #52636b;
    white-space: pre-wrap;
}

.contribution-review dt:last-of-type,
.contribution-review dd:last-of-type {
    border-bottom: 0;
}

.contribution-policy-form label {
    padding: 11px 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: #f7fbfd;
    border: 1px solid #d9e5ea;
    border-left: 4px solid #87ceeb;
    border-radius: 4px;
    color: #355568;
    font-size: 13px;
    line-height: 1.4;
}

.contribution-policy-form label:has(input:checked) {
    background-color: #eef8ef;
    border-left-color: #2f7d4a;
}

.contribution-confirmation {
    padding: 28px;
    background-color: #eef7fa;
    border: 1px solid #87ceeb;
    border-left: 6px solid #2f7d4a;
    border-radius: 7px;
    text-align: center;
}

.contribution-confirmation p {
    text-align: center;
}

.contribution-confirmation button {
    min-width: 180px;
    margin-top: 8px;
}

.admin-moderation-desk {
    padding: 54px 4%;
    background-color: #eef8fb;
    border-top: 7px solid #a51d2d;
    border-bottom: 7px solid #e5c879;
    color: #001f3f;
}

.admin-moderation-desk[hidden],
.government-section[hidden],
.approved-contributions[hidden] {
    display: none;
}

.admin-moderation-heading {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.admin-moderation-heading h2,
.section-publication-heading h2 {
    margin: 0;
    font-size: clamp(30px, 3vw, 48px);
}

.admin-moderation-heading > p {
    max-width: 620px;
    margin: 0;
    color: #52636b;
}

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

.admin-review-card {
    padding: 24px;
    background-color: white;
    border: 2px solid #87ceeb;
    border-left: 8px solid #e5c879;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 31, 63, 0.14);
}

.admin-review-card.is-approved {
    border-left-color: #2f7d4a;
}

.admin-review-card.is-rejected {
    border-left-color: #a51d2d;
    background-color: #fff7f7;
}

.admin-review-card.is-information-requested {
    border-left-color: #438eaa;
}

.admin-review-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.admin-review-header h3 {
    margin: 5px 0;
    font-size: 28px;
}

.admin-review-status {
    padding: 8px 12px;
    background-color: #e5c879;
    border: 1px solid #a51d2d;
    color: #001f3f;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-review-meta {
    margin: 14px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-review-meta span {
    padding: 6px 9px;
    background-color: #d9edf5;
    border: 1px solid #87ceeb;
    color: #001f3f;
    font-size: 12px;
    font-weight: 800;
}

.admin-review-content {
    padding: 16px;
    background-color: #f7fbfd;
    border-left: 4px solid #87ceeb;
}

.admin-review-content p {
    margin: 0 0 10px;
    color: #355568;
}

.admin-review-content p:last-child {
    margin-bottom: 0;
}

.admin-message-composer {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.admin-message-composer > label {
    color: #001f3f;
    font-weight: 900;
}

.admin-message-composer textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid #b8d3de;
    border-radius: 5px;
    resize: vertical;
}

.admin-message-templates,
.admin-decision-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-message-templates button,
.admin-decision-actions button {
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 4px;
    font-weight: 900;
    cursor: pointer;
}

.admin-message-templates button {
    background-color: #d9edf5;
    border: 1px solid #87ceeb;
    color: #001f3f;
}

.admin-approve-button {
    background-color: #2f7d4a;
    border: 2px solid #245f39;
    color: white;
}

.admin-reject-button {
    background-color: #a51d2d;
    border: 2px solid #7f1622;
    color: white;
}

.admin-request-button {
    background-color: #87ceeb;
    border: 2px solid #438eaa;
    color: #001f3f;
}

.admin-email-preview {
    margin: 16px 0 0;
    padding: 14px;
    background-color: #eef7fa;
    border: 1px solid #c8dce5;
    border-left: 5px solid #438eaa;
    color: #355568;
    white-space: pre-wrap;
}

.government-section {
    padding: 80px 6%;
    background-color: #f7fbfd;
    color: #001f3f;
}

.approved-contributions {
    margin-top: 30px;
    padding: 22px;
    background-color: rgba(238, 248, 251, 0.98);
    border: 3px solid #87ceeb;
    border-top: 7px solid #e5c879;
    border-radius: 7px;
    color: #001f3f;
}

.punjab-opening > .approved-contributions {
    grid-column: 1 / -1;
}

.district-approved-contributions {
    margin: 16px 0 0;
}

.approved-contributions h3 {
    margin: 0 0 14px;
    font-size: 25px;
}

.approved-contribution-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.approved-contribution-card {
    padding: 18px;
    background-color: white;
    border: 1px solid #c8dce5;
    border-left: 6px solid #2f7d4a;
    box-shadow: 0 7px 16px rgba(0, 31, 63, 0.1);
}

.approved-contribution-card h4 {
    margin: 6px 0 10px;
    font-size: 21px;
}

.approved-contribution-card p {
    margin: 7px 0;
    color: #355568;
}

.approved-contribution-credit {
    padding-top: 10px;
    border-top: 1px solid #d9e5ea;
    font-size: 12px;
    font-weight: 800;
}

.advertisement-slot {
    width: 100%;
    height: calc(100% - 18px);
    transform: translateY(-12px);

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 22px;

    background-color: #f4f8fa;
    border: 2px dashed #9eb7c2;
    color: #52636b;
    text-align: center;
}

.advertisement-slot span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.advertisement-slot span,
.advertisement-slot strong,
.advertisement-slot small {
    margin: 0;
}

.advertisement-slot strong {
    margin: 8px 0;
    color: #001f3f;
    font-size: 25px;
}

.advertisement-slot small {
    font-size: 11px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;

    padding: 45px 60px;
    background-color: #0a3157;
    color: white;
    border-top: 1px solid rgba(229, 200, 121, 0.45);
}

.site-footer p {
    margin: 4px 0;
}

.footer-brand {
    font-size: 22px;
    font-weight: bold;
}

.company-project-label {
    color: #e5c879;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.company-registration {
    color: #d8e5eb;
    font-size: 12px;
    line-height: 1.45;
}

.company-registration a {
    color: #e5c879;
    font-weight: 800;
    text-decoration: none;
}

.company-registration a:hover,
.company-registration a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.creator-details {
    text-align: left;
}

.footer-identity {
    text-align: right;
}

.map-attribution {
    max-width: 360px;
    color: #c7d7df;
    font-size: 10px;
}

.map-attribution a {
    color: #e5c879;
}

.creator-label {
    color: #e5c879;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Destination-page template */
.destination-page {
    background-color: #001f3f;
    color: white;
}

.destination-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 22px 8%;
    background-color: #06182d;
    border-bottom: 1px solid rgba(229, 200, 121, 0.35);
}

.destination-brand,
.destination-header nav a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.destination-brand {
    font-size: 21px;
}

.destination-header nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-bottom: 7px;
}

.destination-header nav a {
    min-height: 46px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #bfe7f6;
    border: 2px solid #87ceeb;
    border-radius: 4px;
    box-shadow: 0 7px 0 #438eaa, 0 9px 12px rgba(0, 31, 63, 0.18);
    color: #001f3f;
    font-family: "Cambria Math", Cambria, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.destination-header nav a:hover,
.destination-header nav a:focus-visible {
    background-color: #d9edf5;
    color: #001f3f;
    transform: translateY(2px);
    box-shadow: 0 5px 0 #438eaa, 0 7px 10px rgba(0, 31, 63, 0.16);
}

.destination-brand:hover {
    color: #e5c879;
}

.destination-hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 90px 8%;
    background: linear-gradient(135deg, #0a3157 0%, #001f3f 70%);
}

.destination-hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(58px, 9vw, 120px);
    line-height: 0.95;
    letter-spacing: -4px;
}

.destination-introduction {
    max-width: 700px;
    margin: 26px 0 0;
    color: #c7d7df;
    font-size: 21px;
    line-height: 1.7;
}

.destination-button {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 20px;
    background-color: #e5c879;
    color: #001f3f;
    border-radius: 7px;
    font-weight: bold;
    text-decoration: none;
}

.destination-button:hover {
    background-color: #f1d98f;
}

.destination-overview,
.destination-highlights,
.destination-notes {
    position: relative;
    padding: 90px 8%;
}

.destination-overview,
.destination-notes {
    background-color: #0a3157;
}

.destination-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.destination-heading h2,
.destination-notes h2 {
    margin: 0;
    font-size: 40px;
}

.destination-heading > p:last-child {
    color: #c7d7df;
    line-height: 1.7;
}

.facts-grid,
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 280px));
    gap: 20px;
}

.facts-grid article,
.highlight-card {
    min-height: 180px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    background-color: #123f67;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.facts-grid span,
.highlight-card span {
    color: #e5c879;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.facts-grid strong {
    margin-top: auto;
    font-size: 24px;
}

.highlight-card {
    min-height: 280px;
    background-color: #0a3157;
}

.highlight-card h3 {
    margin: 16px 0 10px;
    font-size: 27px;
}

.highlight-card p {
    margin: 0;
    color: #c7d7df;
    line-height: 1.65;
}

.destination-notes {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
    gap: 60px;
    align-items: end;
}

.destination-notes > p {
    max-width: 700px;
    margin: 0;
    color: #c7d7df;
    line-height: 1.8;
}

.destination-footer {
    align-items: center;
}

.destination-footer .destination-button {
    margin-top: 0;
}

@media (max-width: 900px) {
    .hero-title-panel {
        padding: 0 8px 8px;
        flex-wrap: wrap;
    }

    .hero h1 {
        width: 100%;
    }

    .hero-title-actions {
        width: 100%;
    }

    .hero-navigation {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .primary-navigation-links {
        margin-left: 0;
        padding: 0 8px;
    }

    .navigation-search {
        width: 100%;
        flex-basis: 100%;
        border-top: 1px solid #d5e3e9;
    }

    .header-member-control {
        width: calc(100% - 16px);
        margin: 8px;
    }

    .contribution-navigation-cta {
        width: 100%;
        margin: 0;
    }

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

    .destination-header {
        align-items: flex-start;
    }

    .district-grid {
        grid-template-columns: repeat(auto-fill, 220px);
    }

    .heritage-grid,
    .culture-grid,
    .travel-grid {
        grid-template-columns: repeat(auto-fill, 220px);
        justify-content: start;
    }

    .visitor-tools {
        width: 100%;
        margin-left: 0;
        justify-self: stretch;
        transform: none;
    }

    .hero-columns {
        grid-template-columns: 1fr;
        padding: 36px 24px 14px;
    }

    .hero-main-space {
        height: auto;
        min-height: 0;
    }

    .punjab-opening {
        width: 100%;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        padding-bottom: 10px;
    }

    .punjab-maps {
        align-self: center;
    }

    .punjab-map {
        height: auto;
    }

    .punjab-map a {
        flex: 0 0 auto;
        transform: none;
    }

    .punjab-map img {
        height: auto;
        max-height: 245px;
    }

    .punjab-opening-copy {
        padding-right: 0;
    }

    .punjab-opening-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .punjab-opening-secondary {
        display: none;
    }

    .hero-feature-image {
        height: 340px;
    }

    .membership-card,
    .community-card,
    .public-posts-card,
    .advertisement-slot {
        width: 100%;
        height: 100%;
        margin: 0;
    }

    .advertisement-slot {
        height: 100%;
        transform: none;
    }
}

@media (max-width: 600px) {
    .hero-panel {
        overflow-x: hidden;
    }

    .hero-title-actions {
        grid-template-columns: 1fr;
    }

    .destination-header {
        flex-direction: column;
        padding: 22px 24px;
    }

    .destination-header nav {
        gap: 16px;
    }

    .destination-hero,
    .destination-overview,
    .destination-highlights,
    .destination-notes {
        padding: 70px 24px;
    }

    .destination-hero h1 {
        font-size: 58px;
        letter-spacing: -2px;
    }

    .destination-heading h2,
    .destination-notes h2 {
        font-size: 32px;
    }

    .facts-grid,
    .highlight-grid,
    .destination-notes {
        grid-template-columns: 1fr;
    }

    .destination-notes {
        gap: 24px;
    }

    .destination-footer .destination-button {
        margin-top: 28px;
    }

    .hero {
        padding: 0;
    }

    .hero h1 {
        width: 100%;
        padding: 18px 24px;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
        font-size: 28px;
        letter-spacing: -2px;
    }

    .hero h1 span {
        min-width: 0;
        max-width: 100%;
    }

    .title-flag {
        width: 64.8px;
        height: 43.2px;
    }

    .hero-navigation {
        padding: 0;
    }

    .hero-navigation a {
        padding: 0 18px;
        border: 2px solid #87ceeb;
        font-size: 14px;
        text-align: center;
    }

    .navigation-search {
        min-height: 69px;
        padding: 0 8px;
    }

    .navigation-search label {
        padding: 0 14px;
        font-size: 14px;
    }

    .navigation-search input {
        font-size: 15px;
    }

    .navigation-search button {
        font-size: 14px;
    }

    .navigation-search button {
        padding: 0 14px;
    }

    .district-tab-track {
        grid-template-columns: repeat(auto-fit, minmax(161px, 1fr));
        padding: 0 0 10px;
    }

    .punjab-opening {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .punjab-opening h2 {
        font-size: 22px;
    }

    .punjab-opening-title-row {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .punjab-map {
        justify-content: center;
    }

    .punjab-map img {
        max-height: 430px;
    }

    .punjab-story {
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    .punjab-maps {
        grid-template-columns: 1fr;
        width: min(100%, 440px);
        margin: 0 auto;
        padding-left: 0;
        border-left: 0;
    }

    .district-quick-tab {
        min-width: 0;
        height: 57.70px;
        padding: 0 16px;
        font-size: 12px;
    }

    .district-instruction-tab {
        height: 57.70px;
        padding: 0 14px;
        font-size: 12px;
    }

    .district-instruction-tab span,
    .district-instruction-tab strong {
        width: 124px;
    }

    .visitor-tools {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-template-areas:
            "registration"
            "public-posts"
            "advertisement";
        justify-self: stretch;
    }

    .registration-name-grid,
    .registration-phone-grid,
    .dialog-action-row {
        grid-template-columns: 1fr;
    }

    .member-dialog {
        padding: 16px;
    }

    .contribution-progress {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .contribution-progress li {
        padding: 7px 10px;
        text-align: left;
    }

    .contribution-field-grid,
    .contribution-media-options,
    .contribution-actions {
        grid-template-columns: 1fr;
    }

    .verification-methods {
        align-items: flex-start;
        flex-direction: column;
    }

    .contribution-review {
        grid-template-columns: 1fr;
    }

    .contribution-review dt,
    .contribution-review dd {
        border-bottom: 0;
    }

    .contribution-review dt:not(:first-child) {
        border-top: 1px solid #d9e5ea;
    }

    .contribution-review dd {
        border-bottom: 1px solid #d9e5ea;
    }

    .contribution-confirmation {
        padding: 20px 14px;
    }

    .admin-moderation-desk,
    .government-section {
        padding: 42px 18px;
    }

    .admin-moderation-heading,
    .admin-review-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-review-card,
    .approved-contributions {
        padding: 16px;
    }

    .admin-message-templates,
    .admin-decision-actions {
        flex-direction: column;
    }

    .admin-message-templates button,
    .admin-decision-actions button {
        width: 100%;
    }

    .approved-contribution-list {
        grid-template-columns: 1fr;
    }

    .hero-main-space {
        min-height: 0;
    }

    .hero-feature-image {
        height: 230px;
    }

    .hero-feature-content {
        padding: 22px;
    }

    .hero-feature-content h2 {
        font-size: 34px;
    }

    .district-search-controls {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .district-search input,
    .district-search button {
        border: 2px solid #87ceeb;
        border-radius: 5px;
    }

    .featured-destination {
        grid-template-columns: 1fr;
    }

    .membership-card,
    .community-card,
    .public-posts-card,
    .advertisement-slot {
        height: auto;
    }

    .advertisement-slot {
        min-height: 250px;
        flex-direction: column;
        gap: 8px;
    }

    .explore-section {
        padding: 70px 24px;
    }

    .explore-section h2 {
        font-size: 32px;
    }

    .district-grid {
        grid-template-columns: 1fr;
    }

    .heritage-section {
        padding: 70px 24px;
    }

    .heritage-heading {
        display: block;
    }

    .heritage-heading h2 {
        font-size: 32px;
    }

    .heritage-heading > p {
        margin-top: 18px;
    }

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

    .culture-section {
        padding: 70px 24px;
    }

    .culture-heading h2 {
        font-size: 32px;
    }

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

    .travel-section {
        padding: 70px 24px;
    }

    .travel-heading {
        display: block;
    }

    .travel-heading h2 {
        font-size: 32px;
    }

    .travel-heading > p {
        margin-top: 18px;
    }

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

    .site-footer {
        display: block;
        padding: 40px 24px;
        text-align: center;
    }

    .creator-details {
        text-align: center;
    }

    .footer-identity {
        margin-top: 28px;
        text-align: center;
    }
}

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

@media (max-width: 600px) {
    .punjab-fact-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile usability fixes: keep search readable and the return control unobtrusive. */
@media (max-width: 600px) {
    .navigation-search {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
        min-height: 0;
        padding: 10px 14px 16px;
    }

    .navigation-search input {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
        min-width: 0;
        margin: 0;
        border-right: 2px solid #87ceeb;
    }

    .navigation-search label,
    .navigation-search button {
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    .navigation-search label {
        grid-column: 1;
        grid-row: 2;
    }

    .navigation-search button {
        grid-column: 2;
        grid-row: 2;
    }

    .homepage-home-button,
    .homepage-home-button.is-visible {
        top: auto;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        left: auto;
        min-width: 0;
        padding: 10px 14px;
        flex-direction: row;
        border-radius: 6px;
        transform: none;
    }

    .homepage-home-button.is-visible:hover {
        transform: translateY(-2px);
    }

    .homepage-home-button .home-main {
        display: none;
    }

    .homepage-home-button .home-page {
        font-size: 0;
        letter-spacing: 0;
        text-orientation: mixed;
        writing-mode: horizontal-tb;
    }

    .homepage-home-button .home-page::after {
        content: "\2191  Top";
        font-size: 13px;
        line-height: 1;
        white-space: nowrap;
    }
}

