/* =========================================================
   SHANI FOOD — BLOG / JOURNAL
   ========================================================= */

.blog-page {
    --blog-red: #f03840;
    --blog-red-dark: #a90d29;
    --blog-ink: #191817;
    --blog-text: #68615c;
    --blog-muted: #968e88;
    --blog-paper: #f7f4f0;
    --blog-white: #fff;
    --blog-line: rgba(25, 24, 23, .10);
    --blog-soft-red: rgba(240, 56, 64, .10);

    margin: 0;
    background: var(--blog-paper);
    color: var(--blog-ink);
}

.blog-main {
    width: 100%;
    overflow-x: clip;
    background: var(--blog-paper);
}

.blog-container {
    width: min(1240px, calc(100% - 64px));
    margin-inline: auto;
}


/* =========================================================
   HERO
   ========================================================= */

.blog-hero {
    position: relative;
    min-height: 340px;
    padding: 130px 0 85px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background:
        radial-gradient(circle at 72% 35%, rgba(255,255,255,.19), transparent 31%),
        linear-gradient(125deg, var(--blog-red-dark) 0%, #d81531 42%, #f43e48 100%);
}

.blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .12;
    background-image:
        linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
    background-size: 58px 58px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 90%);
    mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 90%);
}

.blog-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.blog-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .25em;
    opacity: .78;
}

.blog-hero__eyebrow::before,
.blog-hero__eyebrow::after {
    content: "";
    width: 25px;
    height: 1px;
    background: currentColor;
    opacity: .65;
}

.blog-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 44px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.045em;
}

.blog-hero p {
    margin: 14px 0 0;
    color: rgba(255,255,255,.88);
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 2;
}

.blog-hero__word {
    position: absolute;
    top: 53%;
    left: 50%;
    z-index: -1;
    transform: translate(-50%, 4%);
    color: transparent;
    font-size: clamp(88px, 15vw, 190px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.07em;
    white-space: nowrap;
    -webkit-text-stroke: 1px rgba(30, 12, 15, .24);
    opacity: .78;
    pointer-events: none;
}

.blog-hero__ring {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
}

.blog-hero__ring--1 {
    width: 300px;
    height: 300px;
    top: -155px;
    right: 8%;
}

.blog-hero__ring--2 {
    width: 170px;
    height: 170px;
    bottom: -82px;
    left: 13%;
}

.blog-hero__curve {
    position: absolute;
    right: -4%;
    bottom: -1px;
    left: -4%;
    z-index: 4;
    height: 38px;
    background: var(--blog-paper);
    clip-path: ellipse(55% 100% at 50% 100%);
}


/* =========================================================
   COMMON SECTION HEADING
   ========================================================= */

.blog-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 34px;
}

.blog-section-head__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--blog-red);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18em;
}

.blog-section-head h2 {
    margin: 0;
    font-size: clamp(31px, 3.2vw, 34px);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -.04em;
}

.blog-section-head__number {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 8px;
    color: var(--blog-red);
    direction: ltr;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
    white-space: nowrap;
}

.blog-section-head__number::before {
    content: "";
    width: 45px;
    height: 1px;
    background: currentColor;
    opacity: .34;
}

.blog-section-head--compact {
    margin-bottom: 26px;
}


/* =========================================================
   ARTICLE META
   ========================================================= */

.blog-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 9px;
    color: var(--blog-muted);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.6;
}

.blog-article-meta__author {
    white-space: nowrap;
}

.blog-article-meta time {
    white-space: nowrap;
}

.blog-article-meta i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--blog-red);
}

.blog-article-meta time {
    direction: rtl;
}

.blog-article-meta--light {
    color: rgba(255,255,255,.76);
}

.blog-article-meta--light i {
    background: rgba(255,255,255,.76);
}


/* Latest articles meta with icons */
.blog-article-meta--icons {
    gap: 10px 16px;
}

.blog-article-meta--icons .blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: var(--blog-muted);
    white-space: nowrap;
}

.blog-article-meta--icons .blog-meta-item svg {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    fill: none;
    stroke: var(--blog-red);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-article-meta--icons time.blog-meta-item {
    direction: rtl;
}


/* =========================================================
   FEATURED ARTICLES
   ========================================================= */

.blog-featured {
    padding: 88px 0 105px;
}

.blog-featured__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(380px, .95fr);
    gap: 22px;
    direction: rtl;
}

.blog-feature-card {
    min-width: 0;
}

.blog-feature-card a {
    color: inherit;
    text-decoration: none;
}

.blog-feature-card--main {
    min-height: 580px;
}

.blog-feature-card__cover {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 580px;
    overflow: hidden;
    border-radius: 34px;
    background: #ddd;
    box-shadow: 0 25px 80px rgba(38, 26, 20, .10);
}

.blog-feature-card__cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2,.8,.2,1);
}

.blog-feature-card__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(15, 13, 12, .88) 0%, rgba(15,13,12,.42) 43%, rgba(15,13,12,.05) 72%),
        linear-gradient(120deg, rgba(171, 16, 42, .18), transparent 45%);
}

.blog-feature-card__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 34px 36px 36px;
    color: #fff;
}

.blog-feature-card__content h3 {
    max-width: 700px;
    margin: 13px 0 12px;
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -.035em;
}

.blog-feature-card__content p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    line-height: 2;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: 20px;
    color: var(--blog-ink);
    font-size: 11px;
    font-weight: 800;
}

.blog-read-more b {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blog-ink);
    color: #fff;
    font-size: 14px;
    transition: transform .3s ease, background .3s ease;
}

.blog-read-more--light {
    color: #fff;
}

.blog-read-more--light b {
    background: #fff;
    color: var(--blog-ink);
}

.blog-feature-card__cover:hover img {
    transform: scale(1.045);
}

.blog-feature-card__cover:hover .blog-read-more b {
    transform: rotate(-8deg);
}

.blog-featured__small-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.blog-feature-card--small > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(25,24,23,.07);
    border-radius: 27px;
    background: rgba(255,255,255,.74);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.blog-feature-card__small-cover {
    position: relative;
    aspect-ratio: 1.34 / 1;
    overflow: hidden;
    background: #e7e1db;
}

.blog-feature-card__small-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,17,15,.18), transparent 55%);
}

.blog-feature-card__small-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2,.8,.2,1);
}

.blog-feature-card__index {
    position: absolute;
    right: 15px;
    bottom: 12px;
    z-index: 2;
    color: #fff;

    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.06em;
}

.blog-feature-card__small-content {
    flex: 1;
    padding: 18px 18px 20px;
}

.blog-feature-card__small-content h3 {
    margin: 10px 0 0;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: -.025em;
}

.blog-feature-card--small > a:hover {
    transform: translateY(-5px);
    border-color: rgba(240,56,64,.16);
    box-shadow: 0 18px 50px rgba(41,28,22,.08);
}

.blog-feature-card--small > a:hover img {
    transform: scale(1.055);
}


/* =========================================================
   LATEST + SIDEBAR
   ========================================================= */

.blog-stream {
    position: relative;
    padding: 105px 0 120px;
    background: #fff;
    overflow: clip;
	padding-bottom: 250px;
}

.blog-stream__ghost {
    position: absolute;
    top: 55px;
    right: -30px;
    color: transparent;
    font-size: clamp(100px, 15vw, 220px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.08em;
    white-space: nowrap;
    -webkit-text-stroke: 1px rgba(240,56,64,.045);
    pointer-events: none;
}

.blog-stream__layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 68px;
    align-items: start;
}

.blog-latest {
    min-width: 0;
}

.blog-latest__list {
    border-top: 1px solid var(--blog-line);
}

.blog-latest-card {
    position: relative;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 25px;
    padding: 26px 0;
    border-bottom: 1px solid var(--blog-line);
}

.blog-latest-card__image {
    position: relative;
    display: block;
    height: 148px;
    overflow: hidden;
    border-radius: 20px;
    background: #eee8e2;
}

.blog-latest-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,16,14,.18), transparent 55%);
}

.blog-latest-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
}

.blog-latest-card__image span {
    position: absolute;
    right: 13px;
    bottom: 10px;
    z-index: 2;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.blog-latest-card__content {
    position: relative;
    min-width: 0;
    padding-left: 58px;
}

.blog-latest-card__content h3 {
    margin: 9px 0 7px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.6;
    letter-spacing: -.025em;
}

.blog-latest-card__content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

.blog-latest-card__content p {
    margin: 0;
    color: var(--blog-text);
    font-size: 12px;
    line-height: 2;
}

.blog-latest-card__arrow {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #191817;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: transform .28s ease, background .28s ease;
}

.blog-latest-card:hover .blog-latest-card__image img {
    transform: scale(1.055);
}

.blog-latest-card:hover h3 a {
    color: var(--blog-red);
}

.blog-latest-card__arrow:hover {
    background: var(--blog-red);
    transform: rotate(-8deg);
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.blog-sidebar {
    min-width: 0;
}

.blog-sidebar__sticky {
    position: sticky;
    top: 110px;
}

.blog-sidebar-card {
    overflow: hidden;
    border: 1px solid rgba(25,24,23,.075);
    border-radius: 28px;
    background: var(--blog-paper);
}

.blog-sidebar-card__head {
    padding: 25px 24px 20px;
    border-bottom: 1px solid var(--blog-line);
}

.blog-sidebar-card__head span {
    display: block;
    margin-bottom: 5px;
    color: var(--blog-red);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .2em;
}

.blog-sidebar-card__head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
}

.blog-categories {
    display: block;
}

.blog-categories a {
    display: grid;
    grid-template-columns: 30px minmax(0,1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 17px 20px;
    border-bottom: 1px solid var(--blog-line);
    color: var(--blog-ink);
    text-decoration: none;
    transition: background .25s ease, padding .25s ease;
}

.blog-categories a:last-child {
    border-bottom: 0;
}

.blog-categories__number {
    color: rgba(25,24,23,.32);
    font-size: 10px;
    font-weight: 900;
}

.blog-categories strong {
    font-size: 12px;
    font-weight: 800;
}

.blog-categories small {
    min-width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    color: var(--blog-muted);
    font-size: 9px;
    font-weight: 800;
}

.blog-categories a:hover {
    padding-right: 25px;
    background: rgba(240,56,64,.055);
}

.blog-categories a:hover strong,
.blog-categories a:hover .blog-categories__number {
    color: var(--blog-red);
}

.blog-sidebar-note {
    position: relative;
    margin-top: 22px;
    padding: 29px 26px 28px;
    overflow: hidden;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 10%, rgba(255,255,255,.18), transparent 34%),
        linear-gradient(145deg, #a90d29 0%, #e3293d 100%);
}

.blog-sidebar-note::after {
    content: "S";
    position: absolute;
    left: -13px;
    bottom: -36px;
    color: transparent;
    font-size: 150px;
    font-weight: 900;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(255,255,255,.11);
    pointer-events: none;
}

.blog-sidebar-note__label {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 12px;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .18em;
    opacity: .7;
}

.blog-sidebar-note strong {
    position: relative;
    z-index: 2;
    display: block;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.6;
}

.blog-sidebar-note p {
    position: relative;
    z-index: 2;
    margin: 11px 0 18px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    line-height: 2;
}

.blog-sidebar-note a {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
}

.blog-sidebar-note a b {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--blog-red);
}


/* =========================================================
   PAGINATION
   ========================================================= */

.blog-latest__pagination {
    margin-top: 34px;
    padding-top: 4px;
}

.blog-pagination {
      display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    direction: ltr;
    flex-direction: row-reverse;
}

.blog-pagination > a,
.blog-pagination > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--blog-line);
    border-radius: 50%;
    background: rgba(255,255,255,.68);
    color: var(--blog-ink);
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.blog-pagination > span {
    border-color: transparent;
    background: transparent;
}

.blog-pagination > a:hover,
.blog-pagination > a.is-active,
.blog-pagination > span.is-active {
    border-color: var(--blog-red);
    background: var(--blog-red);
    color: #fff;
}

.blog-pagination__arrow {
    margin-inline: 7px;
    background: var(--blog-ink) !important;
    color: #fff !important;
    font-size: 15px !important;
}

.blog-pagination__arrow:hover {
    background: var(--blog-red) !important;
    transform: translateY(-2px);
}

.blog-pagination__arrow--disabled {
    opacity: .25;
    pointer-events: none;
}


/* =========================================================
   RESPONSIVE — LARGE TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .blog-container {
        width: min(100% - 44px, 1240px);
    }

    .blog-featured__layout {
        grid-template-columns: 1.15fr .95fr;
    }

    .blog-feature-card--main,
    .blog-feature-card__cover {
        min-height: 540px;
    }

    .blog-stream__layout {
        grid-template-columns: minmax(0, 1fr) 285px;
        gap: 40px;
    }

    .blog-latest-card {
        grid-template-columns: 190px minmax(0, 1fr);
    }

}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .blog-hero {
        min-height: 300px;
        padding-top: 115px;
        padding-bottom: 70px;
    }

    .blog-featured {
        padding: 75px 0 90px;
    }

    .blog-featured__layout {
        grid-template-columns: 1fr;
    }

    .blog-feature-card--main,
    .blog-feature-card__cover {
        min-height: 520px;
    }

    .blog-featured__small-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .blog-stream {
        padding: 85px 0 95px;
    }

    .blog-stream__layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .blog-sidebar {
        order: 2;
    }

    .blog-sidebar__sticky {
        position: static;
    }

    .blog-sidebar__sticky {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .blog-sidebar-note {
        margin-top: 0;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 680px) {

    .blog-container {
        width: min(100% - 28px, 1240px);
    }

    .blog-hero {
        min-height: 265px;
        padding: 105px 0 62px;
    }

    .blog-hero h1 {
        font-size: 38px;
    }

    .blog-hero p {
        font-size: 13px;
    }

    .blog-hero__word {
        font-size: 72px;
        opacity: .55;
    }

    .blog-hero__curve {
        height: 24px;
    }

    .blog-featured {
        padding: 60px 0 72px;
    }

    .blog-section-head {
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 25px;
    }

    .blog-section-head h2 {
        font-size: 31px;
    }

    .blog-section-head__number {
        padding-top: 8px;
        font-size: 8px;
    }

    .blog-section-head__number::before {
        width: 24px;
    }

    .blog-feature-card--main,
    .blog-feature-card__cover {
        min-height: 470px;
    }

    .blog-feature-card__content {
        padding: 25px 22px 27px;
    }

    .blog-feature-card__content h3 {
        font-size: 27px;
    }

    .blog-feature-card__content p {
        display: none;
    }

    .blog-featured__small-grid {
        grid-template-columns: 1fr;
    }

    .blog-feature-card--small > a {
        display: grid;
        grid-template-columns: 130px minmax(0,1fr);
        min-height: 125px;
        border-radius: 22px;
    }

    .blog-feature-card__small-cover {
        aspect-ratio: auto;
        height: 100%;
    }

    .blog-feature-card__small-content {
        padding: 15px 15px 16px;
    }

    .blog-feature-card__small-content h3 {
        font-size: 14px;
        line-height: 1.7;
    }

    .blog-article-meta {
        flex-wrap: wrap;
        gap: 6px;
        font-size: 8px;
    }

    .blog-article-meta--icons {
        gap: 6px 10px;
    }

    .blog-article-meta--icons .blog-meta-item {
        gap: 4px;
    }

    .blog-article-meta--icons .blog-meta-item svg {
        width: 11px;
        height: 11px;
        flex-basis: 11px;
    }

    .blog-stream {
        padding: 68px 0 75px;
    }

    .blog-stream__ghost {
        display: none;
    }

    .blog-latest-card {
        grid-template-columns: 115px minmax(0,1fr);
        gap: 15px;
        padding: 18px 0;
    }

    .blog-latest-card__image {
        height: 105px;
        border-radius: 16px;
    }

    .blog-latest-card__content {
        padding-left: 0;
    }

    .blog-latest-card__content h3 {
        margin: 7px 0 0;
        font-size: 15px;
        line-height: 1.7;
    }

    .blog-latest-card__content p,
    .blog-latest-card__arrow {
        display: none;
    }

    .blog-sidebar__sticky {
        grid-template-columns: 1fr;
    }


    .blog-latest__pagination {
        margin-top: 28px;
    }

    .blog-pagination {
        gap: 5px;
    }

    .blog-pagination > a,
    .blog-pagination > span {
        width: 38px;
        height: 38px;
        font-size: 9px;
    }

    .blog-pagination__arrow {
        margin-inline: 2px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .blog-hero h1 {
        font-size: 34px;
    }

    .blog-hero__word {
        font-size: 62px;
    }

    .blog-feature-card--main,
    .blog-feature-card__cover {
        min-height: 430px;
    }

    .blog-feature-card__content h3 {
        font-size: 24px;
    }

    .blog-feature-card--small > a {
        grid-template-columns: 112px minmax(0,1fr);
    }

    .blog-latest-card {
        grid-template-columns: 100px minmax(0,1fr);
    }

    .blog-latest-card__image {
        height: 96px;
    }

    .blog-pagination > span:nth-of-type(1) {
        display: none;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .blog-feature-card__cover img,
    .blog-feature-card--small,
    .blog-feature-card__small-cover img,
    .blog-latest-card__image img,
    .blog-latest-card__arrow,
    .blog-pagination > a {
        transition: none !important;
    }
}
