/* ==============================================
   RESET
   ============================================== */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, strong, b, u, i, center, ol, ul, li, fieldset, form, label, legend,
table, caption, article, footer, header, nav, section, summary, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
}

html { height: 100%; }
*, *::before, *::after { box-sizing: border-box; }
ul, li { list-style: none; }

a {
    text-decoration: none;
    color: #bf4f18;
}

a:hover { color: #725622; }

input:focus, textarea:focus, select:focus, button:focus {
    outline: 0;
}

/* ==============================================
   BASE
   ============================================== */
body {
    font-family: 'Sofia Sans Condensed', sans-serif;
    color: #1a1b1f;
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
    letter-spacing: 0.6px;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* ==============================================
   NAVIGATION
   ============================================== */
.site-nav {
    height: 55px;
    width: 100%;
    background: #2d2a1e;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30000;
}

.nav-list {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 55px;
}

.nav-list li {
    margin-right: 45px;
}

.nav-list li:last-child { margin-right: 0; }

.nav-list li a {
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #d9d3c7;
}

.nav-list li a:hover { color: #fff; }
.nav-masthead a { color: #f0ebe0 !important; }

.nav-search {
    margin-left: auto !important;
    margin-right: 0 !important;
}

.nav-search i { font-size: 21px; }

/* ==============================================
   HEADER
   ============================================== */
.site-header {
    width: 100%;
    padding: 114px 0 65px 0;
    border-bottom: 1px solid #e0e0e0;
    font-family: 'Lora', serif;
    font-size: 34px;
    line-height: 44px;
    font-weight: 300;
    text-align: left;
}

.site-header a {
    color: #009d96;
    font-weight: 500;
}

/* ==============================================
   POSTS GRID
   ============================================== */
.posts {
    width: 100%;
    padding: 75px 0;
}

.posts--related {
    padding-top: 75px;
    border-top: 1px solid #e0e0e0;
}

.posts h2 {
    width: 100%;
    margin: 0 0 30px 0;
    font-size: 32px;
    letter-spacing: 1px;
    font-weight: 400;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 39px;
}

/* ==============================================
   POST CARD — FULL COVER STYLE
   ============================================== */
.post-card-image {
    width: 100%;
    height: 340px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-card-cover {
    position: relative;
    z-index: 1;
    height: 300px;
    width: auto;
    max-width: 85%;
    object-fit: contain;
    object-position: center top;
    box-shadow: 3px 4px 18px rgba(0, 0, 0, 0.18);
}

.post-card-meta {
    width: calc(100% - 60px);
    margin: -40px auto 0;
    padding: 30px 25px 24px;
    position: relative;
    z-index: 2;
    background: #fff;
    box-shadow: 1px 8px 15px 5px rgba(0, 0, 0, 0.01);
    text-align: center;
}

.post-card-tag {
    display: inline-block;
    padding: 5px 10px 4px;
    border-radius: 4px;
    background: #d9e4e9;
    font-size: 18px;
    color: #050505;
    text-transform: uppercase;
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
}

.post-card-title {
    font-size: 22px;
    color: #050505;
    margin: 14px 0 12px;
    font-family: 'Lora', serif;
    font-weight: 400;
    line-height: 1.35;
}

.post-card-title a { color: #bf4f18; }
.post-card-title a:hover { color: #725622; }

.post-card-date {
    display: block;
    font-size: 22px;
    color: #725622;
}

/* ==============================================
   POST CARD — FLUSH STYLE (no overlap)
   Cover fills top area, meta sits cleanly below
   ============================================== */
.post-card--flush {
    background: #fff;
    box-shadow: 1px 4px 15px rgba(0, 0, 0, 0.03);
}

.post-card-image--flush {
    height: 340px;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.post-card-cover--flush {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    box-shadow: none;
}

.post-card-meta--flush {
    width: 100%;
    margin: 0;
    padding: 24px 25px 22px;
    background: #fff;
    box-shadow: none;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* ==============================================
   POST HERO (pattern banner on post page)
   ============================================== */
.post-hero {
    width: 100%;
    height: 420px;
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-hero-cover {
    position: relative;
    z-index: 1;
    height: 360px;
    width: auto;
    max-width: 80%;
    object-fit: contain;
    box-shadow: 4px 6px 28px rgba(0, 0, 0, 0.22);
}

/* ==============================================
   AFFILIATE BLOCK
   ============================================== */
.affiliate-block {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 36px 44px;
    gap: 36px;
    margin: 36px 0;
    border-radius: 2px;
}

.affiliate-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.affiliate-cover {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.affiliate-cover img {
    height: 220px;
    width: auto;
    box-shadow: 5px 5px 0 rgba(196, 163, 90, 0.35);
}

.affiliate-meta {
    position: relative;
    z-index: 1;
    color: #f7f3ee;
}

.affiliate-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 600;
    color: #d4b460;
    margin-bottom: 10px;
}

.affiliate-meta h3 {
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 4px;
}

.affiliate-meta p {
    font-family: 'Lora', serif;
    font-size: 16px !important;
    font-style: italic;
    opacity: 0.6;
    margin-bottom: 18px !important;
    line-height: 1.4 !important;
}

.affiliate-btn {
    display: inline-block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.75) !important;
    transition: all 0.2s;
}

.affiliate-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.affiliate-btn i { margin-left: 6px; }

/* ==============================================
   FULL POST
   ============================================== */
.fullpost {
    width: 100%;
    padding: 100px 125px 60px;
}

.fullpost h2 {
    width: 100%;
    margin: 0 0 14px;
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    font-family: 'Lora', serif;
}

.fullpost .date {
    width: 100%;
    font-size: 22px;
    color: #050505;
    margin-bottom: 20px;
    text-align: center;
}

.fullpost .stars {
    width: 100%;
    margin-bottom: 28px;
    text-align: center;
}

.fullpost .stars i {
    font-size: 22px;
    margin: 0 3px;
    color: #ccc;
    display: inline;
}

.fullpost .stars i.gold { color: gold; }

.post-body img {
    width: 100%;
    margin-bottom: 32px;
}

.post-body p {
    font-size: 21px;
    line-height: 32px;
    font-weight: 300;
    margin-bottom: 26px;
    font-family: 'Lora', serif;
    color: #000;
}

.post-body p strong {
    color: #bf4f18;
    font-size: 17px;
    text-transform: uppercase;
}

.post-body .pullquote {
    border-left: 3px solid #bf4f18;
    margin: 20px 0;
    padding: 12px 24px;
    font-style: italic;
}

.fullpost .end {
    width: 100%;
    text-align: center;
    margin: 20px 0;
    font-size: 28px;
    cursor: pointer;
    font-weight: 400;
    color: #bf4f18;
}

/* ==============================================
   FOOTER
   ============================================== */
.site-footer {
    width: 100%;
    padding: 28px 0 25px;
    text-align: center;
    font-size: 18px;
    font-family: 'Sofia Sans Condensed', sans-serif;
    color: #050505;
    background: #eee;
    border-top: 1px solid #e0e0e0;
}