/* Site header and footer for the article pages (artiklar/*.html).
   Matches the header/footer on the main pages. Classes are prefixed with
   ff- so they don't clash with each article's own styles. */

.ff-header {
    background: #fff;
    border-bottom: 1px solid #e8e3dc;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    height: 72px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-family: 'DM Sans', sans-serif;
}
.ff-logo { position: absolute; left: 5%; display: block; line-height: 0; }
.ff-logo img { height: 80px; width: auto; mix-blend-mode: multiply; }
.ff-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.ff-nav li { margin: 0; }
.ff-nav a {
    color: #111;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.2s;
}
.ff-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: #c5a059;
    transition: width 0.25s;
}
.ff-nav a:hover, .ff-nav a.active { color: #2d5a27; }
.ff-nav a:hover::after, .ff-nav a.active::after { width: 100%; }

.ff-burger {
    display: none;
    position: absolute;
    right: 5%;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: 0;
    cursor: pointer;
}
.ff-burger span { display: block; width: 24px; height: 2px; background: #111; }

.ff-mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.ff-mobile-nav.open { display: flex; }
.ff-mobile-nav a {
    color: #111;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
}
.ff-mobile-close {
    position: absolute;
    top: 22px; right: 5%;
    background: none;
    border: 0;
    font-size: 1.6rem;
    cursor: pointer;
    color: #111;
}

.ff-footer {
    background: #111;
    padding: 60px 5% 30px;
    margin-top: 60px;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
}
.ff-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.ff-footer-brand .ff-wordmark {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}
.ff-footer-brand .ff-wordmark span { color: #c5a059; }
.ff-footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 260px;
    margin: 14px 0 0;
}
.ff-footer h5 {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 18px;
}
.ff-footer ul { list-style: none; margin: 0; padding: 0; }
.ff-footer li { margin: 0 0 10px; }
.ff-footer li a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 300;
    transition: color 0.2s;
}
.ff-footer li a:hover { color: #c5a059; }
.ff-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .ff-nav { display: none; }
    .ff-burger { display: flex; }
    .ff-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 600px) {
    .ff-footer-grid { grid-template-columns: 1fr; }
}

/* "Bra att veta" shipping note in articles that show prices */
.ff-price-note { margin: 24px 0; padding: 14px 18px; border-left: 3px solid #c5a059; background: #f8f4ee; font-size: 0.88rem; line-height: 1.6; color: #555; }
.ff-price-note strong { color: #1a3a14; }

/* Advertising notice under the headline of articles with shop links (added by scripts/build_articles.py) */
.ff-ad-note { margin: -8px 0 24px; font-size: 0.8rem; color: #777; line-height: 1.5; }
.ff-ad-note a { color: inherit; }
