/* Wooly Pig Farm Brewery - Feed Page Styles
   Matches branding from woolypigfarmbrewery.com */

/* ── Reset & Base ────────────────────────────────────────────── */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Kameron, Georgia, serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #4A3C31;
    background-color: #4A3C31;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ── Header ──────────────────────────────────────────────────── */

.site-header {
    background-color: #4A3C31;
    text-align: center;
    padding: 24px 20px 0;
}

.site-logo {
    display: inline-block;
    max-width: 280px;
    margin: 0 auto 16px;
}

.site-logo img {
    width: 100%;
}

/* ── Navigation ──────────────────────────────────────────────── */

.site-nav {
    background-color: #4A3C31;
    text-align: center;
    padding: 0 20px 16px;
}

.site-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 20px;
}

.site-nav a {
    font-family: Raleway, Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    padding: 4px 0;
    display: inline-block;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: #FFCC00;
}

.site-nav a.active {
    color: #FFCC00;
}

/* ── Page Title ──────────────────────────────────────────────── */

.page-title-section {
    background-color: #fff;
    text-align: center;
    padding: 48px 20px 24px;
}

.page-title {
    font-family: Raleway, Arial, sans-serif;
    font-weight: 400;
    font-size: 42px;
    line-height: 1.35;
    color: #4A3C31;
}

.page-subtitle {
    font-family: Raleway, Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 1px;
    color: #6b5d52;
    margin-top: 8px;
}

/* ── Feed Container ──────────────────────────────────────────── */

.feed-container {
    background-color: #f5f2ef;
    padding: 24px 20px 48px;
}

.feed-inner {
    max-width: 800px;
    margin: 0 auto;
}

/* ── Post Cards ──────────────────────────────────────────────── */

.post-card {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.post-card-image {
    width: 100%;
    aspect-ratio: auto;
    display: block;
}

.post-card-body {
    padding: 20px 24px;
}

.post-card-text {
    font-family: Kameron, Georgia, serif;
    font-size: 16px;
    line-height: 1.6;
    color: #3e3e3e;
    white-space: pre-line;
    word-wrap: break-word;
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.post-card-date {
    font-family: Raleway, Arial, sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999;
}

.post-card-link {
    font-family: Raleway, Arial, sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFCC00;
    transition: color 0.2s;
}

.post-card-link:hover {
    color: #e6b800;
}

/* Text-only post: teal background */
.post-card--text-only .post-card-body {
    background-color: #1B5A5A;
    padding: 32px 24px;
}

.post-card--text-only .post-card-text {
    color: #fff;
}

.post-card--text-only .post-card-meta {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.post-card--text-only .post-card-date {
    color: rgba(255, 255, 255, 0.6);
}

.post-card--text-only .post-card-link {
    color: #FFCC00;
}

/* Video overlay badge */
.post-card-image-wrapper {
    position: relative;
}

.video-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-family: Raleway, Arial, sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 3px;
}

/* ── Pre-Footer Social ───────────────────────────────────────── */

.pre-footer {
    background-color: #4A3C31;
    text-align: center;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    color: #fff;
    font-size: 18px;
    transition: border-color 0.2s, color 0.2s;
}

.social-link:hover {
    border-color: #FFCC00;
    color: #FFCC00;
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ── Footer ──────────────────────────────────────────────────── */

.site-footer {
    background-color: #4A3C31;
    color: #ccc;
    padding: 48px 20px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.footer-col {
    flex: 0 1 auto;
    min-width: 160px;
}

.footer-col--badges {
    text-align: center;
}

.footer-badge {
    max-width: 140px;
    margin: 0 auto 16px;
    border-radius: 50%;
}

.footer-badge--square {
    border-radius: 0;
    max-width: 120px;
}

.footer-col h3 {
    font-family: Kameron, Georgia, serif;
    font-weight: 400;
    font-size: 21px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 8px;
}

.footer-col p {
    font-family: Kameron, Georgia, serif;
    font-size: 15px;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 4px;
}

.footer-col a {
    color: #ccc;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

.footer-col a:hover {
    color: #fff;
}

.footer-hours p {
    margin-bottom: 2px;
}

.footer-hours strong {
    font-weight: 700;
}

.footer-hours em {
    font-style: italic;
}

/* ── Last Updated ────────────────────────────────────────────── */

.last-updated {
    text-align: center;
    padding: 16px 20px;
    background-color: #3e3226;
    font-family: Raleway, Arial, sans-serif;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 768px) {
    .site-nav ul {
        gap: 2px 14px;
    }

    .site-nav a {
        font-size: 12px;
    }

    .page-title {
        font-size: 32px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col {
        min-width: auto;
    }

    .post-card-body {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .site-nav ul {
        gap: 2px 10px;
    }

    .site-nav a {
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .page-title {
        font-size: 26px;
    }

    .post-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
