/*
  Blog post page, post cards and blog list (all brands).
  Colours come from the theme variables oscarMaster sets per brand (--theme-A primary, --theme-C light tint,
  --border); fonts are inherited, so DTC brands (snoozy_roo.css) and Classic brands each keep their own type.
*/
.oga-post { padding-bottom: 3rem; }
.oga-post__container { max-width: 860px; }

.oga-post__hero { margin: 0 0 2rem; }
.oga-post__hero img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
}

.oga-post__header { margin-bottom: 2rem; }
.oga-post__title {
    margin: .75rem 0 .5rem;
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
}
.oga-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 1.25rem;
    font-size: .9rem;
    color: #5f6b66;
}
.oga-post__intro {
    font-size: 1.15rem;
    line-height: 1.6;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border, #e3e6e4);
}
.oga-post__intro p:last-child { margin-bottom: 0; }

.oga-chip {
    display: inline-block;
    padding: .2rem .75rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--theme-A, #2e9d48);
    background: color-mix(in srgb, var(--theme-A, #2e9d48) 12%, transparent);
}

/* Body blocks: rich text, gallery, video */
.oga-post__body { font-size: 1.05rem; line-height: 1.7; }
.oga-post__body .umb-block-list > * { margin-bottom: 1.75rem; }
.oga-post__body h2 { font-size: 1.6rem; margin: 2.25rem 0 .75rem; line-height: 1.25; }
.oga-post__body h3 { font-size: 1.3rem; margin: 1.75rem 0 .5rem; line-height: 1.3; }
.oga-post__body img { max-width: 100%; height: auto; border-radius: 8px; }
.oga-post__body a { color: var(--theme-A, #2e9d48); text-decoration: underline; text-underline-offset: 2px; }
.oga-post__body ul, .oga-post__body ol { padding-left: 1.25rem; }
.oga-post__body blockquote {
    margin: 1.5rem 0;
    padding: .25rem 0 .25rem 1.25rem;
    border-left: 4px solid var(--theme-A, #2e9d48);
    font-size: 1.15rem;
}
.oga-post__body #blogcontent { padding: 0; }

.oga-video { width: 100%; }
.oga-video--portrait { max-width: 360px; margin: 0 auto; }

.oga-post__cta {
    margin: 2.5rem 0 0;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    background: color-mix(in srgb, var(--theme-A, #2e9d48) 10%, transparent);
}
.oga-button {
    display: inline-block;
    padding: .75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    color: #fff;
    background: var(--theme-A, #2e9d48);
    text-decoration: none;
}
.oga-button:hover, .oga-button:focus { color: #fff; filter: brightness(.92); }

.oga-post__back { margin: 2rem 0 0; }
.oga-post__back a { color: var(--theme-A, #2e9d48); font-weight: 600; text-decoration: none; }

/* Related posts and the blog list grid */
.oga-related { margin-top: 3rem; padding: 2.5rem 0; background: var(--background, #f7f8f7); }
.oga-related__container { max-width: 1140px; }
.oga-related__heading { font-size: 1.5rem; margin: 0 0 1.25rem; font-weight: 700; }

.oga-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.oga-card {
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border, #e3e6e4);
    transition: box-shadow .2s ease, transform .2s ease;
}
.oga-card:hover { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.oga-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.oga-card__link:hover { color: inherit; }
.oga-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--theme-C, #eef3ef); }
.oga-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.oga-card__body { display: flex; flex-direction: column; gap: .4rem; padding: 1rem 1.1rem 1.25rem; }
.oga-card__body .oga-chip { align-self: flex-start; }
.oga-card__title { font-size: 1.1rem; line-height: 1.35; margin: .25rem 0 0; font-weight: 700; }
.oga-card__date { font-size: .85rem; color: #5f6b66; }
.oga-card__excerpt { font-size: .95rem; line-height: 1.5; margin: 0; color: #3d4642; }

@media (max-width: 768px) {
    .oga-post__hero img { border-radius: 0; max-height: 260px; }
    .oga-post__hero { margin-left: -12px; margin-right: -12px; }
}
