/* =========================================================
   BUBUBU — DETAIL BLOGOVÉHO ČLÁNKU
   Patagonia-inspired editorial style
   Verzia 1.0

   Všetky pravidlá sú izolované pre detail článku (body.type-post)
   a komponent článku (.bubu-article).
   ========================================================= */

body.type-post .bubu-article {
    --blog-charcoal: #262626;
    --blog-text: #42423f;
    --blog-muted: #6e6e69;
    --blog-line: #deddd9;
    --blog-soft: #f5f4f1;
    --blog-red: #b4232d;
    box-sizing: border-box;
    max-width: 1320px;
    margin: 0 auto;
    padding: 32px 48px 80px;
    color: var(--blog-text);
    font-family: inherit;
}

body.type-post .bubu-article *,
body.type-post .bubu-article *::before,
body.type-post .bubu-article *::after {
    box-sizing: border-box;
}

/* Shoptet page wrapper: full-width editorial canvas */
body.type-post .content-wrapper,
body.type-post #content-wrapper,
body.type-post .content-wrapper-in,
body.type-post .content-inner,
body.type-post .content,
body.type-post article,
body.type-post .article-detail,
body.type-post .article-content {
    width: 100% !important;
    max-width: none !important;
}

/* Hide the title generated above the custom article hero. */
body.type-post .content > h1,
body.type-post .content-inner > h1,
body.type-post .article-detail > h1,
body.type-post article > header:not(.bubu-article__header) h1 {
    display: none !important;
}

/* Header */
body.type-post .bubu-article__header {
    max-width: 980px;
    margin: 35px auto 48px;
    text-align: center;
}

body.type-post .bubu-article__eyebrow {
    display: block;
    margin-bottom: 20px;
    color: var(--blog-red);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .11em;
    text-transform: uppercase;
}

body.type-post .bubu-article__header h1 {
    max-width: 960px;
    margin: 0 auto 26px !important;
    color: var(--blog-charcoal);
    font-size: clamp(46px, 4.3vw, 68px) !important;
    font-weight: 650 !important;
    line-height: 1.03 !important;
    letter-spacing: -.045em;
}

body.type-post .bubu-article__lead {
    max-width: 760px;
    margin: 0 auto;
    color: #555552;
    font-size: 20px !important;
    line-height: 1.65 !important;
}

/* Hero image */
body.type-post .bubu-article__hero-image {
    max-width: 1220px;
    margin: 0 auto 70px;
}

body.type-post .bubu-article__hero-image img {
    display: block;
    width: 100%;
    height: min(72vh, 780px);
    object-fit: cover;
    border-radius: 8px;
}

/* Reading column */
body.type-post .bubu-article__content {
    max-width: 780px;
    margin: 0 auto;
}

body.type-post .bubu-article__content > p {
    margin: 0 0 26px !important;
    color: var(--blog-text);
    font-size: 18px !important;
    line-height: 1.82 !important;
}

body.type-post .bubu-article__content > h2 {
    margin: 78px 0 25px !important;
    color: var(--blog-charcoal);
    font-size: clamp(31px, 2.6vw, 40px) !important;
    font-weight: 650 !important;
    line-height: 1.16 !important;
    letter-spacing: -.035em;
}

body.type-post .bubu-article__content > h2:first-child {
    margin-top: 0 !important;
}

body.type-post .bubu-article__content ul,
body.type-post .bubu-article__content ol {
    margin: 12px 0 32px;
    padding: 0;
}

body.type-post .bubu-article__content ul {
    list-style: none;
}

body.type-post .bubu-article__content ol {
    padding-left: 26px;
}

body.type-post .bubu-article__content li {
    position: relative;
    margin: 0 0 12px;
    color: var(--blog-text);
    font-size: 18px;
    line-height: 1.7;
}

body.type-post .bubu-article__content ul > li {
    padding-left: 25px;
}

body.type-post .bubu-article__content ul > li::before {
    content: "";
    position: absolute;
    top: .72em;
    left: 1px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blog-red);
}

body.type-post .bubu-article__content a:not(.bubu-article__related-card) {
    color: inherit;
    text-decoration-color: var(--blog-red);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* Editorial note */
body.type-post .bubu-article__note {
    position: relative;
    margin: 50px 0;
    padding: 8px 0 8px 30px;
    border: 0 !important;
    background: transparent !important;
    color: #4a4a47;
    font-size: 17px;
    line-height: 1.75;
}

body.type-post .bubu-article__note::before {
    content: "";
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 3px;
    background: var(--blog-red);
}

body.type-post .bubu-article__note strong {
    display: block;
    margin-bottom: 7px;
    color: var(--blog-charcoal);
    font-size: 17px;
    font-weight: 700;
}

/* Images breaking out of the reading column */
body.type-post .bubu-article__visual-break,
body.type-post .bubu-article__wide-image {
    width: min(1080px, calc(100vw - 80px));
    margin: 64px 50% 70px;
    transform: translateX(-50%);
}

body.type-post .bubu-article__visual-break img,
body.type-post .bubu-article__wide-image img {
    display: block;
    width: 100%;
    max-height: 720px;
    object-fit: cover;
    border-radius: 8px;
}

body.type-post .bubu-article__image-caption {
    margin: 10px 0 0;
    color: var(--blog-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* CTA */
body.type-post .bubu-article__cta {
    width: min(1060px, calc(100vw - 80px));
    margin: 90px 50% 75px;
    padding: 60px 70px;
    transform: translateX(-50%);
    border-radius: 8px;
    background: var(--blog-charcoal);
    color: #fff;
    text-align: center;
}

body.type-post .bubu-article__cta h2 {
    max-width: 700px;
    margin: 0 auto 24px !important;
    color: #fff !important;
    font-size: 36px !important;
    line-height: 1.15 !important;
    letter-spacing: -.03em;
}

body.type-post .bubu-article__cta p {
    max-width: 720px;
    margin: 0 auto !important;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
}

/* Related articles */
body.type-post .bubu-article__related {
    width: min(1120px, calc(100vw - 80px));
    margin: 80px 50% 0;
    padding-top: 45px;
    transform: translateX(-50%);
    border-top: 1px solid var(--blog-line);
}

body.type-post .bubu-article__related-head {
    margin-bottom: 30px;
}

body.type-post .bubu-article__related-head h2 {
    margin: 0 0 10px !important;
    color: var(--blog-charcoal);
    font-size: 36px !important;
    line-height: 1.15 !important;
    letter-spacing: -.03em;
}

body.type-post .bubu-article__related-head p {
    margin: 0 !important;
    color: #777772 !important;
    font-size: 15px !important;
}

body.type-post .bubu-article__related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 0;
    border-top: 1px solid var(--blog-line);
}

body.type-post .bubu-article__related-card {
    position: relative;
    display: flex !important;
    min-width: 0;
    min-height: 180px;
    padding: 30px 32px;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 24px;
    border-bottom: 1px solid var(--blog-line);
    background: transparent;
    color: var(--blog-charcoal) !important;
    text-align: left !important;
    text-decoration: none !important;
    transition: background .2s ease, padding-left .2s ease;
}

body.type-post .bubu-article__related-card > div {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.type-post .bubu-article__related-card:nth-child(odd) {
    border-right: 1px solid var(--blog-line);
}

body.type-post .bubu-article__related-card:hover {
    padding-left: 38px;
    background: var(--blog-soft);
}

body.type-post .bubu-article__related-card strong {
    display: block;
    margin-bottom: 12px;
    color: var(--blog-charcoal);
    font-size: 20px;
    line-height: 1.3;
}

body.type-post .bubu-article__related-card span {
    color: var(--blog-muted);
    font-size: 14px;
    line-height: 1.6;
}

body.type-post .bubu-article__related-link {
    display: block;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--blog-charcoal) !important;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1.4 !important;
    text-align: left !important;
}

body.type-post .bubu-article__related-link::after {
    content: " →";
}

/* Tablet */
@media (max-width: 991px) {
    body.type-post .bubu-article {
        padding-right: 28px;
        padding-left: 28px;
    }

    body.type-post .bubu-article__header h1 {
        font-size: clamp(42px, 7vw, 58px) !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    body.type-post .bubu-article {
        padding: 18px 18px 50px;
    }

    body.type-post .bubu-article__header {
        margin: 16px 0 30px;
        text-align: left;
    }

    body.type-post .bubu-article__eyebrow {
        margin-bottom: 13px;
        font-size: 11px;
    }

    body.type-post .bubu-article__header h1 {
        margin-bottom: 18px !important;
        font-size: clamp(34px, 10vw, 42px) !important;
        line-height: 1.04 !important;
        letter-spacing: -.04em;
    }

    body.type-post .bubu-article__lead {
        font-size: 18px !important;
        line-height: 1.6 !important;
    }

    body.type-post .bubu-article__hero-image {
        width: calc(100% + 36px);
        margin-left: -18px;
        margin-bottom: 42px;
    }

    body.type-post .bubu-article__hero-image img {
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 0;
    }

    body.type-post .bubu-article__content > p,
    body.type-post .bubu-article__content li {
        font-size: 16.5px !important;
        line-height: 1.75 !important;
    }

    body.type-post .bubu-article__content > h2 {
        margin-top: 55px !important;
        margin-bottom: 18px !important;
        font-size: 30px !important;
    }

    body.type-post .bubu-article__note {
        margin: 38px 0;
        padding-left: 24px;
        font-size: 16px;
    }

    body.type-post .bubu-article__visual-break,
    body.type-post .bubu-article__wide-image {
        width: calc(100% + 36px);
        margin-top: 45px;
        margin-bottom: 50px;
    }

    body.type-post .bubu-article__visual-break img,
    body.type-post .bubu-article__wide-image img {
        max-height: none;
        border-radius: 0;
    }

    body.type-post .bubu-article__cta {
        width: calc(100% + 36px);
        margin-top: 65px;
        margin-bottom: 55px;
        padding: 42px 24px;
        border-radius: 0;
    }

    body.type-post .bubu-article__cta h2 {
        font-size: 29px !important;
    }

    body.type-post .bubu-article__related {
        width: 100%;
        margin-top: 60px;
    }

    body.type-post .bubu-article__related-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    body.type-post .bubu-article__related-card,
    body.type-post .bubu-article__related-card:nth-child(odd) {
        min-height: auto;
        padding: 25px 0;
        gap: 16px;
        border-right: 0;
    }

    body.type-post .bubu-article__related-card:hover {
        padding-left: 0;
        background: transparent;
    }
}

/* =========================================================
   ARTICLE READING LAYOUT — VERSION 5
   Final overrides against Shoptet typography and alignment.
   ========================================================= */

body.type-post .bubu-article .bubu-article__content {
    display: block !important;
    width: min(100%, 780px) !important;
    max-width: 780px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 0 !important;
    text-align: left !important;
}

body.type-post .bubu-article .bubu-article__content > p {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    color: var(--blog-text) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.76 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
}

body.type-post .bubu-article .bubu-article__content > h2 {
    width: 100% !important;
    max-width: 780px !important;
    margin: 68px 0 22px !important;
    padding: 0 !important;
    color: var(--blog-charcoal) !important;
    font-size: clamp(31px, 2.5vw, 39px) !important;
    font-weight: 650 !important;
    line-height: 1.15 !important;
    letter-spacing: -.035em !important;
    text-align: left !important;
}

body.type-post .bubu-article .bubu-article__content > h2:first-child {
    margin-top: 0 !important;
}

body.type-post .bubu-article .bubu-article__content > ul,
body.type-post .bubu-article .bubu-article__content > ol {
    width: 100% !important;
    max-width: none !important;
    text-align: left !important;
}

body.type-post .bubu-article .bubu-article__content li {
    font-size: 18px !important;
    line-height: 1.7 !important;
    text-align: left !important;
}

body.type-post .bubu-article .bubu-article__note {
    width: 100% !important;
    max-width: none !important;
    margin: 42px 0 !important;
    text-align: left !important;
}

/* Wide editorial images deliberately break out of the reading column. */
body.type-post .bubu-article .bubu-article__visual-break,
body.type-post .bubu-article .bubu-article__wide-image {
    width: min(1080px, calc(100vw - 80px)) !important;
    max-width: none !important;
    margin-top: 58px !important;
    margin-bottom: 62px !important;
}

body.type-post .bubu-article .bubu-article__visual-break img,
body.type-post .bubu-article .bubu-article__wide-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 720px !important;
    object-fit: cover !important;
}

/* These components intentionally retain centered text. */
body.type-post .bubu-article .bubu-article__cta,
body.type-post .bubu-article .bubu-article__cta h2,
body.type-post .bubu-article .bubu-article__cta p {
    text-align: center !important;
}

@media (max-width: 767px) {
    body.type-post .bubu-article .bubu-article__content {
        width: 100% !important;
        max-width: none !important;
    }

    body.type-post .bubu-article .bubu-article__content > p,
    body.type-post .bubu-article .bubu-article__content li {
        font-size: 16.5px !important;
        line-height: 1.72 !important;
    }

    body.type-post .bubu-article .bubu-article__content > h2 {
        margin-top: 50px !important;
        font-size: 29px !important;
        line-height: 1.16 !important;
    }

    body.type-post .bubu-article .bubu-article__visual-break,
    body.type-post .bubu-article .bubu-article__wide-image {
        width: calc(100% + 36px) !important;
        margin-top: 42px !important;
        margin-bottom: 46px !important;
    }

    body.type-post .bubu-article .bubu-article__visual-break img,
    body.type-post .bubu-article .bubu-article__wide-image img {
        max-height: none !important;
    }
}

/* =========================================================
   RELATED STORIES — PATAGONIA-STYLE CARDS (VERSION 4)
   Requires the .bubu-story-card markup from the supplied HTML block.
   ========================================================= */

body.type-post .bubu-article .bubu-article__related--stories {
    width: min(1320px, calc(100vw - 48px));
    margin-top: 96px;
    padding-top: 0;
    border-top: 0;
}

body.type-post .bubu-article .bubu-article__related--stories .bubu-article__related-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

body.type-post .bubu-article .bubu-article__related--stories .bubu-article__related-head h2 {
    margin: 0 !important;
    font-size: clamp(38px, 4vw, 58px) !important;
    font-weight: 700 !important;
    letter-spacing: -.045em;
}

body.type-post .bubu-article .bubu-article__related--stories .bubu-article__related-head p {
    max-width: 470px;
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-align: right;
}

body.type-post .bubu-article .bubu-stories {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible;
}

body.type-post .bubu-article .bubu-story-card,
body.type-post .bubu-article .bubu-story-card:nth-child(odd) {
    display: flex !important;
    min-width: 0;
    min-height: 510px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 8px;
    background: #f1f1ef !important;
    color: var(--blog-charcoal) !important;
    text-align: left !important;
    text-decoration: none !important;
    transform: none !important;
    transition: transform .25s ease, background-color .25s ease;
}

body.type-post .bubu-article .bubu-story-card:hover {
    padding: 0 !important;
    background: #e9e9e6 !important;
    transform: translateY(-4px) !important;
}

body.type-post .bubu-article .bubu-story-card__image {
    display: block;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #ddd;
}

body.type-post .bubu-article .bubu-story-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform .45s ease;
}

body.type-post .bubu-article .bubu-story-card:hover .bubu-story-card__image img {
    transform: scale(1.025);
}

body.type-post .bubu-article .bubu-story-card__body {
    display: flex !important;
    width: 100% !important;
    min-height: 300px !important;
    margin: 0 !important;
    padding: 28px 26px 24px !important;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

body.type-post .bubu-article .bubu-story-card__kicker {
    display: block;
    margin: 0 0 14px;
    color: var(--blog-red);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .1em;
    text-transform: uppercase;
}

body.type-post .bubu-article .bubu-story-card__title {
    display: block;
    margin: 0 0 15px;
    color: var(--blog-charcoal);
    font-size: clamp(23px, 1.8vw, 29px);
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -.035em;
}

body.type-post .bubu-article .bubu-story-card__description {
    display: block;
    margin: 0;
    color: #5f5f5b;
    font-size: 14px;
    line-height: 1.55;
}

body.type-post .bubu-article .bubu-story-card__cta {
    display: inline-flex !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: auto 0 0 !important;
    padding: 10px 16px !important;
    align-items: center;
    border-radius: 999px;
    background: #fff;
    color: var(--blog-charcoal) !important;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1 !important;
    white-space: nowrap;
}

body.type-post .bubu-article .bubu-story-card__cta::after {
    content: " →";
    margin-left: 5px;
}

@media (max-width: 1100px) {
    body.type-post .bubu-article .bubu-stories {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    body.type-post .bubu-article .bubu-article__related--stories {
        width: calc(100% + 18px);
        margin-top: 68px;
    }

    body.type-post .bubu-article .bubu-article__related--stories .bubu-article__related-head {
        display: block;
        padding-right: 18px;
        margin-bottom: 24px;
    }

    body.type-post .bubu-article .bubu-article__related--stories .bubu-article__related-head h2 {
        margin-bottom: 10px !important;
        font-size: 38px !important;
    }

    body.type-post .bubu-article .bubu-article__related--stories .bubu-article__related-head p {
        text-align: left;
    }

    body.type-post .bubu-article .bubu-stories {
        display: flex !important;
        gap: 14px !important;
        padding-right: 18px !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    body.type-post .bubu-article .bubu-stories::-webkit-scrollbar {
        display: none;
    }

    body.type-post .bubu-article .bubu-story-card,
    body.type-post .bubu-article .bubu-story-card:nth-child(odd) {
        flex: 0 0 82vw;
        min-height: 480px !important;
        scroll-snap-align: start;
    }

    body.type-post .bubu-article .bubu-story-card__image {
        height: 205px;
    }

    body.type-post .bubu-article .bubu-story-card__body {
        min-height: 275px !important;
        padding: 24px 22px 22px !important;
    }

    body.type-post .bubu-article .bubu-story-card__title {
        font-size: 26px;
    }
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
    body.type-post .bubu-article__related-card {
        transition: none;
    }
}

/* =========================================================
   SHOPTET CONFLICT OVERRIDES — VERSION 3
   Keep this block last so it wins over theme article styles.
   ========================================================= */

/* Hide every title supplied by the Shoptet article template. */
body.type-post h1 {
    display: none !important;
}

/* Restore only the editorial title inside our component. */
body.type-post .bubu-article .bubu-article__header h1 {
    display: block !important;
}

/* Use compact editorial rows; neutralize Shoptet link/card layout. */
body.type-post .bubu-article .bubu-article__related-grid {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.type-post .bubu-article .bubu-article__related-card,
body.type-post .bubu-article .bubu-article__related-card:nth-child(odd) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto !important;
    align-items: center !important;
    gap: 32px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 28px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--blog-line) !important;
    background: transparent !important;
    text-align: left !important;
    transform: none !important;
}

body.type-post .bubu-article .bubu-article__related-card:hover {
    padding: 28px 0 !important;
    background: transparent !important;
}

body.type-post .bubu-article .bubu-article__related-card > div {
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.type-post .bubu-article .bubu-article__related-card strong,
body.type-post .bubu-article .bubu-article__related-card span {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
}

body.type-post .bubu-article .bubu-article__related-link {
    display: block !important;
    align-self: center !important;
    white-space: nowrap !important;
}

@media (max-width: 767px) {
    body.type-post .bubu-article .bubu-article__related-card,
    body.type-post .bubu-article .bubu-article__related-card:nth-child(odd) {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 24px 0 !important;
    }

    body.type-post .bubu-article .bubu-article__related-card:hover {
        padding: 24px 0 !important;
    }
}

/* =========================================================
   SLIPPER TYPE CARDS — VERSION 6
   ========================================================= */

body.type-post .bubu-article .bubu-slipper-types {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.type-post .bubu-article .bubu-slipper-type {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #f1f1ef;
    color: var(--blog-charcoal) !important;
    text-decoration: none !important;
    transition: transform .25s ease, background-color .25s ease;
}

body.type-post .bubu-article .bubu-slipper-type:hover {
    background: #e9e9e6;
    transform: translateY(-4px);
}

@media (max-width: 767px) {
    body.type-post .bubu-article .bubu-slipper-types {
        display: flex;
        gap: 14px;
        padding-right: 18px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    body.type-post .bubu-article .bubu-slipper-types::-webkit-scrollbar {
        display: none;
    }

    body.type-post .bubu-article .bubu-slipper-type {
        flex: 0 0 78vw;
        scroll-snap-align: start;
    }
}

/* =========================================================
   SHOPTET-SAFE RELATED STORY TILES — VERSION 7
   Cards are containers; links are not wrapped around block content.
   ========================================================= */

body.type-post .bubu-article .bubu-story-tiles {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
}

body.type-post .bubu-article .bubu-story-tile {
    display: flex !important;
    min-width: 0 !important;
    min-height: 510px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #f1f1ef !important;
}

body.type-post .bubu-article .bubu-story-tile__image {
    display: block !important;
    width: 100% !important;
    height: 220px !important;
    overflow: hidden !important;
}

body.type-post .bubu-article .bubu-story-tile__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transition: transform .4s ease;
}

body.type-post .bubu-article .bubu-story-tile:hover .bubu-story-tile__image img {
    transform: scale(1.025);
}

body.type-post .bubu-article .bubu-story-tile__body {
    display: flex !important;
    min-height: 290px !important;
    padding: 27px 25px 24px !important;
    flex: 1 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

body.type-post .bubu-article .bubu-story-tile__kicker {
    margin-bottom: 14px !important;
    color: var(--blog-red) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
}

body.type-post .bubu-article .bubu-story-tile__title {
    margin: 0 0 15px !important;
    font-size: clamp(24px, 2vw, 30px) !important;
    font-weight: 650 !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
}

body.type-post .bubu-article .bubu-story-tile__title a {
    color: var(--blog-charcoal) !important;
    text-decoration: none !important;
}

body.type-post .bubu-article .bubu-story-tile__description {
    margin: 0 0 22px !important;
    color: #5f5f5b !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    text-align: left !important;
}

body.type-post .bubu-article .bubu-story-tile__cta {
    display: inline-flex !important;
    margin: auto 0 0 !important;
    padding: 11px 17px !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--blog-charcoal) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

@media (max-width: 900px) {
    body.type-post .bubu-article .bubu-story-tiles {
        grid-template-columns: 1fr !important;
    }

    body.type-post .bubu-article .bubu-story-tile {
        min-height: 0 !important;
    }
}

@media (max-width: 767px) {
    body.type-post .bubu-article .bubu-story-tiles {
        display: flex !important;
        gap: 14px !important;
        padding-right: 18px !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    body.type-post .bubu-article .bubu-story-tiles::-webkit-scrollbar {
        display: none;
    }

    body.type-post .bubu-article .bubu-story-tile {
        flex: 0 0 82vw !important;
        min-height: 480px !important;
        scroll-snap-align: start;
    }
}
