/* ============================================================
   FII-CONSTIENT.RO
   HOME / INDEX
============================================================ */

.home-wrap {
    --ink: #211b14;
    --ink-soft: #625747;
    --line: rgba(33, 27, 20, .52);
    --line-soft: rgba(33, 27, 20, .20);
    --paper: rgba(255, 255, 255, .07);
    --paper-light: rgba(255, 255, 255, .16);

    width: 100%;
    padding-bottom: 22px;
}


/* ============================================================
   ICON
============================================================ */

.home-icon {
    width: 15px;
    height: 15px;

    display: inline-block;
    flex: 0 0 auto;

    stroke: currentColor;
    fill: none;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


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

.home-hero {
    margin-top: 24px;
    padding-bottom: 30px;

    border-bottom: 5px double var(--ink);
}


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

.home-kicker-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 16px;
}


.home-kicker {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 6px 9px;

    border: 1px solid var(--ink);

    background: var(--paper);

    font-size: 8px;
    line-height: 1;

    font-weight: 900;

    letter-spacing: 1.2px;
    text-transform: uppercase;
}


.home-kicker-date {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: var(--ink-soft);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: .8px;
    text-transform: uppercase;
}


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

.home-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(380px, .92fr);

    gap: 35px;

    align-items: stretch;
}


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

.home-hero-copy {
    min-width: 0;

    padding:
        18px
        0
        8px;
}


.home-category {
    margin-bottom: 10px;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.7px;
    text-transform: uppercase;
}


.home-category a {
    color: var(--ink);
    text-decoration: none;
}


.home-category a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}


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

.home-hero h1 {
    max-width: 900px;

    margin:
        0
        0
        16px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(45px, 5.6vw, 72px);

    line-height: .96;
    letter-spacing: -2px;

    font-weight: 900;
}


.home-hero h1 a {
    color: var(--ink);
    text-decoration: none;
}


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

.home-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 8px;

    margin-bottom: 19px;

    color: var(--ink-soft);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: .7px;
    text-transform: uppercase;
}


.home-meta-item {
    display: inline-flex;
    align-items: center;

    gap: 5px;
}


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

.home-hero-excerpt {
    max-width: 760px;

    color: var(--ink);

    font-size: 14px;
    line-height: 1.72;
}


.home-hero-excerpt::first-letter {
    float: left;

    margin:
        7px
        8px
        0
        0;

    font-size: 55px;
    line-height: .68;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 900;
}


/* ============================================================
   READ
============================================================ */

.home-read {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-top: 17px;

    padding:
        7px
        0
        5px;

    border-bottom: 1px solid var(--ink);

    color: var(--ink);

    text-decoration: none;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1px;
    text-transform: uppercase;

    transition:
        gap .2s ease,
        opacity .2s ease;
}


.home-read:hover {
    gap: 11px;
    opacity: .70;
}


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

.home-hero-image-link {
    position: relative;

    display: block;
    overflow: hidden;

    min-height: 410px;

    border:
        1px
        solid
        var(--ink);

    text-decoration: none;
}


.home-hero-image {
    position: absolute;
    inset: 0;

    background-position: center;
    background-size: cover;

    filter:
        grayscale(80%)
        sepia(14%)
        contrast(96%);

    transition:
        transform .5s ease,
        filter .5s ease;
}


.home-hero-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 55%,
            rgba(33, 27, 20, .18)
        );
}


.home-hero-image-link:hover
.home-hero-image {
    transform: scale(1.025);

    filter:
        grayscale(45%)
        sepia(9%)
        contrast(99%);
}


/* ============================================================
   GENERIC SECTION
============================================================ */

.home-edition-section,
.home-categories-section {
    margin-top: 42px;
}


.home-section-head {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    padding:
        11px
        0
        12px;

    border-top:
        5px
        double
        var(--ink);

    border-bottom:
        1px
        solid
        var(--ink);
}


.home-section-title {
    display: flex;
    align-items: center;

    gap: 11px;
}


.home-section-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px
        solid
        var(--ink);

    background: var(--paper);
}


.home-section-icon
.home-icon {
    width: 17px;
    height: 17px;
}


.home-section-overline {
    display: block;

    margin-bottom: 4px;

    color: var(--ink-soft);

    font-size: 7px;
    font-weight: 900;

    letter-spacing: 1.4px;
    text-transform: uppercase;
}


.home-section-title h2 {
    margin: 0;

    font-size: 27px;
    line-height: .95;

    text-transform: uppercase;
}


.home-section-side-label {
    color: var(--ink-soft);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1px;
    text-transform: uppercase;
}


/* ============================================================
   EDITION COUNTER
============================================================ */

.home-edition-count {
    display: flex;
    align-items: baseline;

    gap: 7px;

    font-size: 28px;
    line-height: 1;

    font-weight: 900;
}


.home-edition-count span {
    color: var(--ink-soft);

    font-size: 7px;

    letter-spacing: 1px;
    text-transform: uppercase;
}


/* ============================================================
   EDIȚIA DE AZI GRID 3 x 2
============================================================ */

.home-edition-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 13px;

    margin-top: 16px;
}


/* ============================================================
   EDITION CARD
============================================================ */

.home-edition-card {
    position: relative;

    display: grid;

    grid-template-columns:
        105px
        minmax(0, 1fr);

    min-width: 0;
    min-height: 145px;

    border:
        1px
        solid
        var(--ink);

    background: var(--paper);

    transition:
        transform .2s ease,
        background .2s ease;
}


.home-edition-card:hover {
    transform: translateY(-2px);
    background: var(--paper-light);
}


/* ============================================================
   EDITION IMAGE
============================================================ */

.home-edition-image {
    position: relative;

    display: block;
    overflow: hidden;

    min-height: 100%;

    border-right:
        1px
        solid
        var(--ink);
}


.home-edition-image > span {
    position: absolute;
    inset: 0;

    background-position: center;
    background-size: cover;

    filter:
        grayscale(86%)
        sepia(13%)
        contrast(97%);

    transition:
        transform .35s ease,
        filter .35s ease;
}


.home-edition-card:hover
.home-edition-image > span {
    transform: scale(1.04);

    filter:
        grayscale(55%)
        sepia(8%)
        contrast(99%);
}


.home-edition-number {
    position: absolute;

    left: 7px;
    bottom: 7px;

    z-index: 3;

    min-width: 28px;

    padding: 4px 6px;

    border:
        1px
        solid
        var(--ink);

    background:
        rgba(238, 226, 191, .94);

    color: var(--ink);

    font-size: 8px;
    line-height: 1;

    text-align: center;
}


/* ============================================================
   EDITION NO IMAGE
============================================================ */

.home-edition-no-image {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 100%;

    border-right:
        1px
        solid
        var(--ink);
}


.home-edition-no-image strong {
    font-size: 35px;
    opacity: .13;
}


/* ============================================================
   EDITION CONTENT
============================================================ */

.home-edition-content {
    min-width: 0;

    padding:
        13px
        12px
        11px;
}


.home-edition-category {
    margin-bottom: 6px;

    font-size: 7px;
    font-weight: 900;

    letter-spacing: 1px;
    text-transform: uppercase;
}


.home-edition-category a {
    color: var(--ink);
    text-decoration: none;
}


.home-edition-card h3 {
    margin:
        0
        0
        7px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 16px;
    line-height: 1.08;
}


.home-edition-card h3 a {
    color: var(--ink);
    text-decoration: none;
}


.home-edition-card h3 a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}


.home-edition-card p {
    margin: 0;

    color: var(--ink-soft);

    font-size: 9px;
    line-height: 1.42;
}


.home-edition-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 8px;

    padding-top: 7px;

    border-top:
        1px
        dotted
        var(--line-soft);

    color: var(--ink-soft);

    font-size: 7px;

    letter-spacing: .5px;
    text-transform: uppercase;
}


.home-edition-empty {
    margin-top: 16px;

    padding: 30px;

    border:
        1px
        dotted
        var(--line);

    color: var(--ink-soft);

    text-align: center;

    font-size: 11px;
}


/* ============================================================
   CATEGORIES GRID
============================================================ */

.home-categories-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 15px;

    margin-top: 17px;
}


/* ============================================================
   CATEGORY CARD
============================================================ */

.home-category-card {
    position: relative;

    min-width: 0;
    overflow: hidden;

    border:
        1px
        solid
        var(--ink);

    background: var(--paper);

    transition:
        transform .22s ease,
        background .22s ease,
        box-shadow .22s ease;
}


.home-category-card:hover {
    transform: translateY(-3px);

    background:
        var(--paper-light);

    box-shadow:
        0
        8px
        20px
        rgba(33, 27, 20, .08);
}


/* ============================================================
   CATEGORY IMAGE
============================================================ */

.home-category-image-link {
    position: relative;

    display: block;
    overflow: hidden;

    height: 160px;

    border-bottom:
        1px
        solid
        var(--ink);

    text-decoration: none;
}


.home-category-image {
    position: absolute;
    inset: 0;

    background-position: center;
    background-size: cover;

    filter:
        grayscale(84%)
        sepia(14%)
        contrast(96%);

    transition:
        transform .4s ease,
        filter .4s ease;
}


.home-category-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 50%,
            rgba(33, 27, 20, .18)
        );
}


.home-category-card:hover
.home-category-image {
    transform: scale(1.035);

    filter:
        grayscale(48%)
        sepia(8%)
        contrast(99%);
}


/* ============================================================
   CATEGORY PLACEHOLDER
============================================================ */

.home-category-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    height: 160px;

    border-bottom:
        1px
        solid
        var(--ink);

    color: var(--ink);

    text-decoration: none;

    font-size: 73px;
    line-height: 1;

    font-weight: 900;

    opacity: .11;
}


/* ============================================================
   CATEGORY COUNT
============================================================ */

.home-category-count {
    position: absolute;

    top: 8px;
    right: 8px;

    z-index: 5;

    display: inline-flex;
    align-items: center;

    gap: 4px;

    padding:
        5px
        7px;

    border:
        1px
        solid
        var(--ink);

    background:
        rgba(238, 226, 191, .94);

    color: var(--ink);

    font-size: 8px;
    font-weight: 900;

    text-transform: uppercase;
}


.home-category-count span {
    font-size: 6px;
    letter-spacing: .5px;
}


/* ============================================================
   CATEGORY CONTENT
============================================================ */

.home-category-content {
    padding:
        14px
        14px
        13px;
}


.home-category-kicker {
    margin-bottom: 6px;

    color: var(--ink-soft);

    font-size: 7px;
    font-weight: 900;

    letter-spacing: 1px;
    text-transform: uppercase;
}


.home-category-card h3 {
    margin:
        0
        0
        7px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;
    line-height: 1;
}


.home-category-card h3 a {
    color: var(--ink);
    text-decoration: none;
}


.home-category-card h3 a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}


.home-category-description {
    min-height: 44px;

    color: var(--ink-soft);

    font-size: 10px;
    line-height: 1.5;
}


/* ============================================================
   CATEGORY OPEN
============================================================ */

.home-category-open {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 7px;

    margin-top: 11px;

    padding-top: 9px;

    border-top:
        1px
        dotted
        var(--line);

    color: var(--ink);

    text-decoration: none;

    font-size: 7px;
    font-weight: 900;

    letter-spacing: .8px;
    text-transform: uppercase;
}


.home-category-open .home-icon {
    transition: transform .2s ease;
}


.home-category-open:hover
.home-icon {
    transform: translateX(4px);
}


/* ============================================================
   CATEGORIES EMPTY
============================================================ */

.home-categories-empty {
    margin-top: 17px;

    padding: 30px;

    border:
        1px
        dotted
        var(--line);

    color: var(--ink-soft);

    text-align: center;

    font-size: 11px;
}


/* ============================================================
   FINAL GRID
============================================================ */

.home-final-grid {
    display: grid;

    grid-template-columns:
        .85fr
        1.15fr;

    gap: 20px;

    margin-top: 43px;
}


/* ============================================================
   NUMBERS
============================================================ */

.home-numbers {
    padding: 23px;

    border:
        1px
        solid
        var(--ink);

    background: var(--paper);
}


.home-numbers-label {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 15px;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}


.home-stats-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    border-top:
        4px
        double
        var(--ink);

    border-left:
        1px
        dotted
        var(--line-soft);
}


.home-stat-box {
    padding:
        17px
        13px;

    border-right:
        1px
        dotted
        var(--line);

    border-bottom:
        1px
        dotted
        var(--line);
}


.home-stat-box strong {
    display: block;

    margin-bottom: 5px;

    font-size: 29px;
    line-height: 1;

    font-weight: 900;
}


.home-stat-box span {
    display: block;

    color: var(--ink-soft);

    font-size: 7px;
    line-height: 1.4;

    letter-spacing: .7px;
    text-transform: uppercase;
}


/* ============================================================
   EDITORIAL NOTE
============================================================ */

.editorial-note {
    display: flex;
    flex-direction: column;

    justify-content: center;

    padding:
        30px
        34px;

    border-top:
        5px
        double
        var(--ink);

    border-bottom:
        5px
        double
        var(--ink);

    text-align: center;
}


.editorial-note-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin:
        0
        auto
        11px;

    border:
        1px
        solid
        var(--ink);
}


.editorial-note-label {
    margin-bottom: 10px;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 2.5px;
    text-transform: uppercase;
}


.editorial-note h2 {
    max-width: 650px;

    margin:
        0
        auto
        13px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(28px, 3.2vw, 39px);

    line-height: 1.03;
}


.editorial-note p {
    max-width: 650px;

    margin: 0 auto;

    color: var(--ink-soft);

    font-size: 12px;
    line-height: 1.65;
}


.editorial-note-quote {
    max-width: 630px;

    margin:
        19px
        auto
        0;

    padding-top: 15px;

    border-top:
        1px
        solid
        var(--ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;
    line-height: 1.4;

    font-style: italic;
}


/* ============================================================
   EMPTY
============================================================ */

.home-empty {
    padding:
        60px
        0;

    text-align: center;
}


/* ============================================================
   <= 1150
============================================================ */

@media (max-width: 1150px) {

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

}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 950px) {

    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    .home-hero-image-link {
        min-height: 400px;
    }


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


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


    .home-final-grid {
        grid-template-columns: 1fr;
    }

}


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

@media (max-width: 600px) {

    .home-hero {
        margin-top: 17px;
        padding-bottom: 24px;
    }


    .home-kicker-date {
        display: none;
    }


    .home-hero h1 {
        font-size: 39px;
        line-height: .98;

        letter-spacing: -1.3px;
    }


    .home-hero-grid {
        gap: 15px;
    }


    .home-hero-image-link {
        min-height: 255px;
    }


    .home-hero-excerpt {
        font-size: 13px;
        line-height: 1.62;
    }


    .home-hero-excerpt::first-letter {
        font-size: 46px;
    }


    .home-edition-section,
    .home-categories-section {
        margin-top: 33px;
    }


    .home-section-head {
        align-items: center;
    }


    .home-section-title h2 {
        font-size: 21px;
    }


    .home-section-icon {
        width: 34px;
        height: 34px;
    }


    .home-section-side-label {
        display: none;
    }


    .home-edition-count {
        font-size: 22px;
    }


    .home-edition-count span {
        display: none;
    }


    /* ========================================================
       EDIȚIA MOBIL - UN ARTICOL PE LINIE
    ======================================================== */

    .home-edition-grid {
        grid-template-columns: 1fr;
        gap: 9px;

        margin-top: 12px;
    }


    .home-edition-card {
        grid-template-columns:
            92px
            minmax(0, 1fr);

        min-height: 126px;
    }


    .home-edition-content {
        padding:
            11px
            10px;
    }


    .home-edition-card h3 {
        font-size: 16px;
    }


    .home-edition-card p {
        font-size: 9px;
    }


    /* ========================================================
       CATEGORII MOBIL
    ======================================================== */

    .home-categories-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }


    .home-category-image-link,
    .home-category-placeholder {
        height: 190px;
    }


    .home-category-card h3 {
        font-size: 22px;
    }


    .home-category-description {
        min-height: 0;
    }


    /* ========================================================
       STATISTICI
    ======================================================== */

    .home-numbers {
        padding: 18px 14px;
    }


    .home-stat-box strong {
        font-size: 25px;
    }


    /* ========================================================
       EDITORIAL
    ======================================================== */

    .editorial-note {
        padding:
            27px
            12px;
    }


    .editorial-note h2 {
        font-size: 28px;
    }


    .editorial-note p {
        font-size: 12px;
    }


    .editorial-note-quote {
        font-size: 16px;
    }

}


/* ============================================================
   MOBILE MIC
============================================================ */

@media (max-width: 390px) {

    .home-edition-card {
        grid-template-columns:
            78px
            minmax(0, 1fr);
    }


    .home-edition-card p {
        display: none;
    }


    .home-stats-grid {
        grid-template-columns: 1fr;
    }

}