/* Shri 42 Panchal Pragati Samaj — Design tokens */
:root {
    --navy: #0b132b;
    --navy-light: #1c2541;
    --orange: #e67e22;
    --orange-hover: #d35400;
    --white: #ffffff;
    --gray-50: #f5f6f8;
    --gray-100: #e8eaef;
    --gray-200: #c5cad6;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --cream: #f8f0e6;
    --shadow: 0 4px 24px rgba(11, 19, 43, 0.08);
    --shadow-lg: 0 12px 40px rgba(11, 19, 43, 0.12);
    --radius: 10px;
    --radius-lg: 14px;
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-gu: 'Noto Sans Gujarati', var(--font-sans);
    --header-h: 72px;
    --container: 1140px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.gu, .logo-gu, .hero-title, .section-title-gu, .footer-title-gu, .announcement-title {
    font-family: var(--font-gu);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-primary {
    background: var(--orange);
    color: var(--navy);
    border-color: var(--orange);
}

.btn-primary:hover {
    background: var(--orange-hover);
    border-color: var(--orange-hover);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.85);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-login {
    background: var(--navy);
    color: var(--white);
    padding: 0.55rem 1.25rem;
    font-size: 0.875rem;
}

.btn-login:hover {
    background: var(--navy-light);
}

.btn-search {
    background: var(--navy);
    color: var(--white);
    flex-shrink: 0;
}

.btn-search:hover {
    background: var(--navy-light);
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.label-accent {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--white);
    box-shadow: 0 1px 0 rgba(11, 19, 43, 0.06);
    transition: box-shadow 0.25s;
}

.site-header.is-scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1.5rem;
}

.logo {
    display: block;
    line-height: 1.2;
}

.logo-gu {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    font-family: var(--font-gu);
}

.nav-item {
    position: relative;
}

.nav-link,
.nav-parent {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--gray-700);
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    text-decoration: none;
}

.nav-link:hover,
.nav-parent:hover,
.nav-item.is-active > .nav-link,
.nav-item.is-active > .nav-parent,
.nav-link.active,
.nav-dropdown-link.active {
    color: var(--navy);
}

.nav-link.active,
.nav-item.is-active > .nav-parent,
.nav-item.is-active > .nav-link {
    border-bottom-color: var(--orange);
}

.nav-chevron {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-top: 2px;
    opacity: 0.6;
    transition: transform 0.2s;
}

.nav-item.has-dropdown.is-open > .nav-parent .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 240px;
    padding: 0.4rem 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 100;
}

.nav-item.has-dropdown:hover > .nav-dropdown,
.nav-item.has-dropdown:focus-within > .nav-dropdown,
.nav-item.has-dropdown.is-open > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-link {
    display: block;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.nav-dropdown-link:hover,
.nav-dropdown-link.active {
    background: var(--gray-50);
    color: var(--navy);
}

.nav-dropdown-link.active {
    border-left: 3px solid var(--orange);
    padding-left: calc(1rem - 3px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--navy);
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
    padding: calc(var(--header-h) + 4rem) 0 5rem;
    background: linear-gradient(180deg, var(--navy) 0%, #2d3a5c 45%, #8b95ad 85%, var(--gray-50) 100%);
    text-align: center;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--orange);
    color: var(--white);
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    max-width: 720px;
    margin: 0 auto 1.25rem;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    opacity: 0.92;
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* President & sidebar */
.content-section {
    padding: 4rem 0;
    background: var(--white);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

.president-card {
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.president-photo {
    background: var(--gray-100);
}

.president-photo img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.president-body {
    padding: 2rem 2rem 2rem 1.75rem;
}

.section-title-gu {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.president-text p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.president-name {
    font-weight: 700;
    color: var(--navy);
    margin-top: 0.5rem;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.quick-links-card {
    background: var(--navy);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.quick-links-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.quick-links-list li + li {
    margin-top: 0.65rem;
}

.quick-links-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    padding: 0.35rem 0;
    transition: opacity 0.2s;
}

.quick-links-list a:hover {
    opacity: 0.85;
}

.ql-icon {
    display: flex;
    color: var(--orange);
}

.announcement-card {
    background: var(--cream);
    padding: 1.5rem;
    border: 1px solid rgba(230, 126, 34, 0.15);
}

.announcement-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.announcement-icon {
    color: var(--orange);
    display: flex;
}

.announcement-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.announcement-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.announcement-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
}

.announcement-link:hover {
    text-decoration: underline;
}

/* Member advertisements */
.advertisement-section {
    padding: 4rem 0;
    background: var(--cream);
    border-top: 1px solid rgba(230, 126, 34, 0.12);
}

.advertisement-section--lead {
    padding-top: calc(var(--header-h) + 4rem);
    border-top: none;
}

.advertisement-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.advertisement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.advertisement-grid--single {
    grid-template-columns: minmax(300px, 420px);
    justify-content: center;
}

.ad-card {
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(11, 19, 43, 0.12);
    border-top: 4px solid var(--orange);
    transition: box-shadow 0.2s, transform 0.2s;
    min-height: 320px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(11, 19, 43, 0.12);
    display: flex;
    flex-direction: column;
}

.ad-card:hover {
    box-shadow: 0 16px 36px rgba(11, 19, 43, 0.16);
    transform: translateY(-3px);
}

.ad-card-image {
    position: relative;
    background: linear-gradient(135deg, #eef1f6 0%, #dfe5ef 100%);
    aspect-ratio: 400 / 220;
    min-height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.ad-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.ad-card-image img.is-broken {
    opacity: 0;
}

.ad-card-image.has-fallback::before {
    content: 'Member Advertisement';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ad-card-fallback-note {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.ad-card-body {
    padding: 1rem 1.25rem 1.25rem;
    flex: 1;
}

.ad-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.ad-card-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.45;
}

.ad-card-contact li + li {
    margin-top: 0.45rem;
}

.ad-contact-icon {
    display: flex;
    color: var(--orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.ad-card-contact a {
    color: var(--gray-700);
    word-break: break-word;
    transition: color 0.2s;
}

.ad-card-contact a:hover {
    color: #2563eb;
}

.advertisement-view-all {
    margin-top: 2rem;
    text-align: center;
}

.btn-view-all-ads {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    background: var(--navy);
    border: 2px solid var(--navy);
    border-radius: var(--radius);
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-view-all-ads:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    transform: translateY(-1px);
}

.advertisement-count {
    font-weight: 500;
    opacity: 0.85;
}

/* Directory section */
.directory-section {
    padding: 4rem 0 5rem;
    background: var(--gray-50);
}

.directory-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--gray-500);
    max-width: 520px;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.member-card {
    padding: 1.75rem 1.5rem;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: box-shadow 0.2s, transform 0.2s;
}

.member-card:hover {
    box-shadow: var(--shadow-lg);
}

.member-avatar {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-200);
}

.member-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.member-role {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.member-id {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--gray-500);
    background: var(--gray-50);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
}

.view-all-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: var(--cream);
    border: 2px dashed rgba(230, 126, 34, 0.45);
    box-shadow: none;
}

.view-all-card:hover {
    border-color: var(--orange);
    background: #fdf6ee;
}

.view-all-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--orange);
    border: 2px solid var(--orange);
    border-radius: 50%;
    margin-bottom: 0.75rem;
}

.view-all-text {
    font-weight: 600;
    color: var(--navy);
}

/* Footer */
/* Member session (footer) */
.member-session-bar {
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy-light) 100%);
    border-top: 3px solid var(--orange);
    color: var(--white);
    padding: 0.85rem 0;
}

.member-session-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.member-session-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.25rem;
    min-width: 0;
}

.member-session-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--orange);
    border-radius: 999px;
    flex-shrink: 0;
}

.member-session-details {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 1rem;
    min-width: 0;
}

.member-session-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.35;
}

.member-session-mobile {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.member-session-mobile svg {
    flex-shrink: 0;
    opacity: 0.85;
}

.member-session-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    border-radius: var(--radius);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    flex-shrink: 0;
}

.member-session-logout:hover {
    background: var(--cream);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.88);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 2.5rem;
    padding: 3.5rem 0 2.5rem;
}

.footer-title-gu {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    opacity: 0.85;
    margin-bottom: 1.25rem;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background 0.2s, border-color 0.2s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--orange);
    color: var(--orange);
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 1rem;
}

.footer-links li + li,
.footer-contact li + li {
    margin-top: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.88;
    transition: opacity 0.2s, color 0.2s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--orange);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
}

.contact-icon {
    color: var(--orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.25rem 0;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-legal a {
    font-size: 0.8rem;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--orange);
}

.footer-developer {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-developer p {
    font-size: 0.75rem;
    opacity: 0.65;
    margin: 0;
}

.footer-developer a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s, color 0.2s;
}

.footer-developer a:hover {
    opacity: 1;
    color: var(--orange);
}

/* Inner page shell */
.page-hero-small {
    padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
    background: var(--navy);
    color: var(--white);
    text-align: center;
}

.page-hero-small h1 {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-gu);
}

@media (max-width: 1100px) {
    .nav-link,
    .nav-parent {
        font-size: 0.8rem;
        padding: 0.5rem 0.45rem;
    }
}

.page-content {
    padding: 3rem 0 4rem;
}

.page-content .container {
    max-width: 720px;
}

.page-content p {
    margin-bottom: 1rem;
}

.legal-content .container {
    max-width: 760px;
}

.legal-updated {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.legal-content-body > *:first-child {
    margin-top: 0;
}

.legal-content-body h2 {
    margin-top: 1.75rem;
}

.legal-content-body p,
.legal-content-body ul,
.legal-content-body ol {
    margin-bottom: 1rem;
}

.legal-content h2,
.legal-content-body h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin: 2rem 0 0.75rem;
}

.legal-content ul,
.legal-content-body ul {
    list-style: disc;
    margin: 0 0 1rem 1.25rem;
}

.legal-content li,
.legal-content-body li {
    margin-bottom: 0.35rem;
}

.legal-content a,
.legal-content-body a {
    color: #2563eb;
    text-decoration: underline;
}

.legal-content a:hover,
.legal-content-body a:hover {
    color: var(--navy);
}

/* Responsive */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .main-nav.is-open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-link,
    .nav-parent {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-100);
        border-radius: 0;
    }

    .nav-dropdown {
        position: static;
        min-width: 0;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0.5rem 1rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: transparent;
    }

    .nav-item.has-dropdown.is-open > .nav-dropdown {
        display: block;
    }

    .nav-item.has-dropdown:hover > .nav-dropdown {
        display: none;
    }

    .nav-item.has-dropdown.is-open:hover > .nav-dropdown {
        display: block;
    }

    .nav-dropdown-link {
        padding: 0.5rem 0;
        white-space: normal;
    }

    .nav-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-actions .btn-login {
        text-align: center;
    }

    .president-card {
        grid-template-columns: 1fr;
    }

    .president-photo img {
        min-height: 260px;
        max-height: 320px;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .directory-grid {
        grid-template-columns: 1fr;
    }

    .advertisement-grid {
        grid-template-columns: 1fr;
    }

    .directory-header {
        flex-direction: column;
    }

    .advertisement-header {
        flex-direction: column;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .member-session-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .member-session-info {
        flex-direction: column;
        align-items: center;
    }

    .member-session-details {
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
    }

    .member-session-logout {
        justify-content: center;
        width: 100%;
    }
}
