/*
 * SHOPSTYLE JOURNAL V1
 * Listing page only.
 * Modora can reuse the same layout later by changing the variables.
 */

.ssj {
    --ssj-text: #161616;
    --ssj-muted: #767676;
    --ssj-border: #e8e8e8;
    --ssj-soft: #f6f4f3;
    --ssj-accent: #d41462;
    --ssj-white: #ffffff;

    width: 100%;
    color: var(--ssj-text);
    font-family: inherit;
}


/* =========================================================
   HEADER
   ========================================================= */

.ssj-header {
    padding: 26px 0 42px;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--ssj-border);
}

.ssj-kicker {
    margin-bottom: 12px;
    color: var(--ssj-accent);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .16em;
}

.ssj-header-grid {
    display: grid;
    grid-template-columns: minmax(300px, .8fr) minmax(400px, 1.2fr);
    gap: 60px;
    align-items: end;
}

.ssj-header-title h2 {
    margin: 0;
    color: var(--ssj-text);
    font-size: clamp(30px, 3.2vw, 50px);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -.035em;
}

.ssj-header-intro {
    max-width: 760px;
    color: #555;
    font-size: 15px;
    line-height: 1.72;
}

.ssj-header-intro p {
    margin: 0 0 8px;
}

.ssj-header-intro p:last-child {
    margin-bottom: 0;
}


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

.ssj-featured {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, .82fr);
    gap: 26px;
    margin-bottom: 62px;
}

.ssj-hero {
    position: relative;
    overflow: hidden;
    min-height: 570px;
    background: #111;
}

.ssj-hero-media {
    position: absolute;
    inset: 0;
    display: block;
}

.ssj-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.02) 30%,
            rgba(0,0,0,0.82) 100%
        );
}

.ssj-hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .7s ease;
}

.ssj-hero:hover .ssj-hero-media img {
    transform: scale(1.025);
}

.ssj-hero-content {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 780px;
    padding: 52px;
    color: #fff;
}

.ssj-meta {
    display: flex;
    gap: 13px;
    align-items: center;
    margin-bottom: 14px;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    letter-spacing: .06em;
}

.ssj-label {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 10px;
    background: var(--ssj-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
}

.ssj-hero-title {
    margin: 0 0 16px;
    font-size: clamp(28px, 3.3vw, 48px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.035em;
}

.ssj-hero-title a,
.ssj-hero-title a:hover,
.ssj-hero-title a:focus {
    color: #fff;
    text-decoration: none;
}

.ssj-hero-excerpt {
    max-width: 660px;
    margin: 0 0 22px;
    color: rgba(255,255,255,.88);
    font-size: 15px;
    line-height: 1.62;
}

.ssj-read {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,.65);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none !important;
}

.ssj-read span {
    transition: transform .2s ease;
}

.ssj-read:hover span {
    transform: translateX(4px);
}


/* =========================================================
   SECONDARY STORIES
   ========================================================= */

.ssj-secondary {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.ssj-secondary-card {
    display: grid;
    grid-template-rows: minmax(150px, 1fr) auto;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--ssj-border);
    background: var(--ssj-white);
}

.ssj-secondary-media {
    position: relative;
    display: block;
    min-height: 185px;
    overflow: hidden;
    background: #eee;
}

.ssj-secondary-media img {
    width: 100%;
    height: 100%;
    min-height: 185px;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.ssj-secondary-card:hover img {
    transform: scale(1.035);
}

.ssj-secondary-content {
    padding: 19px 20px 20px;
}

.ssj-secondary-content time,
.ssj-card-content time {
    display: block;
    margin-bottom: 8px;
    color: var(--ssj-muted);
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: .07em;
}

.ssj-secondary-content h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 650;
}

.ssj-secondary-content h3 a,
.ssj-secondary-content h3 a:hover {
    color: var(--ssj-text);
    text-decoration: none;
}

.ssj-secondary-content p {
    margin: 10px 0 0;
    color: #696969;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   LATEST GRID
   ========================================================= */

.ssj-latest {
    margin-top: 8px;
}

.ssj-section-head {
    display: flex;
    gap: 30px;
    align-items: flex-end;
    margin-bottom: 26px;
}

.ssj-section-head .ssj-kicker {
    margin-bottom: 6px;
}

.ssj-section-head h2 {
    margin: 0;
    color: var(--ssj-text);
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.025em;
}

.ssj-section-line {
    flex: 1;
    height: 1px;
    margin-bottom: 7px;
    background: var(--ssj-border);
}

.ssj-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px 24px;
}

.ssj-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
}

.ssj-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
}

.ssj-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.ssj-card:hover .ssj-card-media img {
    transform: scale(1.035);
}

.ssj-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 2px 0;
}

.ssj-card-content h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.32;
    font-weight: 650;
    letter-spacing: -.015em;
}

.ssj-card-content h3 a,
.ssj-card-content h3 a:hover {
    color: var(--ssj-text);
    text-decoration: none;
}

.ssj-card-content p {
    margin: 0 0 18px;
    color: #696969;
    font-size: 14px;
    line-height: 1.6;
}

.ssj-card-read {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    color: var(--ssj-text) !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.ssj-card-read span {
    transition: transform .2s ease;
}

.ssj-card-read:hover {
    color: var(--ssj-accent) !important;
}

.ssj-card-read:hover span {
    transform: translateX(4px);
}


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

.ssj-pagination {
    margin: 58px 0 20px;
    padding-top: 28px;
    border-top: 1px solid var(--ssj-border);
}

.ssj-pagination .pagination {
    margin: 0;
}

.ssj-pagination .pagination > li > a,
.ssj-pagination .pagination > li > span {
    min-width: 38px;
    min-height: 38px;
    margin-right: 6px;
    padding: 9px 12px;
    border: 1px solid var(--ssj-border);
    border-radius: 0;
    background: #fff;
    color: var(--ssj-text);
    text-align: center;
}

.ssj-pagination .pagination > .active > a,
.ssj-pagination .pagination > .active > span,
.ssj-pagination .pagination > li > a:hover {
    border-color: var(--ssj-text);
    background: var(--ssj-text);
    color: #fff;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {

    .ssj-featured {
        grid-template-columns: minmax(0, 1.7fr) minmax(270px, .9fr);
    }

    .ssj-hero {
        min-height: 520px;
    }

    .ssj-hero-content {
        padding: 38px;
    }

}


@media (max-width: 991px) {

    .ssj-header-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ssj-featured {
        grid-template-columns: 1fr;
    }

    .ssj-hero {
        min-height: 520px;
    }

    .ssj-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }

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

}


@media (max-width: 767px) {

    .ssj-header {
        padding: 18px 0 28px;
        margin-bottom: 22px;
    }

    .ssj-header-title h2 {
        font-size: 34px;
    }

    .ssj-header-intro {
        font-size: 14px;
        line-height: 1.62;
    }

    .ssj-featured {
        gap: 18px;
        margin-bottom: 42px;
    }

    .ssj-hero {
        min-height: 500px;
    }

    .ssj-hero-content {
        padding: 26px 22px;
    }

    .ssj-hero-title {
        font-size: 30px;
        line-height: 1.12;
    }

    .ssj-hero-excerpt {
        font-size: 14px;
    }

    .ssj-secondary {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ssj-secondary-card {
        grid-template-columns: 42% 58%;
        grid-template-rows: none;
    }

    .ssj-secondary-media,
    .ssj-secondary-media img {
        min-height: 190px;
        height: 100%;
    }

    .ssj-secondary-content {
        padding: 16px;
    }

    .ssj-secondary-content p {
        display: none;
    }

    .ssj-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .ssj-card-media {
        aspect-ratio: 16 / 10;
    }

}


@media (max-width: 480px) {

    .ssj-header-title h2 {
        font-size: 30px;
    }

    .ssj-hero {
        min-height: 455px;
    }

    .ssj-hero-content {
        padding: 22px 18px;
    }

    .ssj-hero-title {
        font-size: 27px;
    }

    .ssj-hero-excerpt {
        display: none;
    }

    .ssj-secondary-card {
        display: block;
    }

    .ssj-secondary-media {
        min-height: 205px;
        aspect-ratio: 16 / 10;
    }

    .ssj-secondary-media img {
        min-height: 0;
    }

    .ssj-section-head {
        gap: 15px;
    }

    .ssj-section-head h2 {
        font-size: 24px;
    }

}


/* =========================================================
   SHOPSTYLE_JOURNAL_LUXURY_CARDS_V2
   Premium editorial treatment for secondary and latest cards.
   ========================================================= */


/* ---------------------------------------------------------
   Editorial palette
   --------------------------------------------------------- */

.ssj {
    --ssj-ivory: #f6f2eb;
    --ssj-champagne: #f2eadc;
    --ssj-blush: #f3e9ea;
    --ssj-pearl: #eef0ed;
    --ssj-stone: #ebe8e2;
    --ssj-ink: #1c1b1a;
    --ssj-gold-muted: #9a7a49;
}


/* ---------------------------------------------------------
   Secondary stories beside hero
   --------------------------------------------------------- */

.ssj-secondary-card {
    position: relative;
    border: 0;
    background: var(--ssj-ivory);
    box-shadow:
        0 1px 0 rgba(0,0,0,.05),
        0 14px 34px rgba(25,20,15,.055);
}

.ssj-secondary-card:nth-child(2) {
    background: var(--ssj-blush);
}

.ssj-secondary-card::before {
    content: "";
    position: absolute;
    z-index: 4;
    top: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: var(--ssj-gold-muted);
}

.ssj-secondary-content {
    position: relative;
    padding: 24px 24px 25px;
}

.ssj-secondary-content::before {
    content: "SHOPSTYLE JOURNAL";
    display: block;
    margin-bottom: 10px;
    color: #9a7a49;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .18em;
}

.ssj-secondary-content h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.22;
    font-weight: 400;
    letter-spacing: -.012em;
}

.ssj-secondary-content time {
    color: #85807a;
}

.ssj-secondary-content p {
    color: #716b66;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   Latest section heading
   --------------------------------------------------------- */

.ssj-latest {
    position: relative;
    padding-top: 14px;
}

.ssj-section-head {
    margin-bottom: 34px;
}

.ssj-section-head h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: -.025em;
}

.ssj-section-head .ssj-kicker {
    color: var(--ssj-gold-muted);
}


/* ---------------------------------------------------------
   Luxury grid
   --------------------------------------------------------- */

.ssj-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}


/* Base card */

.ssj-grid .ssj-card {
    --card-bg: var(--ssj-ivory);
    --card-accent: #967853;
    --card-text: var(--ssj-ink);
    --card-muted: #746f69;

    position: relative;
    overflow: hidden;
    min-height: 100%;
    background: var(--card-bg);
    color: var(--card-text);
    box-shadow:
        0 1px 0 rgba(0,0,0,.025),
        0 16px 38px rgba(34,26,19,.05);
    transition:
        transform .28s ease,
        box-shadow .28s ease;
}

.ssj-grid .ssj-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 2px 0 rgba(0,0,0,.025),
        0 22px 46px rgba(34,26,19,.09);
}


/* Fine editorial rule */

.ssj-grid .ssj-card::before {
    content: "";
    position: absolute;
    z-index: 4;
    top: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--card-accent);
}


/* Different classic magazine undertones */

.ssj-grid .ssj-card:nth-child(6n + 1) {
    --card-bg: #f7f3ec;
    --card-accent: #9b7a4b;
}

.ssj-grid .ssj-card:nth-child(6n + 2) {
    --card-bg: #f1e9e9;
    --card-accent: #9b7278;
}

.ssj-grid .ssj-card:nth-child(6n + 3) {
    --card-bg: #eef0ed;
    --card-accent: #717a70;
}

.ssj-grid .ssj-card:nth-child(6n + 5) {
    --card-bg: #f2ebdd;
    --card-accent: #a0814e;
}

.ssj-grid .ssj-card:nth-child(6n + 6) {
    --card-bg: #ecebe7;
    --card-accent: #77736b;
}


/* ---------------------------------------------------------
   Card images
   --------------------------------------------------------- */

.ssj-grid .ssj-card-media {
    margin: 14px 14px 0;
    aspect-ratio: 4 / 3;
    background: #ddd8d0;
}

.ssj-grid .ssj-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.17);
}

.ssj-grid .ssj-card-media img {
    transition:
        transform .65s cubic-bezier(.2,.7,.2,1),
        filter .45s ease;
}

.ssj-grid .ssj-card:hover .ssj-card-media img {
    transform: scale(1.028);
}


/* ---------------------------------------------------------
   Card typography
   --------------------------------------------------------- */

.ssj-grid .ssj-card-content {
    position: relative;
    padding: 25px 27px 29px;
}

.ssj-grid .ssj-card-content::before {
    content: "SHOPSTYLE JOURNAL";
    display: block;
    margin-bottom: 11px;
    color: var(--card-accent);
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .2em;
}

.ssj-grid .ssj-card-content time {
    margin-bottom: 10px;
    color: var(--card-muted);
    font-size: 10px;
    letter-spacing: .1em;
}

.ssj-grid .ssj-card-content h3 {
    margin-bottom: 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.18;
    font-weight: 400;
    letter-spacing: -.018em;
}

.ssj-grid .ssj-card-content h3 a,
.ssj-grid .ssj-card-content h3 a:hover,
.ssj-grid .ssj-card-content h3 a:focus {
    color: var(--card-text);
}

.ssj-grid .ssj-card-content p {
    color: var(--card-muted);
    font-size: 13.5px;
    line-height: 1.72;
}

.ssj-grid .ssj-card-read {
    position: relative;
    margin-top: 10px;
    padding-top: 12px;
    color: var(--card-text) !important;
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.ssj-grid .ssj-card-read::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 27px;
    height: 1px;
    background: var(--card-accent);
}


/* ---------------------------------------------------------
   FEATURE CARD
   First latest article: wide editorial spread
   --------------------------------------------------------- */

@media (min-width: 992px) {

    .ssj-grid .ssj-card:nth-child(1) {
        grid-column: span 2;
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
        min-height: 420px;
    }

    .ssj-grid .ssj-card:nth-child(1) .ssj-card-media {
        height: auto;
        min-height: 420px;
        margin: 0;
        aspect-ratio: auto;
    }

    .ssj-grid .ssj-card:nth-child(1) .ssj-card-content {
        justify-content: center;
        padding: 42px 38px;
    }

    .ssj-grid .ssj-card:nth-child(1) .ssj-card-content h3 {
        font-size: 31px;
        line-height: 1.12;
    }

    .ssj-grid .ssj-card:nth-child(1) .ssj-card-content p {
        font-size: 14px;
        line-height: 1.75;
    }

}


/* ---------------------------------------------------------
   DARK EDITORIAL CARD
   Classic black magazine insert
   --------------------------------------------------------- */

.ssj-grid .ssj-card:nth-child(4) {
    --card-bg: #1d1c1a;
    --card-accent: #c3a16b;
    --card-text: #f7f3eb;
    --card-muted: #bbb5ac;

    background: var(--card-bg);
}

.ssj-grid .ssj-card:nth-child(4) .ssj-card-content h3 a,
.ssj-grid .ssj-card:nth-child(4) .ssj-card-read {
    color: #f7f3eb !important;
}

.ssj-grid .ssj-card:nth-child(4) .ssj-card-media {
    margin: 0;
}

.ssj-grid .ssj-card:nth-child(4) .ssj-card-content {
    padding-top: 29px;
}


/* ---------------------------------------------------------
   Another wide card further down
   Gives the page editorial rhythm instead of endless tiles.
   --------------------------------------------------------- */

@media (min-width: 992px) {

    .ssj-grid .ssj-card:nth-child(7) {
        grid-column: span 2;
        display: grid;
        grid-template-columns: minmax(250px, .78fr) minmax(0, 1.22fr);
    }

    .ssj-grid .ssj-card:nth-child(7) .ssj-card-media {
        grid-column: 2;
        grid-row: 1;
        height: 100%;
        min-height: 390px;
        margin: 0;
        aspect-ratio: auto;
    }

    .ssj-grid .ssj-card:nth-child(7) .ssj-card-content {
        grid-column: 1;
        grid-row: 1;
        justify-content: center;
        padding: 38px;
    }

    .ssj-grid .ssj-card:nth-child(7) .ssj-card-content h3 {
        font-size: 29px;
        line-height: 1.14;
    }

}


/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .ssj-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .ssj-grid .ssj-card:nth-child(1),
    .ssj-grid .ssj-card:nth-child(7) {
        grid-column: auto;
        display: flex;
    }

    .ssj-section-head h2 {
        font-size: 32px;
    }

}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .ssj-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ssj-grid .ssj-card {
        box-shadow:
            0 1px 0 rgba(0,0,0,.025),
            0 12px 28px rgba(34,26,19,.055);
    }

    .ssj-grid .ssj-card:hover {
        transform: none;
    }

    .ssj-grid .ssj-card-media {
        margin: 10px 10px 0;
        aspect-ratio: 16 / 10;
    }

    .ssj-grid .ssj-card:nth-child(4) .ssj-card-media {
        margin: 0;
    }

    .ssj-grid .ssj-card-content {
        padding: 23px 22px 26px;
    }

    .ssj-grid .ssj-card-content h3 {
        font-size: 23px;
    }

    .ssj-secondary-content h3 {
        font-size: 20px;
    }

    .ssj-section-head h2 {
        font-size: 29px;
    }

}


/* =========================================================
   SHOPSTYLE_JOURNAL_ARCHIVE_V3
   Fashion magazine chronology
   ========================================================= */

.ssj-archive {
    margin-top: 72px;
    padding: 54px 0 28px;
    border-top: 1px solid #ded8cf;
}


/* Header */

.ssj-archive-head {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-end;
    margin-bottom: 40px;
}

.ssj-archive-head .ssj-kicker {
    margin-bottom: 8px;
    color: #9a7a49;
}

.ssj-archive-head h2 {
    margin: 0 0 10px;
    color: #1c1b1a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 39px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -.035em;
}

.ssj-archive-head p {
    max-width: 530px;
    margin: 0;
    color: #77716a;
    font-size: 13px;
    line-height: 1.65;
}


/* All posts */

.ssj-archive-all {
    flex: 0 0 auto;
    position: relative;
    padding: 10px 0 8px;
    color: #57514a !important;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none !important;
}

.ssj-archive-all::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #aaa095;
}

.ssj-archive-all:hover,
.ssj-archive-all.is-active {
    color: #9a7a49 !important;
}


/* Timeline */

.ssj-archive-timeline {
    border-top: 1px solid #e5dfd7;
}

.ssj-archive-year {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 118px;
    border-bottom: 1px solid #e5dfd7;
}


/* Year */

.ssj-archive-year-label {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 28px 28px 25px 0;
}

.ssj-archive-year-label::after {
    content: "";
    position: absolute;
    right: 0;
    top: 24px;
    bottom: 24px;
    width: 1px;
    background: #e1dbd3;
}

.ssj-archive-year-label a {
    color: #282522 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 39px;
    line-height: .95;
    font-weight: 400;
    letter-spacing: -.045em;
    text-decoration: none !important;
    transition: color .2s ease;
}

.ssj-archive-year-label a:hover,
.ssj-archive-year.is-active
.ssj-archive-year-label a {
    color: #9a7a49 !important;
}


/* Months */

.ssj-archive-months {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(120px, 1fr));
    gap: 0;
    align-content: stretch;
    padding-left: 18px;
}

.ssj-archive-month {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    min-height: 58px;
    padding: 14px 15px;
    border-bottom: 1px solid rgba(225,219,211,.7);
    color: #4f4a44 !important;
    text-decoration: none !important;
    transition:
        background .22s ease,
        color .22s ease;
}

.ssj-archive-month:nth-last-child(-n+4) {
    border-bottom: 0;
}

.ssj-archive-month:hover {
    background: #f5f0e8;
    color: #1d1b19 !important;
}

.ssj-archive-month.is-active {
    background: #efe4d3;
    color: #1d1b19 !important;
}

.ssj-archive-month.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    bottom: 13px;
    width: 2px;
    background: #9a7a49;
}

.ssj-archive-month-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.2;
}

.ssj-archive-count {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 27px;
    height: 27px;
    padding: 0 7px;
    border: 1px solid #d5cec4;
    border-radius: 50%;
    color: #8b8175;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
}


/* Tablet */

@media (max-width: 991px) {

    .ssj-archive-months {
        grid-template-columns:
            repeat(3, minmax(120px, 1fr));
    }

    .ssj-archive-month:nth-last-child(-n+4) {
        border-bottom:
            1px solid rgba(225,219,211,.7);
    }

    .ssj-archive-month:nth-last-child(-n+3) {
        border-bottom: 0;
    }

}


/* Mobile */

@media (max-width: 767px) {

    .ssj-archive {
        margin-top: 52px;
        padding-top: 38px;
    }

    .ssj-archive-head {
        display: block;
        margin-bottom: 30px;
    }

    .ssj-archive-head h2 {
        font-size: 34px;
    }

    .ssj-archive-all {
        display: inline-block;
        margin-top: 19px;
    }

    .ssj-archive-year {
        display: block;
        min-height: 0;
    }

    .ssj-archive-year-label {
        padding: 26px 0 17px;
    }

    .ssj-archive-year-label::after {
        display: none;
    }

    .ssj-archive-year-label a {
        font-size: 35px;
    }

    .ssj-archive-months {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        padding: 0 0 20px;
    }

    .ssj-archive-month,
    .ssj-archive-month:nth-last-child(-n+3),
    .ssj-archive-month:nth-last-child(-n+4) {
        border-bottom:
            1px solid rgba(225,219,211,.7);
    }

    .ssj-archive-month:nth-last-child(-n+2) {
        border-bottom: 0;
    }

}


@media (max-width: 420px) {

    .ssj-archive-months {
        grid-template-columns: 1fr;
    }

    .ssj-archive-month,
    .ssj-archive-month:nth-last-child(-n+2) {
        border-bottom:
            1px solid rgba(225,219,211,.7);
    }

    .ssj-archive-month:last-child {
        border-bottom: 0;
    }

}


/* =========================================================
   SHOPSTYLE_JOURNAL_MOBILE_V4
   Navigation stacking + real mobile editorial layout
   ========================================================= */


/* =========================================================
   1. NAVIGATION MUST ALWAYS STAY ABOVE JOURNAL
   Desktop + tablet + mobile
   ========================================================= */

/*
 * Journal content is deliberately kept in a low stacking layer.
 */

.ssj {
    position: relative;
    z-index: 1;
}

.ssj-header,
.ssj-featured,
.ssj-latest,
.ssj-archive,
.ssj-hero,
.ssj-secondary,
.ssj-grid {
    position: relative;
    z-index: 1;
}


/*
 * Main ShopStyle navigation must win every stacking battle.
 */

.nav-container,
.nav-container.fixed {
    z-index: 10000 !important;
}

.main-menu {
    z-index: 10010 !important;
}

.main-menu > ul,
.main-menu > ul > li {
    z-index: 10020 !important;
}

.main-menu > ul > li > ul,
.main-menu ul li ul,
.main-menu .dropdown-menu,
.main-menu .mega-menu,
.main-menu .megamenu {
    z-index: 10050 !important;
}


/*
 * Some mobile/menu versions use these containers.
 */

.menu_toggle,
.menu-toggle,
.mobile-menu,
.mobile_menu,
.navbar,
.navbar-collapse {
    z-index: 10050 !important;
}


/*
 * Header itself stays above page content.
 * We do NOT override its positioning mode.
 */

#header,
.header,
.header-container,
header {
    z-index: 9990;
}


/*
 * Keep internal Journal layers local instead of competing with nav.
 */

.ssj-hero-media {
    z-index: 1;
}

.ssj-hero-content {
    z-index: 2;
}

.ssj-grid .ssj-card::before,
.ssj-secondary-card::before {
    z-index: 2;
}


/* =========================================================
   2. MOBILE — COMPLETELY DIFFERENT EDITORIAL COMPOSITION
   ========================================================= */

@media (max-width: 767px) {

    /*
     * Give the whole journal more breathing room.
     */

    .ssj {
        overflow: visible;
    }


    /* ---------------------------------------------
       Journal heading
       --------------------------------------------- */

    .ssj-header {
        margin-bottom: 20px;
        padding-top: 14px;
        padding-bottom: 25px;
    }

    .ssj-header-grid {
        display: block;
    }

    .ssj-header-title h2 {
        max-width: 330px;
        margin-bottom: 17px;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 35px;
        line-height: 1.04;
        font-weight: 400;
        letter-spacing: -.035em;
    }

    .ssj-header-intro {
        max-width: none;
        font-size: 14px;
        line-height: 1.65;
    }


    /* ---------------------------------------------
       Featured zone becomes normal vertical flow.
       No absolute text over giant image.
       --------------------------------------------- */

    .ssj-featured {
        display: block;
        margin-bottom: 45px;
    }

    .ssj-hero {
        display: block;
        min-height: 0;
        margin-bottom: 20px;
        overflow: hidden;
        background: #f5f0e8;
        box-shadow:
            0 1px 0 rgba(0,0,0,.03),
            0 14px 32px rgba(34,26,19,.06);
    }


    /*
     * Image becomes its own block.
     */

    .ssj-hero-media {
        position: relative;
        inset: auto;
        display: block;
        width: 100%;
        aspect-ratio: 4 / 3;
        overflow: hidden;
        background: #e6e0d8;
    }

    .ssj-hero-media::after {
        display: none;
    }

    .ssj-hero-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .ssj-hero:hover .ssj-hero-media img {
        transform: none;
    }


    /*
     * Text below the image instead of over it.
     */

    .ssj-hero-content {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        max-width: none;
        padding: 25px 22px 27px;
        color: #1c1b1a;
    }

    .ssj-meta {
        margin-bottom: 13px;
        color: #807a72;
    }

    .ssj-label {
        min-height: 23px;
        padding: 0 9px;
        font-size: 9px;
    }

    .ssj-hero-title {
        margin-bottom: 13px;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 29px;
        line-height: 1.1;
        font-weight: 400;
        letter-spacing: -.025em;
    }

    .ssj-hero-title a,
    .ssj-hero-title a:hover,
    .ssj-hero-title a:focus {
        color: #1c1b1a;
    }

    .ssj-hero-excerpt {
        display: -webkit-box;
        max-width: none;
        margin-bottom: 18px;
        overflow: hidden;
        color: #69645e;
        font-size: 13.5px;
        line-height: 1.65;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .ssj-read {
        color: #1c1b1a !important;
        border-bottom-color: #9a7a49;
        font-size: 11px;
        letter-spacing: .06em;
        text-transform: uppercase;
    }


    /* ---------------------------------------------
       THE TWO SMALL STORIES

       Always full width.
       Image above, copy below.
       --------------------------------------------- */

    .ssj-secondary {
        display: block;
    }

    .ssj-secondary-card,
    .ssj-secondary-card:nth-child(2) {
        display: block;
        width: 100%;
        min-height: 0;
        margin: 0 0 20px;
    }

    .ssj-secondary-card:last-child {
        margin-bottom: 0;
    }

    .ssj-secondary-media {
        display: block;
        width: 100%;
        min-height: 0;
        height: auto;
        aspect-ratio: 16 / 10;
        overflow: hidden;
    }

    .ssj-secondary-media img {
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: cover;
    }

    .ssj-secondary-content {
        padding: 22px 20px 24px;
    }

    .ssj-secondary-content::before {
        margin-bottom: 9px;
    }

    .ssj-secondary-content h3 {
        margin-bottom: 10px;
        font-size: 23px;
        line-height: 1.18;
    }

    .ssj-secondary-content p {
        display: -webkit-box;
        margin-top: 11px;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.6;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }


    /* ---------------------------------------------
       Latest magazine cards
       --------------------------------------------- */

    .ssj-latest {
        padding-top: 0;
    }

    .ssj-section-head {
        display: block;
        margin-bottom: 23px;
    }

    .ssj-section-line {
        width: 54px;
        height: 1px;
        margin-top: 17px;
        margin-bottom: 0;
        background: #9a7a49;
    }

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

    .ssj-grid {
        display: block;
    }

    .ssj-grid .ssj-card,
    .ssj-grid .ssj-card:nth-child(1),
    .ssj-grid .ssj-card:nth-child(7) {
        display: block;
        width: 100%;
        min-height: 0;
        margin-bottom: 23px;
    }

    .ssj-grid .ssj-card:last-child {
        margin-bottom: 0;
    }

    .ssj-grid .ssj-card-media,
    .ssj-grid .ssj-card:nth-child(1) .ssj-card-media,
    .ssj-grid .ssj-card:nth-child(7) .ssj-card-media {
        display: block;
        width: auto;
        height: auto;
        min-height: 0;
        margin: 10px 10px 0;
        aspect-ratio: 16 / 10;
    }

    .ssj-grid .ssj-card:nth-child(4) .ssj-card-media {
        margin: 0;
    }

    .ssj-grid .ssj-card-media img,
    .ssj-grid .ssj-card:nth-child(1) .ssj-card-media img,
    .ssj-grid .ssj-card:nth-child(7) .ssj-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .ssj-grid .ssj-card-content,
    .ssj-grid .ssj-card:nth-child(1) .ssj-card-content,
    .ssj-grid .ssj-card:nth-child(7) .ssj-card-content {
        display: flex;
        padding: 23px 21px 26px;
    }

    .ssj-grid .ssj-card-content h3,
    .ssj-grid .ssj-card:nth-child(1) .ssj-card-content h3,
    .ssj-grid .ssj-card:nth-child(7) .ssj-card-content h3 {
        font-size: 24px;
        line-height: 1.17;
    }

    .ssj-grid .ssj-card-content p {
        font-size: 13px;
        line-height: 1.65;
    }


    /* ---------------------------------------------
       Pagination easier to tap
       --------------------------------------------- */

    .ssj-pagination {
        margin-top: 40px;
        padding-top: 22px;
    }

    .ssj-pagination .pagination {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }

    .ssj-pagination .pagination > li {
        display: block;
    }

    .ssj-pagination .pagination > li > a,
    .ssj-pagination .pagination > li > span {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 42px;
        min-height: 42px;
        margin: 0;
        padding: 8px 11px;
    }


    /* ---------------------------------------------
       Archive mobile polish
       --------------------------------------------- */

    .ssj-archive {
        margin-top: 48px;
    }

    .ssj-archive-month {
        min-height: 54px;
        padding-left: 12px;
        padding-right: 10px;
    }

    .ssj-archive-month-name {
        font-size: 16px;
    }

}


/* =========================================================
   3. EXTRA SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .ssj-header-title h2 {
        font-size: 31px;
    }

    .ssj-hero {
        min-height: 0;
    }

    .ssj-hero-media {
        aspect-ratio: 1 / 1;
    }

    .ssj-hero-content {
        padding: 22px 18px 24px;
    }

    .ssj-hero-title {
        font-size: 27px;
    }

    /*
     * Previous V1 rule hid this completely.
     * V4 deliberately restores a short editorial teaser.
     */

    .ssj-hero-excerpt {
        display: -webkit-box;
        font-size: 13px;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .ssj-secondary-card {
        display: block;
    }

    .ssj-secondary-media {
        aspect-ratio: 16 / 10;
    }

    .ssj-secondary-content {
        padding: 20px 18px 22px;
    }

    .ssj-secondary-content h3 {
        font-size: 21px;
    }

    .ssj-grid .ssj-card-content,
    .ssj-grid .ssj-card:nth-child(1) .ssj-card-content,
    .ssj-grid .ssj-card:nth-child(7) .ssj-card-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .ssj-grid .ssj-card-content h3,
    .ssj-grid .ssj-card:nth-child(1) .ssj-card-content h3,
    .ssj-grid .ssj-card:nth-child(7) .ssj-card-content h3 {
        font-size: 22px;
    }

}
