/* ================================================================
   The Northern Theme — Supplementary Styles
   ================================================================
   Tailwind CDN handles the utility classes; this file adds
   keyframe animations, component overrides, and WordPress-specific
   fixes that are better expressed as plain CSS.
   ================================================================ */

/* --- Smooth scroll --- */
html {
    scroll-behavior: smooth;
}

/* --- Responsive container --- */
.northern-container {
    width: clamp(10rem, 90vw, 100rem);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 768px) {
    .northern-container {
        width: clamp(30rem, 90vw, 100rem);
    }
}

@media (min-width: 1024px) {
    .northern-container {
        width: clamp(30rem, 80vw, 100rem);
    }
}

/* --- Fade-in-up animation --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out both;
}

.animate-fade-in-up-delay {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.animate-fade-in-up-delay-2 {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* --- "Coming Soon" badge --- */
.coming-soon {
    position: relative;
}

.coming-soon::after {
    content: 'Coming Soon';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Form font inheritance --- */
input,
textarea,
select,
button {
    font: inherit;
}

/* --- WordPress pagination overrides --- */
.northern-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.northern-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}

.northern-pagination .page-numbers:hover,
.northern-pagination .page-numbers.current {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- WordPress post-navigation --- */
.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    display: block;
}

.post-navigation .nav-next {
    text-align: right;
}

/* --- WordPress block editor (Gutenberg) prose overrides --- */
.wp-block-image img {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Custom logo image reset --- */
.custom-logo-link img {
    max-height: 2rem;
    width: auto;
}

/* --- Elementor full-width section fix --- */
.elementor-section.elementor-section-stretched {
    max-width: 100vw;
}
