html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* ══════════════════════════════════════
   Article Detail Page — Brand Standard
   ══════════════════════════════════════ */

.article-page {
    max-width: 1100px;
    margin: auto;
}

/* Title */
.article-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: #2d5a27;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 6px;
}

/* Gold divider under title */
.article-title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 6px auto 4px;
}

.article-title-divider-line {
    height: 1px;
    width: 60px;
    background: #b8963e;
}

.article-title-divider-diamond {
    width: 6px;
    height: 6px;
    background: #b8963e;
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* Byline */
.article-byline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    letter-spacing: 2px;
    color: #b8963e;
    text-align: center;
    margin-bottom: 2rem;
}

/* Left / right columns */
.left-column {
    border-right: 1px solid #d4c5a0;
    padding-right: 25px;
}

.right-column {
    padding-left: 30px;
}

/* Article image */
.article-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    margin-bottom: 20px;
}

/* Tags */
.article-tags {
    margin-top: 20px;
}

.tag {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    background: #f3ede0;
    color: #2d5a27;
    border: 1px solid #d4c5a0;
    padding: 5px 12px;
    border-radius: 20px;
    margin: 4px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}

    .tag:hover {
        background: #2d5a27;
        color: #f3ede0;
        text-decoration: none;
    }

/* Article body text */
.article-content {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    line-height: 1.85;
    color: #2c2c2c;
}

    /* H1 inside article content */
    .article-content h1 {
        font-family: 'Cinzel', Georgia, serif;
        font-size: 1.5rem;
        font-weight: 400;
        letter-spacing: 2px;
        color: #2d5a27;
        text-transform: uppercase;
        margin-top: 2.2rem;
        margin-bottom: 0.75rem;
        padding-bottom: 6px;
        border-bottom: 1px solid #d4c5a0;
    }

    /* H2 inside article content */
    .article-content h2 {
        font-family: 'Cinzel', Georgia, serif;
        font-size: 1.15rem;
        font-weight: 400;
        letter-spacing: 2px;
        color: #2d5a27;
        text-transform: uppercase;
        margin-top: 2rem;
        margin-bottom: 0.75rem;
        padding-bottom: 6px;
        border-bottom: 1px solid #d4c5a0;
    }

    /* H3 inside article content */
    .article-content h3 {
        font-family: 'Cormorant Garamond', Georgia, serif;
        font-size: 1.2rem;
        font-style: italic;
        color: #b8963e;
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
    }

    /* Bold text inside content */
    .article-content strong {
        font-weight: 600;
        color: #2d5a27;
    }

    /* Images inside content */
    .article-content img {
        max-width: 100%;
        border-radius: 10px;
        margin: 20px 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

/* Mobile: stack columns, remove side border */
@media (max-width: 767px) {
    .left-column {
        border-right: none;
        border-bottom: 1px solid #d4c5a0;
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .right-column {
        padding-left: 0;
    }

    .article-title {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }
}

/* ══════════════════════════════════════
   Cards
   ══════════════════════════════════════ */

.card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
}

.card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ══════════════════════════════════════
   Mini nav
   ══════════════════════════════════════ */

.hero-mini-nav {
    background: transparent;
    font-size: 0.95rem;
}

/* ══════════════════════════════════════
   Interactive Magic card
   ══════════════════════════════════════ */

.interactive-magic-card {
    background: #fff7f0;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .interactive-magic-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

    .interactive-magic-card .btn-primary {
        background-color: #2d5a27;
        border-color: #2d5a27;
    }

        .interactive-magic-card .btn-primary:hover {
            background-color: #1e3e1b;
            border-color: #1e3e1b;
        }

    .interactive-magic-card .btn-outline-primary {
        color: #2d5a27;
        border-color: #2d5a27;
    }

        .interactive-magic-card .btn-outline-primary:hover {
            background-color: #2d5a27;
            color: #fff;
        }

.ingredient-icon {
    display: inline-block;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ══════════════════════════════════════
   Featured carousel
   ══════════════════════════════════════ */

#featuredCarousel .card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    #featuredCarousel .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

#featuredCarousel img {
    height: 220px;
    object-fit: cover;
}

/* ══════════════════════════════════════
   Brand / logo (shared across pages)
   ══════════════════════════════════════ */

.brand-heading {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 400;
    letter-spacing: 2px;
    color: #2d5a27;
    text-transform: none;
}

.featured-label {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-style: italic;
    color: #b8963e;
    letter-spacing: 2px;
}
