
/* TOPBAR */

body {
    margin: 0;
}

.topbar {
    width: 100%;
    min-height: 46px;
    background: #222222;
    color: #fff;
    position: relative;
    z-index: 1030;
    font-family: Arial, Helvetica, sans-serif;
}

.topbar .navbar {
    min-height: 46px;
}

.topbar .navbar-nav {
    gap: 13px;
}

.topbar .nav-link {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 0;
    white-space: nowrap;
    transition: color .2s ease;
}

.topbar .nav-link:hover,
.topbar .nav-link:focus,
.topbar .nav-link.show {
    color: #ddd;
}

.topbar .topbar-date {
    cursor: default;
}

.topbar .topbar-date:hover {
    color: #fff;
}

.topbar-auth-trigger {
    background: none;
    border: none;
    cursor: pointer;
}

.topbar .dropdown-toggle::after {
    margin-left: 5px;
    vertical-align: 2px;
    border-top-width: 4px;
}

.topbar .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0 0 4px 4px;
    padding: 8px 0;
    min-width: 205px;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

.topbar .dropdown-item {
    font-size: 12px;
    color: #333;
    padding: 10px 17px;
    transition: background .2s ease, color .2s ease;
}

.topbar .dropdown-item:hover {
    background: #f3f3f3;
    color: #1B6574;
}

/* Desktop hover dropdown */

@media (min-width: 1200px) {
    .topbar .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* SOCIAL MEDIA */

.topbar-social {
    gap: 16px;
    padding-left: 18px;
}

.topbar-social a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: opacity .2s ease, transform .2s ease;
}

.topbar-social a:hover {
    color: #fff;
    opacity: .7;
    transform: translateY(-2px);
}

/* MOBILE NAV */

.topbar-toggler {
    color: #fff;
    border: none;
    box-shadow: none !important;
    padding: 5px 0;
    font-size: 19px;
}

@media (max-width: 1199.98px) {

    .topbar .navbar-collapse {
        order: 3;
        flex-basis: 100%;
        padding: 15px 0;
    }

    .topbar .navbar-nav {
        gap: 0;
        align-items: stretch !important;
    }

    .topbar .nav-link {
        display: block;
        padding: 10px 0;
        font-size: 13px;
        text-align: left;
    }

    .topbar .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 3px;
    }

    .topbar-social {
        padding-left: 0;
    }
}

/* AUTH MODAL */

.topbar-auth-modal {
    --bs-modal-width: 450px;
    font-family: Arial, Helvetica, sans-serif;
}

.topbar-auth-modal .modal-content {
    position: relative;
    background: rgba(27, 101, 116, .91);
    color: #fff;
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 45px rgba(0,0,0,.15);
}

.topbar-auth-modal .modal-body {
    padding: 25px 65px 38px;
    text-align: center;
}

.topbar-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 23px;
    padding: 0;
    cursor: pointer;
}

.topbar-auth-view[hidden] {
    display: none !important;
}

.topbar-auth-view h2 {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

.topbar-modal-description {
    font-size: 12px;
    color: #fff;
    line-height: 1.6;
    margin: 13px 0 65px;
}

/* INPUTS */

.topbar-form-group {
    text-align: left;
    margin-bottom: 34px;
}

.topbar-form-group label {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.topbar-form-group input {
    display: block;
    width: 100%;
    height: 27px;
    padding: 3px 0 7px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.35);
    border-radius: 0;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
    transition: border-color .2s ease;
}

.topbar-form-group input:focus {
    border-bottom-color: #fff;
}

.topbar-form-group input:-webkit-autofill {
    -webkit-text-fill-color: #fff;
    transition: background-color 9999s ease;
}

/* BUTTONS */

.topbar-submit-btn {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #111;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s ease;
}

.topbar-submit-btn:hover {
    background: #e9f0f2;
}

.topbar-text-btn,
.topbar-register-link {
    display: block;
    margin: 9px auto 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 10px;
    line-height: 1.6;
    cursor: pointer;
}

.topbar-register-link {
    margin-top: 15px;
}

.topbar-text-btn:hover,
.topbar-register-link:hover {
    text-decoration: underline;
}

.topbar-text-btn i {
    margin-right: 5px;
}

@media (max-width: 480px) {
    .topbar-auth-modal .modal-body {
        padding: 30px 28px;
    }

    .topbar-modal-description {
        margin-bottom: 45px;
    }
}

/* Topbar menü hover renkleri */
.topbar .nav-link:hover,
.topbar .nav-link:focus,
.topbar .nav-link.show,
.topbar .dropdown-item:hover,
.topbar .dropdown-item:focus {
    color: #4597c6;
}

/* Dropdown açıkken başlık rengi */
.topbar .dropdown:hover > .dropdown-toggle {
    color: #4597c6;
}


/* =========================================
   SITE NAVBAR
========================================= */

.site-navbar,
.site-navbar * {
    box-sizing: border-box;
}

.site-navbar {
    width: 100%;
    background: #fff;
    position: relative;
    z-index: 1020;
    font-family: Arial, Helvetica, sans-serif;
    border-bottom: 1px solid #f1f1f1;
}

.site-navbar-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    gap: 30px;
}

/* LOGO */

.site-navbar-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-navbar-logo img {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* MAIN MENU */

.site-navbar-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 27px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav-item {
    position: relative;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 28px 0;
    border: 0;
    background: transparent;
    color: #080808;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease;
}

.site-nav-link:hover,
.site-nav-link:focus,
.site-has-dropdown:hover > .site-nav-link,
.site-has-dropdown.is-open > .site-nav-link {
    color: #4597c6;
}

.site-dropdown-trigger i {
    font-size: 10px;
    transition: transform .2s ease;
}

.site-has-dropdown:hover .site-dropdown-trigger i,
.site-has-dropdown.is-open .site-dropdown-trigger i {
    transform: rotate(180deg);
}

/* DESKTOP DROPDOWN */

.site-dropdown-menu {
    position: absolute;
    top: 100%;
    left: -18px;
    width: 220px;
    margin: 0;
    padding: 9px 0;
    background: #fff;
    border: 1px solid #f1f1f1;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
    list-style: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;

    z-index: 50;
}

.site-has-dropdown:hover > .site-dropdown-menu,
.site-has-dropdown:focus-within > .site-dropdown-menu,
.site-has-dropdown.is-open > .site-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.site-dropdown-menu a {
    display: block;
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

.site-dropdown-menu a:hover {
    color: #4597c6;
    background: #f7f8f9;
}

/* RIGHT ACTIONS */

.site-navbar-actions {
    display: flex;
    align-items: center;
    gap: 21px;
    flex-shrink: 0;
}

.site-navbar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 35px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #080808;
    font-size: 21px;
    cursor: pointer;
    transition: color .2s ease;
}

.site-navbar-icon:hover,
.site-navbar-icon:focus {
    color: #4597c6;
}

.site-menu-toggle {
    font-size: 24px;
}

/* =========================================
   SEARCH DROPDOWN
========================================= */

.site-search-box {
    position: absolute;
    right: 0;
    top: calc(100% - 1px);
    width: 350px;
    max-width: 90vw;
    padding: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.13);
    border: 1px solid #eee;
    z-index: 100;
}

.site-search-box[hidden] {
    display: none !important;
}

.site-search-box form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-search-box input {
    width: 100%;
    min-width: 0;
    height: 43px;
    padding: 0 12px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    outline: none;
    background: #f8f8f8;
    color: #222;
    font-size: 13px;
}

.site-search-box input:focus {
    border-color: #4597c6;
}

.site-search-box button {
    width: 45px;
    height: 43px;
    flex-shrink: 0;
    border: 0;
    border-radius: 4px;
    background: #4597c6;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease;
}

.site-search-box button:hover {
    background: #327fae;
}

/* =========================================
   OFFCANVAS
========================================= */

.site-offcanvas {
    --bs-offcanvas-width: 380px;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.site-offcanvas-header {
    min-height: 65px;
    padding: 14px 24px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-offcanvas-logo img {
    display: block;
    width: 155px;
    max-width: 100%;
    height: auto;
}

.site-offcanvas-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 25px;
    cursor: pointer;
    transition: color .2s ease;
}

.site-offcanvas-close:hover {
    color: #4597c6;
}

.site-offcanvas-body {
    padding: 0 24px 25px;
    overflow-y: auto;
}

/* SIDEBAR MENU */

.site-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-sidebar-item {
    border-bottom: 1px solid #e9ecef;
}

.site-sidebar-link {
    width: 100%;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    background: transparent;
    border: 0;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease;
}

.site-sidebar-link:hover,
.site-sidebar-link:focus {
    color: #4597c6;
}

.site-sidebar-link i {
    font-size: 12px;
    transition: transform .2s ease;
}

.site-sidebar-link[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.site-sidebar-submenu {
    padding-bottom: 10px;
}

.site-sidebar-submenu a {
    display: block;
    padding: 9px 14px;
    color: #555;
    font-size: 13px;
    text-decoration: none;
    transition: color .2s ease;
}

.site-sidebar-submenu a:hover {
    color: #4597c6;
}

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

.site-sidebar-articles {
    margin-top: 48px;
}

.site-sidebar-articles h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0 0 25px;
}

.site-sidebar-article {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 28px;
}

.site-sidebar-article-content {
    flex: 1;
    min-width: 0;
}

.site-article-category {
    display: inline-block;
    padding: 5px 9px;
    margin-bottom: 10px;
    border-radius: 7px;
    background: #4597c6;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.site-sidebar-article h4 {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 8px;
}

.site-sidebar-article h4 a {
    color: #111;
    text-decoration: none;
    transition: color .2s ease;
}

.site-sidebar-article h4 a:hover {
    color: #4597c6;
}

.site-sidebar-article time {
    display: block;
    font-size: 11px;
    color: #777;
}

.site-sidebar-article-image {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    display: block;
}

.site-sidebar-article-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.site-sidebar-article-image:hover img {
    transform: scale(1.1);
}

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

.site-sidebar-footer {
    margin-top: 45px;
}

.site-sidebar-social {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.site-sidebar-social a {
    color: #111;
    font-size: 17px;
    text-decoration: none;
    transition: color .2s ease;
}

.site-sidebar-social a:hover {
    color: #4597c6;
}

.site-sidebar-footer p {
    font-size: 12px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

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

@media (max-width: 1199.98px) {

    .site-navbar-menu {
        display: none;
    }

    .site-navbar-inner {
        min-height: 72px;
    }

    .site-navbar-logo img {
        width: 180px;
    }

    .site-navbar-actions {
        margin-left: auto;
    }
}

@media (max-width: 575.98px) {

    .site-navbar-inner {
        min-height: 65px;
        gap: 12px;
    }

    .site-navbar-logo img {
        width: 155px;
    }

    .site-navbar-actions {
        gap: 17px;
    }

    .site-navbar-icon {
        font-size: 19px;
    }

    .site-offcanvas {
        --bs-offcanvas-width: min(380px, 90vw);
    }

    .site-offcanvas-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .site-search-box {
        right: 0;
        width: min(350px, 90vw);
    }
}


/* Navbar menü hover çizgi animasyonu */

.site-navbar-menu .site-nav-link {
    position: relative;
    text-decoration: none;
}

/* Başlangıçta görünmeyen çizgi */
.site-navbar-menu .site-nav-link::after {
    content: "";
    position: absolute;
    bottom: 18px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4597c6;
    transition: width 0.3s ease;
}

/* Hover ile soldan sağa genişleme */
.site-navbar-menu .site-nav-link:hover::after,
.site-navbar-menu .site-nav-link:focus-visible::after,
.site-navbar-menu .site-has-dropdown:hover > .site-nav-link::after,
.site-navbar-menu .site-has-dropdown.is-open > .site-nav-link::after {
    width: 100%;
}

/* Yazı rengi */
.site-navbar-menu .site-nav-link:hover,
.site-navbar-menu .site-has-dropdown:hover > .site-nav-link {
    color: #4597c6;
}



/* =========================================
   FEATURED ARTICLE SLIDER
========================================= */

.featured-slider,
.featured-slider * {
    box-sizing: border-box;
}

.featured-slider {
    --slide-width: 72%;
    --slide-gap: 24px;

    width: 100%;
    margin: 24px 0;
    overflow: hidden;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
}

.featured-slider .carousel {
    position: relative;
}

.featured-slider .carousel-inner {
    width: 100%;
    overflow: visible;
}

.featured-slider .carousel-item {
    width: var(--slide-width);
    margin-right: calc(-1 * var(--slide-width));
    position: relative;
    left: calc((100% - var(--slide-width)) / 2);
}

/* SLIDE CARD */

.featured-slide {
    position: relative;
    width: calc(100% - var(--slide-gap));
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: #222;
}

.featured-slide-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s ease;
}

.featured-slide:hover .featured-slide-image {
    transform: scale(1.04);
}

/* DARK OVERLAY */

.featured-slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .46);
    pointer-events: none;
}

/* CONTENT */

.featured-slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;

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

    padding: 30px 45px;
    text-align: center;
    color: #fff;
}

.featured-slide-category {
    display: inline-block;
    padding: 5px 11px;
    margin-bottom: 14px;
    background: #4597c6;
    color: #fff;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.featured-slide-category:hover {
    color: #fff;
    background: #327fae;
}

.featured-slide-title {
    max-width: 900px;
    margin: 0 0 18px;
    font-size: clamp(25px, 2.4vw, 43px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.7px;
}

.featured-slide-title a {
    color: #fff;
    text-decoration: none;
}

.featured-slide-title a:hover {
    color: #fff;
}

/* AUTHOR + DATE */

.featured-slide-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    font-size: 12px;
    font-weight: 500;
    color: #f5f5f5;
}

.featured-slide-author {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.featured-slide-author img {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    object-fit: cover;
}

.featured-slide-dot {
    color: rgba(255,255,255,.7);
}

.featured-slide-meta time {
    white-space: nowrap;
}

/* ARROWS */

.featured-slider-control {
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);

    width: 42px;
    height: 42px;

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

    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 15px;
    cursor: pointer;

    box-shadow: 0 3px 12px rgba(0,0,0,.1);
    transition: background .2s ease, color .2s ease;
}

.featured-slider-control:hover {
    background: #4597c6;
    color: #fff;
}

.featured-slider-prev {
    left: 22px;
}

.featured-slider-next {
    right: 22px;
}

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

@media (min-width: 1600px) {

    .featured-slide {
        height: 680px;
    }

}

@media (max-width: 1199.98px) {

    .featured-slider {
        --slide-width: 82%;
        --slide-gap: 18px;
    }

    .featured-slide {
        height: 510px;
    }

    .featured-slide-title {
        font-size: 32px;
    }

}

@media (max-width: 767.98px) {

    .featured-slider {
        --slide-width: 92%;
        --slide-gap: 12px;
        margin: 15px 0;
    }

    .featured-slide {
        height: 420px;
        border-radius: 9px;
    }

    .featured-slide-content {
        padding: 25px;
    }

    .featured-slide-title {
        font-size: 26px;
        letter-spacing: -.3px;
    }

    .featured-slider-control {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

    .featured-slider-prev {
        left: 10px;
    }

    .featured-slider-next {
        right: 10px;
    }

}

@media (max-width: 480px) {

    .featured-slide {
        height: 370px;
    }

    .featured-slide-title {
        font-size: 22px;
    }

    .featured-slide-category {
        font-size: 11px;
    }

    .featured-slide-meta {
        font-size: 11px;
    }

}


/* Slider positioning */

.featured-slider .carousel-inner {
    position: relative;
    height: 600px;
}

.featured-slider .carousel-item {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    width: var(--slide-width);
    margin: 0;
    float: none;
    opacity: 1;
    transform: translateX(-50%);
    transition: transform .55s ease, opacity .55s ease;
}

.featured-slider .carousel-item.featured-current {
    transform: translateX(-50%);
    z-index: 3;
}

.featured-slider .carousel-item.featured-previous {
    transform: translateX(calc(-150% - 12px));
    z-index: 2;
}

.featured-slider .carousel-item.featured-next {
    transform: translateX(calc(50% + 12px));
    z-index: 2;
}

.featured-slider .carousel-item.featured-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
}

@media (min-width: 1600px) {
    .featured-slider .carousel-inner {
        height: 680px;
    }
}

@media (max-width: 1199.98px) {
    .featured-slider .carousel-inner {
        height: 510px;
    }
}

@media (max-width: 767.98px) {
    .featured-slider .carousel-inner {
        height: 420px;
    }
}

@media (max-width: 480px) {
    .featured-slider .carousel-inner {
        height: 370px;
    }
}


/* =========================================
   SLIDER DRAG & SWIPE
========================================= */

/* Mouse ile sürüklenebilir görünüm */
.featured-slider .carousel-inner {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;

    /* Yatay hareketi JS yönetir,
       dikey sayfa kaydırması çalışmaya devam eder. */
    touch-action: pan-y;
}

/* Sürükleme sırasında */
.featured-slider .carousel-inner.is-dragging {
    cursor: grabbing;
}

/* Resimlerin sürüklenmesini engelle */
.featured-slider .featured-slide-image,
.featured-slider .featured-slide-author img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* =========================================
   MOBILE: HIDE ARROWS
========================================= */

@media (max-width: 767.98px) {

    .featured-slider-control {
        display: none !important;
    }

    .featured-slider .carousel-inner {
        cursor: grab;
    }

}

/* Slider: normal imleç, yalnızca metin bağlantıları tıklanabilir */
.featured-slider .carousel-inner,
.featured-slider .carousel-inner.is-dragging,
.featured-slider .featured-slide,
.featured-slider .featured-slide-content {
    cursor: default;
}
.featured-slide-category,
.featured-slide-title a,
.featured-slide-author-link { cursor: pointer; }
.featured-slide-title a { text-decoration: none; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.featured-slide-title a:hover,
.featured-slide-title a:focus-visible { color: #fff; text-decoration: underline; }
.featured-slide-author-link { color: #fff; font-size: 12px; font-weight: 500; text-decoration: none; }
.featured-slide-author-link:hover,
.featured-slide-author-link:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* Tam alan kaplayan içerik yalnızca bağlantılarda tıklama alır */
.featured-slide-content { pointer-events: none; }
.featured-slide-content a { pointer-events: auto; }
@media (max-width: 767.98px) {
    /* Ortadaki kart 2/3; komşuların yaklaşık dörtte biri görünür */
    .featured-slider { --slide-width: 66.6667%; --slide-gap: 12px; }
    .featured-slider .carousel-item.featured-previous { transform: translateX(calc(-150% - 6px)); }
    .featured-slider .carousel-item.featured-next { transform: translateX(calc(50% + 6px)); }
    .featured-slider-control { display: none !important; }
    .featured-slide-content { padding: 18px 12px; }
    .featured-slide-title { font-size: clamp(17px, 4vw, 25px); line-height: 1.25; }
    .featured-slide-meta { font-size: 10px; gap: 5px; }
    .featured-slide-author-link { font-size: 10px; }
    .featured-slide-author img { width: 20px; height: 20px; }
}


/* =========================================
   SCROLL TO TOP
========================================= */

#scrollToTop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 35px;
    height: 35px;

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

    background: #e9e9e9;
    border-radius: 10px;

    color: #222;
    cursor: pointer;

    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease,
        background .2s ease;
}

/* Yukarı ok: CSS ile çizilir */
#scrollToTop::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 1.8px solid currentColor;
    border-left: 1.8px solid currentColor;
    transform: translateY(2px) rotate(45deg);
}

/* Sayfa kaydırılınca görünür */
#scrollToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollToTop:hover {
    background: #dcdcdc;
}

/* Mobil */
@media (max-width: 767.98px) {
    #scrollToTop {
        right: 15px;
        bottom: 15px;
    }
}


/* =========================================
   MAIN FOOTER
========================================= */

.main-footer,
.main-footer * {
    box-sizing: border-box;
}

.main-footer {
    width: 100%;
    background: #000000;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.main-footer-top {
    padding-top: 55px;
    padding-bottom: 60px;
}

/* HEADINGS */

.main-footer-heading {
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 22px;
}

/* =========================================
   LOGO & SOCIAL ICONS
========================================= */

.main-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main-footer-logo {
    display: inline-block;
    margin-bottom: 28px;
}

.main-footer-logo img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Social icons - same platforms as topbar */

.main-footer-socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.main-footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 37px;
    height: 37px;

    border-radius: 50%;
    background: #222222;
    color: #ffffff;

    font-size: 15px;
    text-decoration: none;

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

.main-footer-socials a:hover {
    background: #4597c6;
    color: #ffffff;
    transform: translateY(-3px);
}

/* =========================================
   RECENT POSTS
========================================= */

.main-footer-posts {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.main-footer-post {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.main-footer-post-info {
    flex: 1;
    min-width: 0;
}

.main-footer-post-category {
    display: inline-block;

    padding: 5px 10px;
    margin-bottom: 11px;

    border-radius: 7px;
    background: #4597c6;
    color: #ffffff;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;

    transition: background .2s ease;
}

.main-footer-post-category:hover {
    background: #327fae;
    color: #ffffff;
}

.main-footer-post-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.main-footer-post-title a {
    color: #ffffff;
    text-decoration: none;
    text-underline-offset: 3px;
}

.main-footer-post-title a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.main-footer-post-thumbnail {
    width: 110px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 11px;
}

.main-footer-post-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.main-footer-post:hover .main-footer-post-thumbnail img {
    transform: scale(1.05);
}

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

.main-footer-categories {
    display: flex;
    flex-direction: column;
    gap: 15px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.main-footer-categories li {
    margin: 0;
    padding: 0;
}

.main-footer-categories a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;

    transition: color .2s ease;
}

.main-footer-categories a i {
    font-size: 10px;
}

.main-footer-categories a:hover {
    color: #4597c6;
}

/* =========================================
   FOOTER BOTTOM
========================================= */

.main-footer-bottom {
    border-top: 1px solid #242424;
}

.main-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    min-height: 70px;
    padding: 20px 0;
}

.main-footer-bottom p {
    margin: 0;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.5;
}

.main-footer-bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 23px;
}

.main-footer-bottom-links a {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}

.main-footer-bottom-links a:hover {
    color: #4597c6;
}

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

@media (max-width: 991.98px) {
    .main-footer-top {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .main-footer-logo img {
        width: 260px;
    }
}

@media (max-width: 767.98px) {
    .main-footer-top {
        padding-top: 38px;
        padding-bottom: 40px;
    }

    .main-footer-heading {
        font-size: 18px;
    }

    .main-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .main-footer-bottom-links {
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .main-footer-post-thumbnail {
        width: 95px;
        height: 80px;
    }

    .main-footer-post-title {
        font-size: 14px;
    }

    .main-footer-logo img {
        width: 240px;
    }
}


/* =========================================
   NEW POSTS SECTION
========================================= */

.new-posts-section,
.new-posts-section * {
    box-sizing: border-box;
}

.new-posts-section {
    width: 100%;
    padding: 45px 0 60px;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

/* HEADING */

.new-posts-header {
    margin-bottom: 32px;
}

.new-posts-header h2 {
    margin: 0;
    color: #000000;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

/* POST CARD */

.new-post-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-height: 100px;
}

.new-post-info {
    flex: 1;
    min-width: 0;
}

/* CATEGORY */

.new-post-category {
    display: inline-block;
    padding: 5px 11px;
    margin-bottom: 11px;

    border-radius: 9px;
    background: var(--category-color, #4597c6);
    color: #ffffff;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;

    transition: filter .2s ease;
}

.new-post-category:hover {
    color: #ffffff;
    filter: brightness(.9);
}

/* TITLE */

.new-post-title {
    margin: 0 0 11px;
    color: #000000;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.new-post-title a {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 3px;
}

.new-post-title a:hover {
    color: #000000;
    text-decoration: underline;
}

/* DATE */

.new-post-date {
    display: block;
    color: #555555;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

/* THUMBNAIL */

.new-post-thumbnail {
    flex: 0 0 110px;
    width: 110px;
    height: 90px;
    overflow: hidden;
    border-radius: 12px;
    background: #f2f2f2;
}

.new-post-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.new-post-card:hover .new-post-thumbnail img {
    transform: scale(1.05);
}

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

@media (max-width: 1199.98px) {
    .new-post-card {
        gap: 15px;
    }
}

@media (max-width: 767.98px) {
    .new-posts-section {
        padding: 35px 0 45px;
    }

    .new-posts-header {
        margin-bottom: 25px;
    }

    .new-posts-header h2 {
        font-size: 23px;
    }

    .new-post-card {
        min-height: 90px;
    }
}

@media (max-width: 400px) {
    .new-post-thumbnail {
        flex-basis: 95px;
        width: 95px;
        height: 85px;
    }

    .new-post-title {
        font-size: 14px;
    }
}


/* =========================================
   SKINCARE FEATURED SECTION
========================================= */

.skincare-featured,
.skincare-featured * {
    box-sizing: border-box;
}

.skincare-featured {
    width: 100%;
    padding: 45px 0 60px;
    background: #f8f8f8;
    font-family: Arial, Helvetica, sans-serif;
}

.skincare-featured-heading {
    margin: 0 0 25px;
    color: #000;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

/* =========================================
   CARD BASE
========================================= */

.skincare-card {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #222;
    isolation: isolate;
}

/* Card sizes */

.skincare-card-wide {
    height: 240px;
}

.skincare-card-small {
    height: 240px;
}

.skincare-card-tall {
    height: 496px;
}

/* =========================================
   CARD IMAGE
========================================= */

.skincare-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.skincare-card:hover .skincare-card-image {
    transform: scale(1.04);
}

/* Dark gradient overlay */

.skincare-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .85) 0%,
        rgba(0, 0, 0, .25) 45%,
        rgba(0, 0, 0, 0) 80%
    );

    pointer-events: none;
}

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

.skincare-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;

    padding: 20px;
    color: #fff;
}

.skincare-card-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.skincare-card-title a {
    color: #fff;
    text-decoration: none;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}

.skincare-card-title a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Different title sizes */

.skincare-card-small .skincare-card-title {
    font-size: 17px;
}

.skincare-card-tall .skincare-card-title {
    font-size: 27px;
    line-height: 1.2;
    max-width: 90%;
}

/* =========================================
   AUTHOR & DATE
========================================= */

.skincare-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    color: #f1f1f1;
    font-size: 12px;
    font-weight: 400;
}

.skincare-card-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.skincare-card-author img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.skincare-card-author a {
    color: #fff;
    text-decoration: none;
}

.skincare-card-author a:hover {
    text-decoration: underline;
}

.skincare-card-separator {
    color: rgba(255, 255, 255, .7);
}

.skincare-card-meta time {
    white-space: nowrap;
}

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

@media (max-width: 991.98px) {

    .skincare-card-tall {
        height: 350px;
    }

    .skincare-card-tall .skincare-card-title {
        font-size: 24px;
    }

}

@media (max-width: 575.98px) {

    .skincare-featured {
        padding: 35px 0 45px;
    }

    .skincare-featured-heading {
        font-size: 23px;
        margin-bottom: 20px;
    }

    .skincare-card-wide,
    .skincare-card-small {
        height: 250px;
    }

    .skincare-card-tall {
        height: 350px;
    }

    .skincare-card-content {
        padding: 17px;
    }

    .skincare-card-title {
        font-size: 18px;
    }

    .skincare-card-small .skincare-card-title {
        font-size: 18px;
    }

    .skincare-card-tall .skincare-card-title {
        font-size: 23px;
    }

}


/* =========================================
   HAIR NEWS SECTION
========================================= */

.hair-news-section,
.hair-news-section * {
    box-sizing: border-box;
}

.hair-news-section {
    padding: 50px 0 65px;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.hair-news-heading,
.hair-news-sidebar-heading {
    margin: 0 0 23px;
    color: #080808;
    font-size: 24px;
    font-weight: 700;
}

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

.hair-news-hero {
    position: relative;
    height: 350px;
    border-radius: 11px;
    overflow: hidden;
    background: #222;
}

.hair-news-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.hair-news-hero:hover .hair-news-hero-image {
    transform: scale(1.04);
}

.hair-news-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.88),
        rgba(0,0,0,.15) 65%,
        transparent
    );
    pointer-events: none;
}

.hair-news-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 25px;
    color: #fff;
}

.hair-news-hero-content h3 {
    margin: 12px 0 10px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.hair-news-hero-content h3 a {
    color: #fff;
    text-decoration: none;
}

.hair-news-hero-content h3 a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hair-news-hero-content p {
    margin: 0 0 15px;
    color: #e9e9e9;
    font-size: 13px;
    line-height: 1.5;
}

/* =========================================
   CATEGORY BADGES
========================================= */

.hair-news-badge {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 6px;
    background: #4597c6;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.hair-news-badge:hover {
    background: #327fae;
    color: #fff;
}

/* =========================================
   AUTHOR & DATE
========================================= */

.hair-news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 11px;
    color: #777;
}

.hair-news-meta img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.hair-news-meta a {
    color: inherit;
    text-decoration: none;
}

.hair-news-meta a:hover {
    text-decoration: underline;
}

.hair-news-hero .hair-news-meta {
    color: #fff;
}

/* =========================================
   ARTICLE GRID
========================================= */

.hair-news-grid {
    margin-top: 6px;
}

.hair-news-card-image {
    position: relative;
    width: 100%;
    height: 205px;
    border-radius: 10px;
    overflow: hidden;
    background: #eee;
}

.hair-news-card-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.hair-news-card:hover .hair-news-card-image > img {
    transform: scale(1.04);
}

.hair-news-card-image .hair-news-badge {
    position: absolute;
    top: 9px;
    left: 9px;
}

.hair-news-card h3 {
    margin: 13px 0 9px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}

.hair-news-card h3 a {
    color: #080808;
    text-decoration: none;
    text-underline-offset: 3px;
}

.hair-news-card h3 a:hover {
    text-decoration: underline;
}

.hair-news-card > p {
    margin: 0 0 13px;
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

/* =========================================
   LOAD MORE
========================================= */

.hair-news-more {
    margin-top: 35px;
    text-align: center;
}

.hair-news-more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 13px 25px;
    border-radius: 30px;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease;
}

.hair-news-more a:hover {
    background: #4597c6;
    color: #fff;
}

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

.hair-news-side-posts {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.hair-news-side-post {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.hair-news-side-info {
    flex: 1;
    min-width: 0;
}

.hair-news-side-info h3 {
    margin: 10px 0 9px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.hair-news-side-info h3 a {
    color: #111;
    text-decoration: none;
}

.hair-news-side-info h3 a:hover {
    text-decoration: underline;
}

.hair-news-side-info time {
    color: #777;
    font-size: 11px;
}

.hair-news-side-post > img {
    width: 105px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 10px;
    object-fit: cover;
}

/* =========================================
   CATEGORY BANNERS
========================================= */

.hair-news-category-banners {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
}

.hair-news-category-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 0 16px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--banner-color, #4597c6);
    background-image:
        linear-gradient(
            90deg,
            var(--banner-color, #4597c6),
            rgba(0,0,0,.2)
        ),
        var(--banner-image);
    background-position: center;
    background-size: cover;
    color: #fff;
    text-decoration: none;
    transition: filter .2s ease;
}

.hair-news-category-banner:hover {
    color: #fff;
    filter: brightness(.9);
}

.hair-news-category-banner span,
.hair-news-category-banner i {
    position: relative;
    z-index: 1;
}

.hair-news-category-banner span {
    font-size: 14px;
    font-weight: 700;
}

.hair-news-category-banner i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 11px;
}

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

@media (max-width: 991.98px) {
    .hair-news-section {
        padding: 40px 0 50px;
    }

    .hair-news-sidebar-heading {
        margin-top: 15px;
    }
}

@media (max-width: 575.98px) {
    .hair-news-heading,
    .hair-news-sidebar-heading {
        font-size: 22px;
    }

    .hair-news-hero {
        height: 320px;
    }

    .hair-news-hero-content {
        padding: 18px;
    }

    .hair-news-hero-content h3 {
        font-size: 21px;
    }

    .hair-news-card-image {
        height: 220px;
    }
}


/* =========================================
   HEALTHY LIFE SECTION
========================================= */

.healthy-life-section,
.healthy-life-section * {
    box-sizing: border-box;
}

.healthy-life-section {
    width: 100%;
    padding: 45px 0 60px;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

/* HEADING */

.healthy-life-heading {
    margin: 0 0 32px;
    color: #000000;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

/* =========================================
   ARTICLE CARD
========================================= */

.healthy-life-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-height: 100px;
}

.healthy-life-info {
    flex: 1;
    min-width: 0;
}

/* CATEGORY */

.healthy-life-category {
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 11px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: filter .2s ease;
}

.healthy-life-category:hover {
    color: #ffffff;
    filter: brightness(.9);
}

.category-nutrition {
    background: #62a92b;
}

.category-lifestyle {
    background: #4597c6;
}

.category-sports {
    background: #e2b900;
}

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

.healthy-life-info h3 {
    margin: 0 0 11px;
    color: #080808;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.healthy-life-info h3 a {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 3px;
}

.healthy-life-info h3 a:hover {
    color: #080808;
    text-decoration: underline;
}

/* DATE */

.healthy-life-info time {
    display: block;
    color: #555555;
    font-size: 12px;
    line-height: 1.4;
}

/* =========================================
   THUMBNAIL
========================================= */

.healthy-life-thumbnail {
    flex: 0 0 110px;
    width: 110px;
    height: 90px;
    overflow: hidden;
    border-radius: 12px;
    background: #f2f2f2;
}

.healthy-life-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.healthy-life-card:hover .healthy-life-thumbnail img {
    transform: scale(1.05);
}

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

@media (max-width: 1199.98px) {
    .healthy-life-card {
        gap: 15px;
    }
}

@media (max-width: 767.98px) {
    .healthy-life-section {
        padding: 35px 0 45px;
    }

    .healthy-life-heading {
        font-size: 23px;
        margin-bottom: 25px;
    }
}

@media (max-width: 400px) {
    .healthy-life-thumbnail {
        flex-basis: 95px;
        width: 95px;
        height: 85px;
    }

    .healthy-life-info h3 {
        font-size: 14px;
    }
}


/* =========================================
   ALL ARTICLES SECTION
========================================= */

.all-articles-section,
.all-articles-section * {
    box-sizing: border-box;
}

.all-articles-section {
    width: 100%;
    padding: 50px 0 65px;
    background: #f8f8f8;
    font-family: Arial, Helvetica, sans-serif;
}

.all-articles-heading {
    margin: 0 0 30px;
    color: #000;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

/* =========================================
   CATEGORY BADGES
========================================= */

.all-articles-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: filter .2s ease;
}

.all-articles-badge:hover {
    color: #fff;
    filter: brightness(.9);
}

.all-articles-section .badge-beauty {
    background: #f52d42;
}

.all-articles-section .badge-skincare {
    background: #4597c6;
}

.all-articles-section .badge-haircare {
    background: #8a25e8;
}

.all-articles-section .badge-nutrition {
    background: #64ad2d;
}

.all-articles-section .badge-dermo {
    background: #d8b900;
}

/* =========================================
   LARGE FEATURED ARTICLE
========================================= */

.all-articles-featured {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 520px;
    overflow: hidden;
    border-radius: 12px;
    background: #222;
    isolation: isolate;
}

.all-articles-featured-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.all-articles-featured:hover .all-articles-featured-image {
    transform: scale(1.04);
}

.all-articles-featured-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .88) 0%,
        rgba(0, 0, 0, .25) 55%,
        rgba(0, 0, 0, 0) 85%
    );
    pointer-events: none;
}

.all-articles-featured-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 25px;
    color: #fff;
}

.all-articles-featured-content h3 {
    margin: 12px 0;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.2;
}

.all-articles-featured-content h3 a {
    color: #fff;
    text-decoration: none;
    text-underline-offset: 4px;
}

.all-articles-featured-content h3 a:hover {
    text-decoration: underline;
}

.all-articles-featured-content p {
    margin: 0 0 15px;
    color: #f1f1f1;
    font-size: 13px;
    line-height: 1.6;
}

/* =========================================
   SMALL ARTICLE CARDS
========================================= */

.all-articles-card {
    width: 100%;
}

.all-articles-card-image {
    position: relative;
    width: 100%;
    height: 195px;
    overflow: hidden;
    border-radius: 11px;
    background: #eee;
}

.all-articles-card-image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.all-articles-card:hover .all-articles-card-image > img {
    transform: scale(1.04);
}

.all-articles-card-image .all-articles-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.all-articles-card h3 {
    margin: 13px 0 11px;
    color: #000;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

.all-articles-card h3 a {
    color: #000;
    text-decoration: none;
    text-underline-offset: 3px;
}

.all-articles-card h3 a:hover {
    text-decoration: underline;
}

/* =========================================
   AUTHOR & DATE
========================================= */

.all-articles-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: #555;
    font-size: 11px;
}

.all-articles-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.all-articles-author img {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    object-fit: cover;
}

.all-articles-author a {
    color: inherit;
    text-decoration: none;
}

.all-articles-author a:hover {
    text-decoration: underline;
}

.all-articles-dot {
    color: #888;
}

.all-articles-featured .all-articles-meta {
    color: #fff;
}

.all-articles-featured .all-articles-dot {
    color: rgba(255,255,255,.7);
}

.all-articles-meta time {
    white-space: nowrap;
}

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

@media (max-width: 991.98px) {

    .all-articles-featured {
        height: 440px;
        min-height: 0;
    }

    .all-articles-card-image {
        height: 210px;
    }

}

@media (max-width: 575.98px) {

    .all-articles-section {
        padding: 35px 0 45px;
    }

    .all-articles-heading {
        font-size: 23px;
        margin-bottom: 22px;
    }

    .all-articles-featured {
        height: 380px;
    }

    .all-articles-featured-content {
        padding: 18px;
    }

    .all-articles-featured-content h3 {
        font-size: 22px;
    }

    .all-articles-card-image {
        height: 220px;
    }

}


/* =========================================
   ALL ARTICLES - SHOW ALL BUTTON
========================================= */

.all-articles-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.all-articles-show-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 12px 23px;
    border-radius: 8px;

    background: #000000;
    color: #ffffff;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease;
}

.all-articles-show-all:hover {
    background: #4597c6;
    color: #ffffff;
}

.all-articles-show-all i {
    font-size: 12px;
    transition: transform .25s ease;
}

.all-articles-show-all:hover i {
    transform: translateX(4px);
}

@media (max-width: 575.98px) {
    .all-articles-footer {
        margin-top: 25px;
    }
}
