:root {
    --brand-color: #0e3191;
    --glass-white: rgba(255, 255, 255, 0.08);
    --border-white: rgba(255, 255, 255, 0.4);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--brand-color);
    color: white;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

h1, h2, h3, .brand-font {
    font-family: 'Montserrat', sans-serif;
}

.glass-card {
    background: var(--glass-white);
    backdrop-filter: blur(12px);
    border: 1.5px solid var(--border-white);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
}

.important-link {
    display: flex;
    color: inherit;
    text-decoration: none;
}

.important-link:hover {
    color: inherit;
}

.nav-link {
    position: relative;
    opacity: 0.8;
    transition: 0.3s;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: white;
    transition: 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-active {
    opacity: 1;
}

.nav-link-active::after {
    width: 100%;
}

.snap-x {
    scroll-snap-type: x mandatory;
}

.snap-center {
    scroll-snap-align: center;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    z-index: 100;
    background: #fff;
    color: #0e3191;
    border-radius: 0.5rem;
    font-weight: 700;
    outline: 2px solid #fff;
}

.article-body p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
    opacity: 0.85;
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.blog-detail-card {
    position: relative;
}

.blog-detail-card:hover {
    transform: none;
}

.blog-detail-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    border-radius: 9999px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.blog-detail-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 768px) {
    .blog-detail-close {
        top: 1.5rem;
        right: 1.5rem;
    }
}

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

.share-backdrop {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}

.share-menu {
    position: fixed;
    inset: 0;
    z-index: 121;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
}

.share-menu-panel {
    width: min(100%, 32rem);
    padding: 1.25rem;
    margin-bottom: 0;
    border-radius: 24px 24px 20px 20px;
    animation: shareSlideUp 0.28s ease;
}

@keyframes shareSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.share-option {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.875rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-weight: 600;
    text-align: left;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.share-option:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.share-option i {
    width: 1.25rem;
    text-align: center;
    font-size: 1.1rem;
}

@media (min-width: 640px) {
    .share-menu {
        align-items: center;
    }

    .share-menu-panel {
        margin-bottom: 0;
        border-radius: 20px;
    }
}
