.banner-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: #000;
    opacity: .6;
}
.about-img{
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.home-imalat-images{
    width: 100% !important;
    height: 200px;
    object-fit: cover;
}
.blog-img{
    width: 100% !important;
    height: 300px;
    object-fit: cover;   
}
@media(max-width:991px)
{
       .owl-item h1 {
        zoom: 0.433333 !important;
    }
    .about-img{
        width: 100%;
        height: 220px;
        object-fit: cover;
    }
    .mobile-title {
        font-size: 26px !important;
    }
    .blog-img{
        width: 100% !important;
        height: 230px;
        object-fit: cover;   
    }
}

/* ==========================================
   ERSAN - PREMIUM BREADCRUMB
========================================== */

.ers-breadcrumb {
    position: relative;
    width: 100%;
    min-height: 235px;
    background: linear-gradient(110deg, #191d22 0%, #22272d 55%, #2c3036 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    isolation: isolate;
}

/* End�striyel arka plan */

.ers-breadcrumb-pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 55px 55px;
}

.ers-breadcrumb::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: 5%;
    top: -280px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 50%;
    pointer-events: none;
}

.ers-breadcrumb::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: 12%;
    bottom: -210px;
    border: 1px solid rgba(230,35,40,.25);
    border-radius: 50%;
    pointer-events: none;
}

/* Ana yerle�im */

.ers-breadcrumb-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.ers-breadcrumb-content {
    position: relative;
    flex: 1;
    min-width: 0;
}

/* �st etiket */

.ers-breadcrumb-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 17px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255,255,255,.55);
}

.ers-breadcrumb-line {
    display: block;
    width: 26px;
    height: 2px;
    background: #ec252b;
}

.ers-breadcrumb-dot {
    width: 4px;
    height: 4px;
    background: #ed3035;
    border-radius: 50%;
}

/* Ba�l�k */

.ers-breadcrumb-title {
    margin: 0 0 22px;
    padding: 0;
    color: #fff;
    font-size: clamp(29px, 3.1vw, 43px);
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -1.3px;
    text-transform: none;
}

/* Sayfa yolu */

.ers-breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    font-size: 12px;
}

    .ers-breadcrumb-nav a {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        color: rgba(255,255,255,.55);
        text-decoration: none;
        transition: color .25s ease;
    }

        .ers-breadcrumb-nav a i {
            font-size: 11px;
        }

        .ers-breadcrumb-nav a:hover {
            color: #fff;
        }

.ers-breadcrumb-separator {
    color: rgba(255,255,255,.25);
    font-size: 9px;
}

.ers-breadcrumb-current {
    color: #fff;
    font-weight: 600;
}

/* Sa� dekoratif alan */

.ers-breadcrumb-decoration {
    position: relative;
    flex: 0 0 260px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.ers-breadcrumb-deco-box {
    position: relative;
    width: 245px;
    padding: 20px 0 20px 25px;
    border-left: 1px solid rgba(255,255,255,.12);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .ers-breadcrumb-deco-box::before {
        content: "";
        position: absolute;
        width: 3px;
        height: 37px;
        background: #ed252b;
        left: -2px;
        top: 20px;
    }

.ers-breadcrumb-deco-small {
    display: block;
    color: rgba(255,255,255,.4);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2.2px;
    margin-bottom: 6px;
}

.ers-breadcrumb-deco-name {
    display: block;
    color: rgba(255,255,255,.12);
    font-size: 65px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
}

    .ers-breadcrumb-deco-name span {
        color: #ed252b;
    }

.ers-breadcrumb-deco-bottom {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.45);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

/* Alt k�rm�z� detay */

.ers-breadcrumb-bottom-line {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,.06);
}

    .ers-breadcrumb-bottom-line::before {
        content: "";
        position: absolute;
        left: max(20px, calc((100% - 1140px) / 2));
        bottom: 0;
        width: 90px;
        height: 2px;
        background: #ed252b;
    }

/* Mobil */

@media (max-width: 991px) {
    .ers-breadcrumb {
        min-height: 205px;
    }

    .ers-breadcrumb-decoration {
        display: none;
    }

    .ers-breadcrumb-container {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (max-width: 575px) {
    .ers-breadcrumb {
        min-height: 180px;
    }

    .ers-breadcrumb-container {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .ers-breadcrumb-eyebrow {
        font-size: 9px;
        gap: 9px;
        letter-spacing: 1.3px;
        margin-bottom: 14px;
    }

    .ers-breadcrumb-line {
        width: 19px;
    }

    .ers-breadcrumb-title {
        font-size: 30px;
        letter-spacing: -.8px;
        margin-bottom: 18px;
    }

    .ers-breadcrumb-nav {
        font-size: 11px;
        gap: 10px;
    }
}




/* ==========================================
   ERSAN - NEWS DETAIL SYSTEM
========================================== */

.ers-news-article {
    --ers-news-red: #df252c;
    --ers-news-dark: #22272d;
    --ers-news-text: #626b77;
    --ers-news-border: #e8ebef;
    width: 100%;
    min-width: 0;
    color: var(--ers-news-text);
    font-size: 14px;
    line-height: 1.9;
}

    .ers-news-article *,
    .ers-news-article *::before,
    .ers-news-article *::after {
        box-sizing: border-box;
    }

/* HERO */

.ers-news-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid var(--ers-news-border);
    border-radius: 7px;
}

.ers-news-hero-content {
    padding: 34px;
    background: #f8f9fa;
}

.ers-news-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 17px;
    color: var(--ers-news-red);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1.6px;
}

    .ers-news-kicker::before {
        content: "";
        display: block;
        flex: 0 0 24px;
        height: 2px;
        background: var(--ers-news-red);
    }

.ers-news-article .ers-news-hero h2 {
    margin: 0 0 16px;
    color: var(--ers-news-dark);
    font-size: clamp(21px, 2.5vw, 29px);
    font-weight: 800;
    letter-spacing: -.7px;
    line-height: 1.35;
}

.ers-news-article .ers-news-hero p {
    margin: 0;
    color: #6d7581;
    font-size: 13px;
    line-height: 1.95;
}

.ers-news-hero-side {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px 23px;
    color: #fff;
    background: var(--ers-news-dark);
    overflow: hidden;
}

    .ers-news-hero-side::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
        background-size: 30px 30px;
        pointer-events: none;
    }

.ers-news-side-top {
    position: relative;
    color: #ed777c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.ers-news-side-number {
    position: relative;
    display: block;
    color: #fff;
    font-size: 75px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -5px;
}

.ers-news-side-bottom {
    position: relative;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.15);
    color: #aeb5bf;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 1px;
}

/* EDITORIAL CONTENT */

.ers-news-section {
    margin: 0 0 35px;
}

.ers-news-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.ers-news-heading-number {
    flex-shrink: 0;
    color: var(--ers-news-red);
    font-size: 12px;
    font-weight: 800;
}

.ers-news-heading-line {
    width: 25px;
    height: 1px;
    background: #d3d7dd;
}

.ers-news-heading-label {
    color: #8b929d;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1.5px;
}

.ers-news-article .ers-news-section h3,
.ers-news-article .ers-news-panel h3,
.ers-news-article .ers-news-dark-panel h3 {
    margin: 0 0 17px;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -.45px;
    line-height: 1.4;
}

.ers-news-article .ers-news-section h3,
.ers-news-article .ers-news-panel h3 {
    color: var(--ers-news-dark);
}

.ers-news-article .ers-news-section p {
    margin: 0 0 17px;
    color: var(--ers-news-text);
    line-height: 2;
}

    .ers-news-article .ers-news-section p:last-child {
        margin-bottom: 0;
    }

.ers-news-article strong {
    font-weight: 750;
    color: #303740;
}

/* LIGHT PANEL */

.ers-news-panel {
    margin-bottom: 35px;
    padding: 32px;
    border: 1px solid var(--ers-news-border);
    border-radius: 7px;
    background: #f7f8fa;
}

.ers-news-article .ers-news-panel > p {
    margin: 0 0 23px;
}

/* INFO CARDS */

.ers-news-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.ers-news-card {
    min-width: 0;
    padding: 23px;
    border: 1px solid #e9ebef;
    border-radius: 5px;
    background: #fff;
}

.ers-news-card--wide {
    grid-column: 1 / -1;
}

.ers-news-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

    .ers-news-card-top i {
        color: var(--ers-news-red);
        font-size: 21px;
    }

    .ers-news-card-top span {
        color: #b6bdc6;
        font-size: 11px;
        font-weight: 750;
    }

.ers-news-article .ers-news-card h4 {
    margin: 0 0 9px;
    color: #292f37;
    font-size: 15px;
    font-weight: 750;
}

.ers-news-article .ers-news-card p {
    margin: 0;
    color: #7b838e;
    font-size: 12px;
    line-height: 1.9;
}

/* TECHNICAL LIST */

.ers-news-feature-list {
    display: grid;
    gap: 11px;
    margin-top: 20px;
}

.ers-news-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 17px 19px;
    border: 1px solid var(--ers-news-border);
    border-radius: 5px;
    background: #fff;
}

    .ers-news-feature > i {
        flex-shrink: 0;
        margin-top: 5px;
        color: var(--ers-news-red);
        font-size: 14px;
    }

    .ers-news-feature strong {
        display: block;
        margin-bottom: 3px;
        color: #303740;
        font-size: 13px;
    }

    .ers-news-feature span {
        display: block;
        color: #858d98;
        font-size: 12px;
        line-height: 1.8;
    }

/* DARK EDITORIAL PANEL */

.ers-news-dark-panel {
    padding: 33px;
    margin-bottom: 35px;
    border-radius: 7px;
    background: var(--ers-news-dark);
    color: #bfc5ce;
}

.ers-news-article .ers-news-dark-panel h3 {
    color: #fff;
}

.ers-news-article .ers-news-dark-panel > p {
    margin: 0 0 22px;
    color: #b8bfc9;
    font-size: 13px;
    line-height: 2;
}

.ers-news-dark-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.ers-news-dark-item {
    min-width: 0;
    padding-top: 16px;
    border-top: 2px solid var(--ers-news-red);
}

    .ers-news-dark-item > span {
        display: block;
        margin-bottom: 8px;
        color: #ed777c;
        font-size: 10px;
        font-weight: 750;
        letter-spacing: 1px;
    }

    .ers-news-dark-item strong {
        display: block;
        margin-bottom: 7px;
        color: #fff;
        font-size: 13px;
        font-weight: 750;
    }

    .ers-news-dark-item p {
        margin: 0;
        color: #aeb6c1;
        font-size: 12px;
        line-height: 1.85;
    }

/* QUOTE */

.ers-news-quote {
    position: relative;
    margin: 0;
    padding: 23px 25px;
    border-left: 3px solid var(--ers-news-red);
    background: #f7f8fa;
    border-radius: 0 5px 5px 0;
}

    .ers-news-quote p {
        margin: 0;
        color: #414852;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.9;
    }

/* RESPONSIVE */

@media (max-width: 767px) {
    .ers-news-hero {
        grid-template-columns: 1fr;
    }

    .ers-news-hero-content {
        padding: 26px 22px;
    }

    .ers-news-hero-side {
        min-height: 115px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        padding: 20px 23px;
    }

    .ers-news-side-number {
        font-size: 55px;
    }

    .ers-news-side-bottom {
        border: none;
        padding: 0;
        text-align: right;
    }

    .ers-news-panel,
    .ers-news-dark-panel {
        padding: 24px 21px;
    }

    .ers-news-dark-grid {
        grid-template-columns: 1fr;
    }

    .ers-news-article .ers-news-section h3,
    .ers-news-article .ers-news-panel h3,
    .ers-news-article .ers-news-dark-panel h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .ers-news-card-grid {
        grid-template-columns: 1fr;
    }

    .ers-news-card--wide {
        grid-column: auto;
    }

    .ers-news-hero-content {
        padding: 22px 19px;
    }
}



/* ==========================================
   ERSAN - PREMIUM CONTACT PAGE
========================================== */

.ers-contact-page {
    --ers-red: #df252c;
    --ers-dark: #22272d;
    --ers-muted: #69717d;
    --ers-border: #e8ebef;
    width: 100%;
    min-width: 0;
}

    .ers-contact-page *,
    .ers-contact-page *::before,
    .ers-contact-page *::after {
        box-sizing: border-box;
    }

/* ==========================================
   INTRO
========================================== */

.ers-contact-intro {
    margin-bottom: 30px;
}

    .ers-contact-intro h3 {
        color: var(--ers-dark);
        font-size: 25px;
        font-weight: 800;
        line-height: 1.35;
        letter-spacing: -.6px;
    }

    .ers-contact-intro p {
        color: var(--ers-muted);
        font-size: 14px;
        line-height: 2;
    }

/* ==========================================
   CONTACT GRID
========================================== */

.ers-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

/* ==========================================
   CONTACT CARDS
========================================== */

.ers-contact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    height: 100%;
    padding: 26px;
    background: #f8f9fa;
    border: 1px solid #e9ebef;
    border-radius: 6px;
    transition: background .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

    .ers-contact-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 26px;
        width: 0;
        height: 2px;
        background: var(--ers-red);
        transition: width .3s ease;
    }

    .ers-contact-card:hover {
        background: #fff;
        border-color: #e9b9bc;
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(25, 30, 38, .045);
    }

        .ers-contact-card:hover::before {
            width: 45px;
        }

/* Full width address card */

.ers-contact-card-wide {
    grid-column: 1 / -1;
}

/* ==========================================
   ICON
========================================== */

.ers-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    margin-bottom: 19px;
    color: var(--ers-red);
    background: #fce9eb;
    border: 1px solid rgba(223, 37, 44, .08);
    border-radius: 5px;
    font-size: 17px;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

.ers-contact-card:hover .ers-contact-icon {
    background: var(--ers-red);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================
   TEXTS
========================================== */

.ers-contact-label {
    display: block;
    margin-bottom: 9px;
    color: #9098a3;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.6;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ers-contact-value {
    display: block;
    width: 100%;
    min-width: 0;
    color: var(--ers-dark);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

    .ers-contact-value a {
        display: block;
        width: fit-content;
        max-width: 100%;
        color: var(--ers-dark);
        text-decoration: none;
        transition: color .25s ease;
    }

        .ers-contact-value a:hover {
            color: var(--ers-red);
            text-decoration: none;
        }

.ers-contact-card > span:last-child:not(.ers-contact-value) {
    line-height: 1.8;
}

/* ==========================================
   CONTACT ADDRESS
========================================== */

.ers-contact-card-wide .ers-contact-value {
    line-height: 1.95;
}

.ers-contact-card-wide a {
    transition: opacity .25s ease;
}

    .ers-contact-card-wide a:hover {
        opacity: .8;
    }

/* ==========================================
   GOOGLE MAP
========================================== */

.ers-contact-map {
    width: 100%;
    margin-top: 0;
    overflow: hidden;
    background: #f7f8fa;
    border: 1px solid var(--ers-border);
    border-radius: 6px;
}

    .ers-contact-map iframe {
        display: block;
        width: 100%;
        height: 330px;
        border: 0;
        filter: grayscale(15%);
        transition: filter .3s ease;
    }

    .ers-contact-map:hover iframe {
        filter: grayscale(0);
    }

/* ==========================================
   MAP FOOTER
========================================== */

.ers-contact-map-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 19px 23px;
    background: #fff;
    border-top: 1px solid var(--ers-border);
}

    .ers-contact-map-footer > span {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #353c45;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.6;
    }

        .ers-contact-map-footer > span i {
            color: var(--ers-red);
            font-size: 15px;
        }

    .ers-contact-map-footer > a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: var(--ers-red);
        font-size: 11px;
        font-weight: 750;
        letter-spacing: .4px;
        text-decoration: none;
        white-space: nowrap;
        transition: color .25s ease;
    }

        .ers-contact-map-footer > a:hover {
            color: var(--ers-dark);
            text-decoration: none;
        }

        .ers-contact-map-footer > a i {
            font-size: 11px;
            transition: transform .25s ease;
        }

        .ers-contact-map-footer > a:hover i {
            transform: translate(2px, -2px);
        }

/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

    .ers-contact-card {
        padding: 22px;
    }

    .ers-contact-map iframe {
        height: 300px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    .ers-contact-intro {
        margin-bottom: 25px;
    }

        .ers-contact-intro h3 {
            font-size: 23px;
        }

        .ers-contact-intro p {
            font-size: 13px;
            line-height: 1.9;
        }

    .ers-contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ers-contact-card {
        height: auto;
        padding: 22px;
    }

    .ers-contact-card-wide {
        grid-column: auto;
    }

    .ers-contact-icon {
        width: 43px;
        height: 43px;
        font-size: 16px;
        margin-bottom: 15px;
    }

    .ers-contact-value {
        font-size: 13px;
    }

    .ers-contact-map iframe {
        height: 270px;
    }

    .ers-contact-map-footer {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 13px;
        padding: 17px 19px;
    }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .ers-contact-intro h3 {
        font-size: 21px;
    }

    .ers-contact-card {
        padding: 19px;
    }

    .ers-contact-card-wide .d-flex {
        gap: 12px !important;
    }

    .ers-contact-label {
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    .ers-contact-value {
        font-size: 12px;
    }

    .ers-contact-map iframe {
        height: 240px;
    }

    .ers-contact-map-footer > span {
        font-size: 11px;
    }

    .ers-contact-map-footer > a {
        font-size: 10px;
    }
}



/* ==========================================
   ERSAN - PREMIUM CATEGORY DESIGN
========================================== */

.ers-category-section {
    --ers-red: #df252c;
    --ers-dark: #22272d;
    --ers-text: #68717d;
    --ers-border: #e9ebef;
    width: 100%;
    padding: 70px 0 90px;
    background: #fff;
}

    .ers-category-section *,
    .ers-category-section *::before,
    .ers-category-section *::after {
        box-sizing: border-box;
    }

/* ==========================================
   MAIN LAYOUT
========================================== */

.ers-category-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
}

    .ers-category-layout.has-sidebar {
        grid-template-columns: 280px minmax(0, 1fr);
    }

.ers-category-main {
    min-width: 0;
}

.ers-category-description {
    min-width: 0;
    margin-bottom: 45px;
}

    .ers-category-description:last-child {
        margin-bottom: 0;
    }

    .ers-category-description > :last-child {
        margin-bottom: 0;
    }

/* ==========================================
   PREMIUM SIDEBAR
========================================== */

.ers-category-sidebar {
    min-width: 0;
}

.ers-sidebar-box {
    position: sticky;
    top: 100px;
    border: 1px solid var(--ers-border);
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 40px rgba(20, 25, 32, .025);
}

/* HEADER */

.ers-sidebar-header {
    position: relative;
    padding: 30px 25px;
    background: var(--ers-dark);
    overflow: hidden;
    isolation: isolate;
}

    .ers-sidebar-header::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
        background-size: 35px 35px;
    }

    .ers-sidebar-header::after {
        content: "";
        position: absolute;
        right: -60px;
        bottom: -90px;
        width: 180px;
        height: 180px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 50%;
        pointer-events: none;
    }

.ers-sidebar-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #b5bac2;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 1.7px;
}

    .ers-sidebar-eyebrow span {
        width: 20px;
        height: 2px;
        background: var(--ers-red);
    }

.ers-sidebar-header h3 {
    position: relative;
    margin: 0 0 12px;
    color: #fff;
    font-size: 22px;
    font-weight: 750;
    line-height: 1.35;
    letter-spacing: -.5px;
    overflow-wrap: break-word;
}

.ers-sidebar-header p {
    position: relative;
    margin: 0;
    color: #aeb5bf;
    font-size: 12px;
    line-height: 1.85;
}

/* MENU */

.ers-sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 13px;
    gap: 3px;
}

.ers-sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 15px 13px;
    border-radius: 4px;
    text-decoration: none !important;
    color: #515a65;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.5;
    transition: background .25s ease, color .25s ease;
}

    .ers-sidebar-link:hover {
        color: var(--ers-red);
        background: #f8f9fa;
    }

    .ers-sidebar-link.active {
        color: var(--ers-red);
        background: #fdf0f0;
    }

        .ers-sidebar-link.active::before {
            content: "";
            position: absolute;
            left: 0;
            top: 12px;
            bottom: 12px;
            width: 3px;
            border-radius: 3px;
            background: var(--ers-red);
        }

.ers-sidebar-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 1px solid #e8eaee;
    border-radius: 3px;
    color: #9ba2ac;
    background: #fff;
    font-size: 10px;
}

.ers-sidebar-link:hover .ers-sidebar-link-icon,
.ers-sidebar-link.active .ers-sidebar-link-icon {
    color: var(--ers-red);
    border-color: #f3cacc;
}

.ers-sidebar-link-title {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
}

.ers-sidebar-arrow {
    flex-shrink: 0;
    color: #c1c6cd;
    font-size: 10px;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .25s ease, transform .25s ease;
}

.ers-sidebar-link:hover .ers-sidebar-arrow,
.ers-sidebar-link.active .ers-sidebar-arrow {
    opacity: 1;
    color: var(--ers-red);
    transform: translateX(0);
}

/* SIDEBAR FOOTER */

.ers-sidebar-footer {
    padding: 20px 25px 24px;
    border-top: 1px solid var(--ers-border);
    background: #fafbfc;
}

.ers-sidebar-footer-line {
    width: 25px;
    height: 2px;
    margin-bottom: 13px;
    background: var(--ers-red);
}

.ers-sidebar-footer span {
    display: block;
    color: #343b45;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.ers-sidebar-footer small {
    display: block;
    margin-top: 5px;
    color: #9ca3ac;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 1.3px;
}

/* ==========================================
   CATEGORY GROUP
========================================== */

.ers-category-group {
    margin-bottom: 55px;
}

    .ers-category-group:last-child {
        margin-bottom: 0;
    }

/* HEADER */

.ers-category-group-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--ers-border);
}

.ers-category-heading-left {
    min-width: 0;
}

.ers-category-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
    color: var(--ers-red);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1.7px;
}

    .ers-category-eyebrow span {
        width: 24px;
        height: 2px;
        background: var(--ers-red);
    }

.ers-category-group-header h2 {
    margin: 0 0 10px;
    color: var(--ers-dark);
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.9px;
}

.ers-category-group-header p {
    margin: 0;
    color: #848c97;
    font-size: 13px;
    line-height: 1.8;
}

/* COUNT */

.ers-category-count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    color: #d1d5db;
    font-size: 43px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -2px;
}

    .ers-category-count small {
        margin-top: 7px;
        color: #a5acb5;
        font-size: 9px;
        font-weight: 750;
        letter-spacing: 1.5px;
    }

/* ==========================================
   CATEGORY / PRODUCT GRID
========================================== */

.ers-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
}

/* CARD */

.ers-category-card {
    position: relative;
    min-width: 0;
    margin: 0;
    background: #fff;
    border: 1px solid var(--ers-border);
    border-radius: 6px;
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

    .ers-category-card:hover {
        transform: translateY(-5px);
        border-color: #eabfc1;
        box-shadow: 0 16px 38px rgba(22, 27, 35, .07);
    }

.ers-category-card-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none !important;
}

/* IMAGE */

.ers-category-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f6f8;
}

    .ers-category-card-image::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient( 180deg, transparent 65%, rgba(0,0,0,.05) 100% );
    }

    .ers-category-card-image img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        border-radius: 0;
        object-fit: cover;
        object-position: center;
        transition: transform .5s ease;
    }

        .ers-category-card-image img.ers-img-contain {
            object-fit: contain;
            padding: 18px;
        }

.ers-category-card:hover .ers-category-card-image img {
    transform: scale(1.06);
}

.ers-category-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #c7cbd2;
    font-size: 45px;
}

/* IMAGE ACTION */

.ers-category-image-icon {
    position: absolute;
    z-index: 2;
    right: 13px;
    bottom: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    color: #fff;
    background: var(--ers-red);
    font-size: 12px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease;
}

.ers-category-card:hover .ers-category-image-icon,
.ers-category-card:focus-within .ers-category-image-icon {
    opacity: 1;
    transform: translateY(0);
}

/* CARD BODY */

.ers-category-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 21px 19px 18px;
}

.ers-category-card-label {
    display: block;
    margin-bottom: 11px;
    color: var(--ers-red);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 1.35px;
}

.ers-category-card-body h3 {
    margin: 0 0 20px;
    color: var(--ers-dark);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.45;
    letter-spacing: -.25px;
    overflow-wrap: break-word;
    transition: color .25s ease;
}

.ers-category-card:hover .ers-category-card-body h3 {
    color: var(--ers-red);
}

/* CARD FOOTER */

.ers-category-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eff0f2;
    color: #838b96;
    font-size: 11px;
    font-weight: 700;
    transition: color .25s ease;
}

    .ers-category-card-footer i {
        color: #c2c7ce;
        font-size: 12px;
        transition: color .25s ease, transform .25s ease;
    }

.ers-category-card:hover .ers-category-card-footer {
    color: var(--ers-red);
}

    .ers-category-card:hover .ers-category-card-footer i {
        color: var(--ers-red);
        transform: translateX(4px);
    }

/* ACCESSIBILITY */

.ers-sidebar-link:focus-visible,
.ers-category-card-link:focus-visible {
    outline: 2px solid var(--ers-red);
    outline-offset: -2px;
}

/* ==========================================
   RESPONSIVE - LARGE
========================================== */

@media (max-width: 1199px) {

    .ers-category-layout.has-sidebar {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 30px;
    }

    .ers-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 17px;
    }
}

/* ==========================================
   RESPONSIVE - TABLET
========================================== */

@media (max-width: 991px) {

    .ers-category-section {
        padding: 50px 0 70px;
    }

    .ers-category-layout.has-sidebar {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .ers-sidebar-box {
        position: static;
    }

    .ers-sidebar-header {
        padding: 25px;
    }

        .ers-sidebar-header h3 {
            font-size: 21px;
        }

    .ers-sidebar-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .ers-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ==========================================
   RESPONSIVE - MOBILE
========================================== */

@media (max-width: 767px) {

    .ers-category-section {
        padding: 35px 0 55px;
    }

    .ers-category-description {
        margin-bottom: 35px;
    }

    .ers-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

    .ers-category-group {
        margin-bottom: 40px;
    }

    .ers-category-group-header {
        align-items: flex-start;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

        .ers-category-group-header h2 {
            font-size: 25px;
        }

    .ers-category-count {
        font-size: 33px;
    }

    .ers-category-card-body {
        padding: 17px 15px;
    }

        .ers-category-card-body h3 {
            font-size: 14px;
        }

    .ers-category-card-label {
        font-size: 8px;
    }

    .ers-category-card-footer {
        font-size: 10px;
    }

    .ers-category-image-icon {
        width: 30px;
        height: 30px;
        right: 8px;
        bottom: 8px;
        opacity: 1;
        transform: none;
    }
}

/* ==========================================
   RESPONSIVE - SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .ers-sidebar-nav {
        grid-template-columns: 1fr;
    }

    .ers-sidebar-link {
        padding: 13px;
    }

    .ers-category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ers-category-card-image {
        aspect-ratio: 16 / 10;
    }

    .ers-category-card-body {
        padding: 21px;
    }

        .ers-category-card-body h3 {
            font-size: 17px;
        }

    .ers-category-card-footer {
        font-size: 11px;
    }

    .ers-category-group-header h2 {
        font-size: 23px;
    }

    .ers-category-group-header p {
        font-size: 12px;
    }

    .ers-category-count {
        font-size: 28px;
    }

        .ers-category-count small {
            font-size: 8px;
        }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    .ers-category-section *,
    .ers-category-section *::before,
    .ers-category-section *::after {
        transition: none !important;
    }
}




/* ==========================================
   ERSAN - PREMIUM PRODUCT DETAIL
========================================== */

.ers-product-section {
    padding-top: 65px;
    padding-bottom: 90px;
}

    .ers-product-section *,
    .ers-product-section *::before,
    .ers-product-section *::after {
        box-sizing: border-box;
    }

/* ==========================================
   PRODUCT CONTENT
========================================== */

.ers-product-main {
    min-width: 0;
}

.ers-product-description {
    width: 100%;
    min-width: 0;
    margin-bottom: 45px;
    color: #68717d;
    font-size: 14px;
    line-height: 1.95;
    overflow-wrap: break-word;
}

    .ers-product-description:last-child {
        margin-bottom: 0;
    }

    .ers-product-description > :last-child {
        margin-bottom: 0;
    }

    .ers-product-description img {
        max-width: 100%;
        height: auto;
    }

/* ==========================================
   FALLBACK CONTENT
========================================== */

.ers-product-text-intro {
    padding: 35px;
    background: #f8f9fa;
    border: 1px solid #e8ebef;
    border-radius: 7px;
}

.ers-product-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 15px;
    color: #df252c;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1.7px;
}

    .ers-product-kicker span {
        display: block;
        width: 25px;
        height: 2px;
        flex-shrink: 0;
        background: #df252c;
    }

.ers-product-text-intro h2 {
    margin: 0 0 17px;
    color: #22272d;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.7px;
}

.ers-product-text-intro p {
    margin: 0;
    color: #69717d;
    font-size: 14px;
    line-height: 2;
    white-space: pre-line;
}

/* ==========================================
   PHOTO GALLERY
========================================== */

.ers-product-gallery {
    width: 100%;
    min-width: 0;
    margin-top: 35px;
}

/* GALLERY HEADER */

.ers-product-gallery-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 27px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e8ebef;
}

.ers-product-gallery-heading-left {
    min-width: 0;
}

.ers-product-gallery-heading h2 {
    margin: 0 0 10px;
    color: #22272d;
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 800;
    letter-spacing: -.8px;
    line-height: 1.3;
}

.ers-product-gallery-heading p {
    margin: 0;
    color: #858d98;
    font-size: 13px;
    line-height: 1.8;
}

.ers-product-gallery-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: #fdf0f0;
    border: 1px solid #f5d9da;
    border-radius: 5px;
    color: #df252c;
    font-size: 23px;
}

/* ==========================================
   GALLERY GRID - 3 COLUMNS
========================================== */

.ers-product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* CARD */

.ers-product-gallery-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    background: #fff;
    border: 1px solid #e8ebef;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

    .ers-product-gallery-card:hover {
        transform: translateY(-5px);
        border-color: #e8b7b9;
        box-shadow: 0 15px 35px rgba(20, 25, 35, .065);
    }

/* IMAGE */

.ers-product-gallery-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f6f7f9;
}

    .ers-product-gallery-image img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        border-radius: 0;
        object-fit: cover;
        object-position: center;
        transition: transform .5s ease;
    }

        /* PNG IMAGES */

        .ers-product-gallery-image img.ers-product-img-contain {
            object-fit: contain;
            padding: 16px;
        }

.ers-product-gallery-card:hover .ers-product-gallery-image img {
    transform: scale(1.065);
}

/* IMAGE OVERLAY */

.ers-product-gallery-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: rgba(25, 29, 35, .14);
    opacity: 0;
    transition: opacity .3s ease;
}

.ers-product-gallery-card:hover .ers-product-gallery-image::after {
    opacity: 1;
}

/* ZOOM ICON */

.ers-product-gallery-zoom {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    background: #df252c;
    font-size: 16px;
    opacity: 0;
    transform: translate(-50%, -40%);
    transition: opacity .3s ease, transform .3s ease;
}

.ers-product-gallery-card:hover .ers-product-gallery-zoom {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* ==========================================
   CARD FOOTER
========================================== */

.ers-product-gallery-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 1;
    padding: 18px;
    background: #fff;
}

.ers-product-gallery-card-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .ers-product-gallery-card-info span {
        display: block;
        margin-bottom: 6px;
        color: #df252c;
        font-size: 9px;
        font-weight: 750;
        letter-spacing: 1.35px;
    }

    .ers-product-gallery-card-info strong {
        display: block;
        color: #303740;
        font-size: 13px;
        font-weight: 750;
        line-height: 1.5;
        overflow-wrap: break-word;
        transition: color .25s ease;
    }

.ers-product-gallery-card:hover .ers-product-gallery-card-info strong {
    color: #df252c;
}

.ers-product-gallery-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 31px;
    height: 31px;
    border: 1px solid #e9ebef;
    border-radius: 4px;
    color: #a4abb5;
    font-size: 11px;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.ers-product-gallery-card:hover .ers-product-gallery-card-arrow {
    background: #df252c;
    border-color: #df252c;
    color: #fff;
}

/* ACCESSIBILITY */

.ers-product-gallery-card:focus-visible {
    outline: 2px solid #df252c;
    outline-offset: 3px;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1199px) {

    .ers-product-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    .ers-product-section {
        padding-top: 35px;
        padding-bottom: 55px;
    }

    .ers-product-description {
        margin-bottom: 30px;
    }

    .ers-product-text-intro {
        padding: 25px 22px;
    }

    .ers-product-gallery {
        margin-top: 30px;
    }

    .ers-product-gallery-heading {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

        .ers-product-gallery-heading h2 {
            font-size: 25px;
        }

    .ers-product-gallery-heading-icon {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .ers-product-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .ers-product-gallery-card-footer {
        padding: 14px;
    }

    .ers-product-gallery-zoom {
        display: none;
    }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .ers-product-gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ers-product-gallery-image {
        aspect-ratio: 16 / 10;
    }

    .ers-product-gallery-card-footer {
        padding: 18px;
    }

    .ers-product-gallery-card-info strong {
        font-size: 14px;
    }

    .ers-product-gallery-heading-icon {
        display: none;
    }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    .ers-product-gallery-card,
    .ers-product-gallery-card *,
    .ers-product-gallery-card *::before,
    .ers-product-gallery-card *::after {
        transition: none !important;
    }
}



/* ==========================================
   ERSAN - PREMIUM PHOTO GALLERY
========================================== */

.ers-gallery {
    --ers-red: #df252c;
    --ers-dark: #22272d;
    width: 100%;
    margin: 0px;
}

    .ers-gallery *,
    .ers-gallery *::before,
    .ers-gallery *::after {
        box-sizing: border-box;
    }

/* HEADER */

.ers-gallery-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    padding-bottom: 26px;
    margin-bottom: 28px;
    border-bottom: 1px solid #e8ebef;
}

.ers-gallery-heading {
    min-width: 0;
}

.ers-gallery-eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 13px;
    color: var(--ers-red);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1.6px;
}

    .ers-gallery-eyebrow span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--ers-red);
    }

.ers-gallery-heading h2 {
    margin: 0 0 12px;
    color: var(--ers-dark);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -.8px;
    line-height: 1.3;
}

.ers-gallery-heading p {
    max-width: 550px;
    margin: 0;
    color: #818a96;
    font-size: 13px;
    line-height: 1.85;
}

/* COUNTER */

.ers-gallery-counter {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

    .ers-gallery-counter strong {
        color: #d2d6dc;
        font-size: 45px;
        font-weight: 850;
        line-height: 1;
        letter-spacing: -2px;
    }

    .ers-gallery-counter span {
        margin-top: 8px;
        color: #a2a9b2;
        font-size: 9px;
        font-weight: 750;
        letter-spacing: 1.5px;
    }

/* ==========================================
   3 COLUMN GRID
========================================== */

.ers-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* CARD */

.ers-gallery-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    background: #fff;
    border: 1px solid #e8ebef;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

    .ers-gallery-card:hover {
        transform: translateY(-5px);
        border-color: #e9b9bc;
        box-shadow: 0 15px 40px rgba(22,27,35,.08);
    }

/* IMAGE */

.ers-gallery-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f6f8;
}

    .ers-gallery-image img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: center;
        border-radius: 0;
        transition: transform .5s ease;
    }

        /* PNG -> CONTAIN */

        .ers-gallery-image img.ers-gallery-contain {
            object-fit: contain;
            padding: 15px;
        }

.ers-gallery-card:hover .ers-gallery-image img {
    transform: scale(1.07);
}

/* OVERLAY */

.ers-gallery-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20,25,32,.37);
    opacity: 0;
    transition: opacity .3s ease;
}

.ers-gallery-card:hover .ers-gallery-overlay {
    opacity: 1;
}

.ers-gallery-zoom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--ers-red);
    color: #fff;
    font-size: 17px;
    transform: translateY(12px);
    transition: transform .3s ease;
}

.ers-gallery-card:hover .ers-gallery-zoom {
    transform: translateY(0);
}

/* IMAGE NUMBER */

.ers-gallery-image-number {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 8px;
    background: rgba(34,39,45,.88);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 4px;
    color: #fff;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .5px;
}

/* ==========================================
   CARD FOOTER
========================================== */

.ers-gallery-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex: 1;
    padding: 20px;
    background: #fff;
}

.ers-gallery-card-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .ers-gallery-card-info > span {
        color: var(--ers-red);
        font-size: 9px;
        font-weight: 750;
        letter-spacing: 1.4px;
        margin-bottom: 7px;
    }

    .ers-gallery-card-info strong {
        color: #303740;
        font-size: 13px;
        font-weight: 750;
        line-height: 1.5;
        transition: color .25s ease;
    }

.ers-gallery-card:hover .ers-gallery-card-info strong {
    color: var(--ers-red);
}

.ers-gallery-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 1px solid #e8ebef;
    border-radius: 4px;
    color: #a5acb5;
    font-size: 12px;
    transition: all .25s ease;
}

.ers-gallery-card:hover .ers-gallery-card-arrow {
    background: var(--ers-red);
    border-color: var(--ers-red);
    color: #fff;
}

/* FOCUS */

.ers-gallery-card:focus-visible {
    outline: 2px solid var(--ers-red);
    outline-offset: 3px;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

    .ers-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 575px) {

    .ers-gallery {
        margin: 30px 0 50px;
    }

    .ers-gallery-header {
        gap: 15px;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .ers-gallery-heading h2 {
        font-size: 25px;
    }

    .ers-gallery-heading p {
        font-size: 12px;
    }

    .ers-gallery-counter strong {
        font-size: 30px;
    }

    .ers-gallery-counter span {
        font-size: 8px;
    }

    .ers-gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ers-gallery-image {
        aspect-ratio: 16 / 10;
    }

    .ers-gallery-card-bottom {
        padding: 18px;
    }

    .ers-gallery-overlay {
        display: none;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .ers-gallery-card,
    .ers-gallery-card *,
    .ers-gallery-card *::before,
    .ers-gallery-card *::after {
        transition: none !important;
    }
}




/* ==========================================
   ERSAN - PREMIUM PRES SHOWCASE
========================================== */

.ers-press-showcase {
    --ep-red: #df252c;
    --ep-dark: #22272d;
    --ep-muted: #747d89;
    --ep-border: #e8ebef;
    position: relative;
    width: 100%;
    padding: 105px 0 115px;
    background: #fff;
    overflow: hidden;
}

    .ers-press-showcase *,
    .ers-press-showcase *::before,
    .ers-press-showcase *::after {
        box-sizing: border-box;
    }

/* ==========================================
   SECTION HEADING
========================================== */

.ers-press-heading {
    margin-bottom: 75px;
}

.ers-press-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 21px;
    color: var(--ep-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

    .ers-press-eyebrow span {
        width: 30px;
        height: 2px;
        background: var(--ep-red);
    }

.ers-press-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 55px;
}

.ers-press-heading h2 {
    margin: 0;
    color: var(--ep-dark);
    font-size: clamp(30px, 3.8vw, 49px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.7px;
}

    .ers-press-heading h2 em {
        font-style: normal;
        color: var(--ep-red);
    }

.ers-press-heading-row > p {
    max-width: 300px;
    margin: 0 0 5px;
    color: var(--ep-muted);
    font-size: 13px;
    line-height: 2;
}

/* ==========================================
   SECTION LAYOUT
========================================== */

.ers-press-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 75px;
    align-items: center;
}

.ers-press-content {
    position: relative;
    min-width: 0;
    padding: 25px 0;
}

/* ==========================================
   META
========================================== */

.ers-press-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-bottom: 30px;
    color: #929ba6;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1.3px;
}

.ers-press-meta-number {
    color: var(--ep-red);
    font-weight: 850;
}

.ers-press-meta-line {
    width: 29px;
    height: 1px;
    background: #d4d8de;
}

/* ==========================================
   TITLES
========================================== */

.ers-press-title-area {
    position: relative;
    margin-bottom: 27px;
}

.ers-press-watermark {
    position: absolute;
    z-index: 0;
    top: -35px;
    right: 10px;
    color: #f4f5f7;
    font-size: clamp(110px, 13vw, 170px);
    font-weight: 900;
    letter-spacing: -12px;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.ers-press-content h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--ep-dark);
    font-size: clamp(43px, 5vw, 67px);
    font-weight: 750;
    line-height: 1.09;
    letter-spacing: -2.5px;
}

    .ers-press-content h3 strong {
        color: var(--ep-red);
        font-weight: 850;
    }

/* ==========================================
   DESCRIPTION
========================================== */

.ers-press-description {
    position: relative;
    z-index: 1;
    margin: 0 0 17px;
    max-width: 495px;
    color: var(--ep-muted);
    font-size: 13px;
    line-height: 2.05;
}

    .ers-press-description:last-of-type {
        margin-bottom: 0;
    }

/* ==========================================
   FEATURES
========================================== */

.ers-press-features {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-top: 29px;
    padding-top: 25px;
    border-top: 1px solid var(--ep-border);
}

.ers-press-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #414a55;
    font-size: 12px;
    font-weight: 700;
}

    .ers-press-feature i {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        color: var(--ep-red);
        background: #fcebec;
        font-size: 10px;
    }

/* ==========================================
   ACTION LINK
========================================== */

.ers-press-action {
    display: inline-flex;
    align-items: center;
    gap: 21px;
    margin-top: 37px;
    padding-bottom: 8px;
    color: var(--ep-dark);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.4px;
    text-decoration: none !important;
    border-bottom: 1px solid var(--ep-dark);
    transition: color .3s ease, border-color .3s ease;
}

.ers-press-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: var(--ep-red);
    color: #fff;
    font-size: 11px;
    transition: transform .3s ease, background .3s ease;
}

.ers-press-action:hover {
    color: var(--ep-red);
    border-color: var(--ep-red);
}

    .ers-press-action:hover .ers-press-action-icon {
        background: var(--ep-dark);
        transform: translate(3px, -3px);
    }

/* ==========================================
   VISUAL AREA
========================================== */

.ers-press-visual {
    min-width: 0;
}

.ers-press-image-wrap {
    position: relative;
    width: 100%;
    height: 535px;
    overflow: hidden;
    background: #f3f4f6;
}

    .ers-press-image-wrap::before {
        content: "";
        position: absolute;
        z-index: 2;
        top: 0;
        left: 0;
        width: 5px;
        height: 85px;
        background: var(--ep-red);
    }

    .ers-press-image-wrap img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform .8s ease;
    }

.ers-press-section:hover .ers-press-image-wrap img {
    transform: scale(1.045);
}

.ers-press-image-index {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    padding: 16px 23px;
    color: #fff;
    background: var(--ep-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

/* IMAGE CAPTION */

.ers-press-image-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 18px;
}

    .ers-press-image-caption span {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #89929e;
        font-size: 9px;
        font-weight: 750;
        letter-spacing: 1.4px;
    }

    .ers-press-image-caption i {
        color: var(--ep-red);
        font-size: 6px;
    }

/* ==========================================
   SEPARATOR
========================================== */

.ers-press-divider {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 85px 0;
}

    .ers-press-divider span {
        height: 1px;
        flex: 1;
        background: #e6e9ed;
    }

    .ers-press-divider small {
        color: #a3abb5;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 2px;
        white-space: nowrap;
    }

/* ==========================================
   SECOND SECTION - REVERSE
========================================== */

.ers-press-section-reverse {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

    .ers-press-section-reverse .ers-press-visual {
        grid-column: 1;
        grid-row: 1;
    }

    .ers-press-section-reverse .ers-press-content {
        grid-column: 2;
        grid-row: 1;
    }

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1199px) {

    .ers-press-section {
        gap: 40px;
    }

    .ers-press-image-wrap {
        height: 480px;
    }

    .ers-press-content h3 {
        font-size: 49px;
    }

    .ers-press-description {
        font-size: 12px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 991px) {

    .ers-press-showcase {
        padding: 70px 0 80px;
    }

    .ers-press-heading {
        margin-bottom: 45px;
    }

    .ers-press-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

        .ers-press-heading-row > p {
            max-width: 560px;
        }

    .ers-press-section,
    .ers-press-section-reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }

        .ers-press-section-reverse .ers-press-content,
        .ers-press-section-reverse .ers-press-visual {
            grid-column: auto;
            grid-row: auto;
        }

    .ers-press-content {
        padding: 0;
    }

    .ers-press-image-wrap {
        height: 450px;
    }

    .ers-press-divider {
        margin: 65px 0;
    }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 575px) {

    .ers-press-showcase {
        padding: 55px 0 65px;
    }

    .ers-press-heading {
        margin-bottom: 35px;
    }

        .ers-press-heading h2 {
            font-size: 31px;
            letter-spacing: -.8px;
        }

    .ers-press-meta {
        font-size: 9px;
        gap: 9px;
    }

    .ers-press-content h3 {
        font-size: 44px;
        letter-spacing: -1.6px;
    }

    .ers-press-watermark {
        font-size: 105px;
        top: -15px;
    }

    .ers-press-image-wrap {
        height: 320px;
    }

    .ers-press-description {
        font-size: 13px;
    }

    .ers-press-divider {
        gap: 13px;
        margin: 55px 0;
    }

        .ers-press-divider small {
            font-size: 8px;
            letter-spacing: 1px;
        }

    .ers-press-image-caption span {
        font-size: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ers-press-showcase *,
    .ers-press-showcase *::before,
    .ers-press-showcase *::after {
        transition: none !important;
    }
}
