
/*
Theme Name: Jannah Child
Description: Custom Child Theme for Jannah
Author: Bashir Rashedi
Template: jannah
Version: 1.0.0
*/

/* =========================================================
   HAMA NEWS — MODERN & USER FRIENDLY HEADER
========================================================= */

.hama-header {
    direction: rtl;
    width: 100%;
    position: relative;
    z-index: 9999;
    background: #ffffff;
    color: #111827;
    font-family: inherit;
}

.hama-container {
    width: min(1180px, calc(100% - 30px));
    margin-inline: auto;
}


/* =========================================================
   TOP BAR
========================================================= */

.hama-topbar {
    background: #111827;
    color: #ffffff;
    border-bottom: 1px solid #273244;
}

.hama-topbar-inner {
    min-height: 36px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hama-date {
    color: #d1d5db;
    font-size: 12px;
}


/* ========================================================= SOCIAL ICONS ========================================================= */ .hama-social-links { display: flex; align-items: center; gap: 7px; } .hama-social-links a { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: #ffffff !important; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); border-radius: 50%; text-decoration: none !important; font-size: 14px; transition: all .2s ease; } .hama-social-links a:hover { background: #ffffff; color: #111827 !important; transform: translateY(-2px); } .hama-social-links i { line-height: 1; }

/* =========================================================
   MAIN MENU — CLEAR & VISIBLE
========================================================= */

.hama-menu ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hama-menu li {
    margin: 0;
    padding: 0;
}

.hama-menu a {
    display: block;

    padding: 15px 18px;

    color: #111827 !important;
    background: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    border-left: 1px solid #e5e7eb;

    transition: all .2s ease;
}

.hama-menu li:first-child a {
    border-right: 1px solid #e5e7eb;
}

/* وقتی موس روی منو می‌رود */
.hama-menu a:hover {
    background: #111827 !important;
    color: #ffffff !important;
}

/* صفحه فعلی */
.hama-menu .current-menu-item > a,
.hama-menu .current-menu-ancestor > a {
    background: #111827 !important;
    color: #ffffff !important;
}


/* =========================================================
   ADVERTISEMENT
========================================================= */

.hama-ad {
    height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f8fafc;

    border: 1px solid #e5e7eb;

    border-radius: 10px;

    color: #9ca3af;

    font-size: 13px;

    overflow: hidden;

    transition: .2s ease;
}

.hama-ad:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.hama-ad img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit:  contain;
}



/* =========================================================
   NAVIGATION
========================================================= */

.hama-navigation {
    background: #ffffff;

    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #e5e7eb;

    box-shadow: 0 3px 15px rgba(15,23,42,.05);
}

.hama-menu ul {
    display: flex;

    align-items: center;

    list-style: none;

    margin: 0;
    padding: 0;
}

.hama-menu li {
    margin: 0;
    padding: 0;
}

.hama-menu a {
    display: block;

    padding: 14px 17px;

    color: #111827;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    border-left: 1px solid #f1f5f9;

    transition:
        background .2s ease,
        color .2s ease;
}

.hama-menu li:first-child a {
    border-right: 1px solid #f1f5f9;
}

.hama-menu a:hover,
.hama-menu .current-menu-item > a {
    background: #f3f4f6;
    color: #111827;
}


/* =========================================================
   BREAKING / LATEST NEWS
========================================================= */

.hama-breaking {
    background: #111827;

    color: #ffffff;

    border-bottom: 1px solid #273244;
}

.hama-breaking-inner {
    min-height: 44px;

    display: flex;
    align-items: center;

    gap: 18px;
}

.hama-breaking-title {
    display: flex;
    align-items: center;

    gap: 8px;

    padding: 5px 12px;

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 6px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    white-space: nowrap;
}

.hama-breaking-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ffffff;

    animation: hama-breaking-pulse 1.5s infinite;
}

@keyframes hama-breaking-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }

}

.hama-breaking-text {
    min-width: 0;

    font-size: 13px;

    color: #f3f4f6;

    overflow: hidden;
}


/* =========================================================
   LATEST NEWS SLIDER
========================================================= */

.hama-latest-news {
    position: relative;

    height: 24px;

    overflow: hidden;

    display: flex;

    align-items: center;
}

.hama-news-item {
    display: none;

    width: 100%;

    color: #ffffff;

    text-decoration: none;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    font-size: 13px;

    line-height: 24px;

    transition: opacity .3s ease;
}

.hama-news-item:hover {
    color: #ffffff;
    opacity: .75;
}

.hama-news-item.active {
    display: block;
}


/* =========================================================
   HAMA NEWS - PREMIUM MOBILE HEADER
   PRIMARY COLOR: #01A6E3
   ========================================================= */

@media (max-width: 600px) {

    /* =========================================
       MOBILE HEADER
       ========================================= */

    .hama-main-inner {

        min-height: 76px !important;

        padding: 7px 5px;

        display: grid !important;

        grid-template-columns:
            44px
            minmax(0, 1fr)
            44px !important;

        align-items: center;

        gap: 8px;

        background: #ffffff;

        border-radius: 0 0 14px 14px;

        box-shadow:
            0 5px 22px rgba(15, 23, 42, .07);
    }


    /* =========================================
       MENU BUTTON
       ========================================= */

    .hama-menu-toggle {

        width: 43px !important;
        height: 43px !important;

        display: flex !important;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        padding: 0 !important;

        border: 1px solid #e2e8f0 !important;

        border-radius: 11px !important;

        background: #ffffff !important;

        box-shadow:
            0 4px 12px rgba(15,23,42,.07);

        transition: all .25s ease;

        position: relative;

        z-index: 10002;
    }


    .hama-menu-toggle span {

        width: 21px !important;
        height: 2px !important;

        margin: 3px auto !important;

        border-radius: 10px;

        background: #01A6E3 !important;

        transition: all .25s ease;
    }


    .hama-menu-toggle:hover {

        border-color: #01A6E3 !important;

        box-shadow:
            0 5px 15px rgba(1,166,227,.18);
    }


    /* =========================================
       LOGO
       ========================================= */

    .hama-logo {

        width: 100%;

        display: flex !important;

        align-items: center;

        justify-content: center;

        min-width: 0;

        text-align: center;
    }


    .hama-logo img {

        width: auto !important;

        max-width: 145px !important;

        max-height: 55px !important;

        object-fit: contain;

        transition: transform .25s ease;
    }


    .hama-logo img:hover {

        transform: scale(1.03);
    }


    /* اگر لوگو متنی هم داشته باشد */

    .hama-logo strong {

        font-size: 22px !important;

        color: #01A6E3;
    }


    .hama-logo small {

        font-size: 8px !important;

    }


    /* =========================================
       SEARCH BUTTON
       ========================================= */

    .hama-search-btn {

        width: 43px !important;

        height: 43px !important;

        display: flex !important;

        align-items: center;

        justify-content: center;

        border-radius: 11px !important;

        background: #ffffff;

        border: 1px solid #e2e8f0;

        color: #01A6E3;

        font-size: 20px !important;

        box-shadow:
            0 4px 12px rgba(15,23,42,.07);

        transition: all .25s ease;
    }


    .hama-search-btn:hover {

        background: #01A6E3;

        border-color: #01A6E3;

        color: #ffffff;

        transform: translateY(-1px);
    }


    /* =========================================
       TOP BAR
       ========================================= */

    .hama-topbar-inner {

        min-height: 36px !important;

        justify-content: center;

        background: #0b1220;
    }


    .hama-top-links {

        gap: 18px !important;

        align-items: center;
    }


    .hama-top-links a {

        font-size: 11px;

        color: #cbd5e1;

        transition: .2s ease;
    }


    .hama-top-links a:hover {

        color: #01A6E3;
    }


    /* =========================================
       MOBILE NAVIGATION
       ========================================= */

    .hama-navigation {

        background: transparent;

        border: 0 !important;

        box-shadow: none !important;
    }


    .hama-menu {

        position: fixed !important;

        top: 0;

        right: -100%;

        width: min(320px, 88%) !important;

        height: 100vh;

        padding: 82px 16px 30px !important;

        box-sizing: border-box;

        background: #ffffff;

        border-left: 1px solid #e2e8f0;

        box-shadow:
            -12px 0 40px rgba(15,23,42,.18);

        overflow-y: auto;

        transition:
            right .35s cubic-bezier(.4,0,.2,1);

        z-index: 10001 !important;
    }


    .hama-menu.is-open {

        right: 0;
    }


    /* =========================================
       MENU LIST
       ========================================= */

    .hama-menu ul {

        display: flex !important;

        flex-direction: column !important;

        align-items: stretch !important;

        gap: 8px !important;

        margin: 0 !important;

        padding: 0 !important;

        list-style: none;
    }


    .hama-menu li {

        width: 100%;

        margin: 0 !important;
    }


    .hama-menu a {

        display: flex !important;

        align-items: center;

        justify-content: space-between;

        width: 100%;

        min-height: 48px;

        box-sizing: border-box;

        padding: 13px 15px !important;

        color: #1e293b !important;

        background: #f8fafc !important;

        border: 1px solid #e5e7eb !important;

        border-radius: 11px !important;

        font-size: 14px !important;

        font-weight: 600;

        text-decoration: none;

        transition: all .25s ease;
    }


    .hama-menu a:hover {

        background: #effaff !important;

        color: #01A6E3 !important;

        border-color: rgba(1,166,227,.25) !important;

        transform: translateX(-3px);
    }


    .hama-menu .current-menu-item > a {

        background: #01A6E3 !important;

        color: #ffffff !important;

        border-color: #01A6E3 !important;

        box-shadow:
            0 5px 15px rgba(1,166,227,.20);
    }


    /* =========================================
       BREAKING NEWS
       ========================================= */

    .hama-breaking {

        display: block !important;

        border: 0;
    }


    .hama-breaking-inner {

        min-height: 43px !important;

        gap: 8px !important;

        padding: 0 5px;
    }


    .hama-breaking-title {

        padding: 5px 9px !important;

        background: #01A6E3;

        border-radius: 6px;

        font-size: 10px !important;

        white-space: nowrap;
    }


    .hama-breaking-text {

        font-size: 11px !important;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }


    .hama-news-item {

        font-size: 11px !important;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .hama-main-inner {

        min-height: 70px !important;

        grid-template-columns:
            41px
            minmax(0, 1fr)
            41px !important;

        gap: 6px;
    }


    .hama-menu-toggle {

        width: 40px !important;

        height: 40px !important;

        border-radius: 10px !important;
    }


    .hama-menu-toggle span {

        width: 19px !important;
    }


    .hama-search-btn {

        width: 40px !important;

        height: 40px !important;

        font-size: 18px !important;
    }


    .hama-logo img {

        max-width: 125px !important;

        max-height: 48px !important;
    }


    .hama-top-links {

        gap: 12px !important;
    }


    .hama-menu {

        width: 90% !important;

        padding-top: 78px !important;
    }

}

/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.hama-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid #dfe3e8;

    border-radius: 10px;

    background: #0B1220;

    cursor: pointer;

    padding: 8px;
}

.hama-menu-toggle span {
    display: block;

    width: 23px;
    height: 2px;

    margin: 5px auto;

    border-radius: 4px;

    background: #111827;

    transition: .25s ease;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .hama-main-inner {
        grid-template-columns:
            170px
            minmax(150px, 1fr)
            50px;

        gap: 18px;
    }

    .hama-logo img {
        max-width: 155px;
        max-height: 60px;
    }

    .hama-ad {
        height: 55px;
    }

    .hama-menu a {
        padding-inline: 11px;
        font-size: 13px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .hama-container {
        width: calc(100% - 20px);
    }


    /* TOP BAR */

    .hama-topbar-inner {
        justify-content: center;

        min-height: 34px;
    }

    .hama-date {
        display: none;
    }

    .hama-top-links {
        gap: 16px;
    }


    /* MAIN HEADER */

    .hama-main-inner {

        min-height: 72px;

        display: grid;

        grid-template-columns:
            44px
            1fr
            44px;

        gap: 7px;
    }


    .hama-menu-toggle {
        display: block;
    }


    .hama-logo {
        justify-content: center;
    }

    .hama-logo img {
        max-width: 130px;
        max-height: 50px;
    }

    .hama-logo strong {
        font-size: 23px;
    }

    .hama-logo small {
        font-size: 9px;
    }


    .hama-ad {
        display: none;
    }


    .hama-search-btn {
        width: 42px;
        height: 42px;

        font-size: 21px;
    }


    /* MOBILE NAVIGATION */

    .hama-navigation {
        border-bottom: 0;

        box-shadow: none;
    }

    .hama-menu {

        position: fixed;

        top: 0;
        right: -100%;

        width: min(310px, 86%);

        height: 100vh;

        background: #ffffff;

        border-left: 1px solid #e5e7eb;

        box-shadow: -10px 0 35px rgba(15,23,42,.15);

        overflow-y: auto;

        transition: right .3s ease;

        z-index: 10001;

        padding: 75px 18px 30px;
    }


    .hama-menu.is-open {
        right: 0;
    }


    .hama-menu ul {

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 7px;
    }


    .hama-menu li {
        width: 100%;
    }


    .hama-menu a {

        padding: 14px 13px;

        color: #111827;

        background: #f8fafc;

        border: 1px solid #e5e7eb !important;

        border-radius: 8px;

        font-size: 14px;
    }


    .hama-menu a:hover,
    .hama-menu .current-menu-item > a {

        background: #111827;

        color: #ffffff;
    }


    /* LATEST NEWS */

    .hama-breaking {
        display: block;
    }

    .hama-breaking-inner {
        min-height: 42px;

        gap: 10px;
    }

    .hama-breaking-title {
        padding: 4px 9px;

        font-size: 11px;
    }

    .hama-breaking-text {
        font-size: 12px;
    }

    .hama-news-item {
        font-size: 12px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .hama-logo img {
        max-width: 112px;
    }

    .hama-top-links {
        gap: 12px;
    }

    .hama-menu {
        width: 88%;
    }

}

/* =========================================
   HAMA NEWS - HERO SECTION
   ========================================= */

.hama-hero-slider {
    width: 100%;
    margin: 28px auto 35px;
    padding: 0 15px;
    direction: rtl;
}

.hama-hero-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 18px;
}


/* =========================================
   MAIN HERO
   ========================================= */

.hama-hero-main {
    position: relative;
    height: 470px;
    overflow: hidden;
    border-radius: 18px;
    background: #111;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
}

.hama-hero-image {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hama-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.hama-hero-main:hover .hama-hero-image img {
    transform: scale(1.07);
}


/* =========================================
   MAIN GRADIENT
   ========================================= */

.hama-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, .02) 15%,
        rgba(0, 0, 0, .12) 35%,
        rgba(0, 0, 0, .82) 100%
    );
}


/* =========================================
   MAIN CONTENT
   ========================================= */

.hama-hero-content {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 35px;
}


/* =========================================
   CATEGORY
   ========================================= */

.hama-hero-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 14px;
    padding: 6px 13px;

    border-radius: 30px;

    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: #fff;
    font-size: 12px;
    font-weight: 600;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .12);
}

.hama-hero-category::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff3b5c;
    box-shadow: 0 0 10px rgba(255, 59, 92, .8);
}


/* =========================================
   MAIN TITLE
   ========================================= */

.hama-hero-title {
    max-width: 850px;

    margin: 0 0 17px !important;

    color: #fff !important;

    font-size: 32px !important;
    line-height: 1.65 !important;

    font-weight: 800 !important;

    letter-spacing: -.3px;

    text-shadow: 0 3px 15px rgba(0, 0, 0, .35);
}


/* =========================================
   MAIN META
   ========================================= */

.hama-hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;

    color: rgba(255, 255, 255, .88);

    font-size: 12px;
}

.hama-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hama-hero-meta i {
    font-size: 14px;
}


/* =========================================
   SIDE NEWS
   ========================================= */

.hama-hero-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hama-hero-small {
    position: relative;

    height: 226px;

    overflow: hidden;

    border-radius: 16px;

    background: #111;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
}

.hama-hero-small > a {
    position: relative;

    display: block;

    width: 100%;
    height: 100%;
}

.hama-hero-small-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hama-hero-small-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.hama-hero-small:hover img {
    transform: scale(1.08);
}


/* =========================================
   SIDE GRADIENT
   ========================================= */

.hama-hero-small > a::after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 25%,
        rgba(0, 0, 0, .82) 100%
    );

    z-index: 1;
}


/* =========================================
   SIDE CONTENT
   ========================================= */

.hama-hero-small-content {
    position: absolute;

    z-index: 3;

    right: 18px;
    bottom: 17px;
    left: 18px;

    color: #fff;
}

.hama-hero-small-category {
    display: inline-block;

    margin-bottom: 5px;

    color: rgba(255, 255, 255, .9);

    font-size: 11px;
    font-weight: 600;
}

.hama-hero-small-content h3 {
    margin: 0 0 8px !important;

    color: #fff !important;

    font-size: 17px !important;
    line-height: 1.65 !important;

    font-weight: 700 !important;

    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

.hama-hero-small-date {
    display: flex;
    align-items: center;
    gap: 5px;

    color: rgba(255, 255, 255, .75);

    font-size: 10px;
}


/* =========================================
   DECORATIVE TOP LINE
   ========================================= */

.hama-hero-main::before {
    content: "";

    position: absolute;

    z-index: 5;

    top: 0;
    right: 35px;
    left: 35px;

    height: 3px;

    border-radius: 0 0 10px 10px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, .8),
        transparent
    );

    opacity: .7;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 950px) {

    .hama-hero-container {
        grid-template-columns: 1fr;
    }

    .hama-hero-main {
        height: 430px;
    }

    .hama-hero-image {
        height: 430px;
    }

    .hama-hero-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hama-hero-small {
        height: 210px;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .hama-hero-slider {
        margin: 18px auto 25px;
        padding: 0 10px;
    }

    .hama-hero-container {
        gap: 10px;
    }

    .hama-hero-main {
        height: 340px;
        border-radius: 13px;
    }

    .hama-hero-image {
        height: 340px;
    }

    .hama-hero-content {
        padding: 20px;
    }

    .hama-hero-title {
        font-size: 21px !important;
        line-height: 1.7 !important;
    }

    .hama-hero-category {
        font-size: 10px;
        padding: 5px 10px;
    }

    .hama-hero-meta {
        gap: 12px;
        font-size: 10px;
    }

    .hama-hero-side {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hama-hero-small {
        height: 190px;
        border-radius: 12px;
    }

    .hama-hero-small-content {
        right: 15px;
        bottom: 13px;
        left: 15px;
    }

    .hama-hero-small-content h3 {
        font-size: 15px !important;
    }

}
/* =========================================
   HAMA NEWS - REAL SLIDER
   ========================================= */

.hama-hero-main {
    position: relative;
}


/* =========================================
   SLIDES
   ========================================= */

.hama-hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    z-index: 1;

    transition:
        opacity .7s ease,
        visibility .7s ease;
}

.hama-hero-slide.active {
    opacity: 1;
    visibility: visible;

    z-index: 2;
}


/* Image inside slide */

.hama-hero-slide .hama-hero-image {
    width: 100%;
    height: 100%;
}


/* =========================================
   SLIDER ARROWS
   ========================================= */

.hama-slider-prev,
.hama-slider-next {
    position: absolute;

    top: 50%;

    z-index: 10;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.35);

    border-radius: 50%;

    background: rgba(0,0,0,.28);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: #fff;

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        background .3s ease,
        transform .3s ease,
        border-color .3s ease;
}

.hama-slider-prev {
    right: 18px;
}

.hama-slider-next {
    left: 18px;
}

.hama-slider-prev:hover,
.hama-slider-next:hover {
    background: rgba(0,0,0,.55);

    border-color: rgba(255,255,255,.7);

    transform: translateY(-50%) scale(1.08);
}

.hama-slider-prev i,
.hama-slider-next i {
    font-size: 17px;
}


/* =========================================
   SLIDER DOTS
   ========================================= */

.hama-slider-dots {
    position: absolute;

    z-index: 10;

    bottom: 18px;

    left: 50%;

    display: flex;

    align-items: center;

    gap: 7px;

    transform: translateX(-50%);
}

.hama-slider-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(255,255,255,.5);

    cursor: pointer;

    transition:
        width .3s ease,
        background .3s ease;
}

.hama-slider-dot.active {
    width: 24px;

    border-radius: 10px;

    background: #fff;
}


/* =========================================
   SLIDE CONTENT ANIMATION
   ========================================= */

.hama-hero-slide.active .hama-hero-content {
    animation: hamaHeroContent .7s ease both;
}

@keyframes hamaHeroContent {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   IMAGE ZOOM
   ========================================= */

.hama-hero-slide.active .hama-hero-image img {
    animation: hamaHeroImage 5s ease both;
}

@keyframes hamaHeroImage {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }

}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 950px) {

    .hama-slider-prev,
    .hama-slider-next {
        width: 38px;
        height: 38px;
    }

    .hama-slider-prev {
        right: 14px;
    }

    .hama-slider-next {
        left: 14px;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .hama-slider-prev,
    .hama-slider-next {
        width: 34px;
        height: 34px;
    }

    .hama-slider-prev {
        right: 10px;
    }

    .hama-slider-next {
        left: 10px;
    }

    .hama-slider-prev i,
    .hama-slider-next i {
        font-size: 14px;
    }

    .hama-slider-dots {
        bottom: 12px;
        gap: 5px;
    }

    .hama-slider-dot {
        width: 6px;
        height: 6px;
    }

    .hama-slider-dot.active {
        width: 18px;
    }

}
/* =========================================================
   HAMA NEWS - FEATURED NEWS CARDS
   ========================================================= */

.hama-featured-news {
    width: 100%;
    margin: 30px auto 40px;
    padding: 0 15px;
    direction: rtl;
}

.hama-featured-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


/* =========================================================
   CARD
   ========================================================= */

.hama-featured-card {
    position: relative;

    height: 360px;

    overflow: hidden;

    border-radius: 18px;

    background: #111;

    box-shadow: 0 12px 35px rgba(0, 0, 0, .12);

    transform: translateY(0);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.hama-featured-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 20px 45px rgba(0, 0, 0, .20);
}


/* =========================================================
   LINK
   ========================================================= */

.hama-featured-link {
    position: relative;

    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;

    color: #fff;

    text-decoration: none;
}


/* =========================================================
   IMAGE
   ========================================================= */

.hama-featured-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
}

.hama-featured-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .7s cubic-bezier(.2, .7, .2, 1);
}

.hama-featured-card:hover
.hama-featured-image img {
    transform: scale(1.09);
}


/* No Image */

.hama-featured-no-image {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #222;

    color: rgba(255, 255, 255, .4);

    font-size: 45px;
}


/* =========================================================
   GRADIENT
   ========================================================= */

.hama-featured-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .02) 15%,
            rgba(0, 0, 0, .18) 42%,
            rgba(0, 0, 0, .88) 100%
        );
}


/* =========================================================
   CONTENT
   ========================================================= */

.hama-featured-content {
    position: absolute;

    z-index: 3;

    right: 0;
    bottom: 0;
    left: 0;

    padding: 25px;
}


/* =========================================================
   CATEGORY
   ========================================================= */

.hama-featured-category {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin-bottom: 12px;

    padding: 5px 12px;

    border-radius: 20px;

    background: rgba(255, 255, 255, .15);

    border: 1px solid rgba(255, 255, 255, .28);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    color: #fff;

    font-size: 11px;

    font-weight: 600;
}

.hama-featured-category::before {
    content: "";

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #ff3b5c;

    box-shadow: 0 0 8px rgba(255, 59, 92, .8);
}


/* =========================================================
   TITLE
   ========================================================= */

.hama-featured-title {
    margin: 0 0 14px !important;

    color: #fff !important;

    font-size: 20px !important;

    line-height: 1.65 !important;

    font-weight: 800 !important;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, .5);
}


/* =========================================================
   META
   ========================================================= */

.hama-featured-meta {
    display: flex;

    align-items: center;

    gap: 16px;

    color: rgba(255, 255, 255, .78);

    font-size: 11px;
}

.hama-featured-meta span {
    display: inline-flex;

    align-items: center;

    gap: 5px;
}

.hama-featured-meta i {
    font-size: 12px;
}


/* =========================================================
   TOP DECORATION
   ========================================================= */

.hama-featured-card::before {
    content: "";

    position: absolute;

    z-index: 5;

    top: 0;
    right: 25px;
    left: 25px;

    height: 3px;

    border-radius: 0 0 10px 10px;

    background: rgba(255, 255, 255, .75);

    opacity: .7;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .hama-featured-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hama-featured-card {
        height: 330px;
    }

    .hama-featured-card:last-child {
        grid-column: span 2;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .hama-featured-news {
        margin: 20px auto 30px;

        padding: 0 10px;
    }

    .hama-featured-container {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .hama-featured-card {
        height: 300px;

        border-radius: 13px;
    }

    .hama-featured-card:last-child {
        grid-column: auto;
    }

    .hama-featured-content {
        padding: 20px;
    }

    .hama-featured-title {
        font-size: 18px !important;

        line-height: 1.7 !important;
    }

    .hama-featured-category {
        font-size: 10px;

        padding: 5px 10px;
    }

    .hama-featured-meta {
        font-size: 10px;

        gap: 12px;
    }

}
/* =========================================================
   HAMA NEWS - MOST IMPORTANT NEWS
   ========================================================= */

.hama-important-news {
    width: 100%;
    margin: 35px auto 45px;
    padding: 35px 15px;
    background: #ffffff;
    direction: rtl;
}

.hama-important-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.hama-important-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.hama-important-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hama-important-line {
    display: block;
    width: 5px;
    height: 30px;
    border-radius: 10px;
    background: #e11d48;
}

.hama-important-heading h2 {
    margin: 0 !important;
    color: #171717 !important;
    font-size: 25px !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
}

.hama-important-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 8px;
    background: #f5f5f5;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}

.hama-important-more:hover {
    background: #e11d48;
    color: #fff;
}


/* =========================================================
   SLIDER
   ========================================================= */

.hama-important-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hama-important-group {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: 100%;

    opacity: 0;
    visibility: hidden;

    position: absolute;
    top: 0;
    right: 0;

    transform: translateY(15px);

    transition:
        opacity .6s ease,
        transform .6s ease,
        visibility .6s ease;
}

.hama-important-group.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =========================================================
   CARD
   ========================================================= */

.hama-important-card {
    position: relative;
    height: 335px;

    overflow: hidden;
    border-radius: 16px;

    background: #111;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .10);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.hama-important-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
}


/* =========================================================
   LINK
   ========================================================= */

.hama-important-link {
    position: relative;

    display: block;

    width: 100%;
    height: 100%;

    color: #fff;
    text-decoration: none;
}


/* =========================================================
   IMAGE
   ========================================================= */

.hama-important-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
}

.hama-important-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .7s cubic-bezier(.2, .7, .2, 1);
}

.hama-important-card:hover .hama-important-image img {
    transform: scale(1.08);
}


/* =========================================================
   NO IMAGE
   ========================================================= */

.hama-important-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #222;

    color: rgba(255, 255, 255, .4);

    font-size: 40px;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.hama-important-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .02) 15%,
            rgba(0, 0, 0, .15) 42%,
            rgba(0, 0, 0, .92) 100%
        );
}


/* =========================================================
   CONTENT
   ========================================================= */

.hama-important-content {
    position: absolute;

    z-index: 3;

    right: 0;
    bottom: 0;
    left: 0;

    padding: 22px;
}


/* =========================================================
   CATEGORY
   ========================================================= */

.hama-important-category {
    display: inline-flex;

    align-items: center;
    gap: 6px;

    margin-bottom: 11px;

    padding: 5px 11px;

    border-radius: 20px;

    background: rgba(255, 255, 255, .15);

    border: 1px solid rgba(255, 255, 255, .28);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    color: #fff;

    font-size: 10px;

    font-weight: 600;
}

.hama-important-category::before {
    content: "";

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #e11d48;

    box-shadow: 0 0 7px rgba(225, 29, 72, .8);
}


/* =========================================================
   TITLE
   ========================================================= */

.hama-important-content h3 {
    margin: 0 0 11px !important;

    color: #fff !important;

    font-size: 18px !important;

    line-height: 1.7 !important;

    font-weight: 800 !important;

    display: -webkit-box;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, .6);
}


/* =========================================================
   META
   ========================================================= */

.hama-important-meta {
    display: flex;
    align-items: center;

    color: rgba(255, 255, 255, .78);

    font-size: 10px;
}

.hama-important-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hama-important-meta i {
    font-size: 11px;
}


/* =========================================================
   DOTS
   ========================================================= */

.hama-important-dots {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 20px;
}

.hama-important-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #d4d4d4;

    cursor: pointer;

    transition:
        width .3s ease,
        background .3s ease;
}

.hama-important-dot.active {
    width: 24px;

    border-radius: 10px;

    background: #e11d48;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

    .hama-important-news {
        margin: 30px auto 40px;
        padding: 30px 15px;
    }

    .hama-important-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .hama-important-group .hama-important-card:nth-child(n+3) {
        display: none;
    }

    .hama-important-card {
        height: 300px;
        border-radius: 14px;
    }

    .hama-important-content {
        padding: 18px;
    }

    .hama-important-content h3 {
        font-size: 16px !important;
        line-height: 1.65 !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .hama-important-news {
        margin: 25px auto 30px;
        padding: 25px 10px;
    }

    .hama-important-header {
        margin-bottom: 17px;
    }

    .hama-important-heading {
        gap: 8px;
    }

    .hama-important-line {
        width: 4px;
        height: 25px;
    }

    .hama-important-heading h2 {
        font-size: 20px !important;
    }

    .hama-important-more {
        padding: 7px 9px;
        font-size: 10px;
    }

    .hama-important-group {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hama-important-card {
        height: 245px;
        border-radius: 11px;
    }

    .hama-important-content {
        padding: 13px;
    }

    .hama-important-content h3 {
        font-size: 13px !important;
        line-height: 1.6 !important;
        -webkit-line-clamp: 3;
    }

    .hama-important-category {
        font-size: 8px;
        padding: 3px 7px;
        margin-bottom: 7px;
    }

    .hama-important-meta {
        font-size: 8px;
    }

    .hama-important-meta i {
        font-size: 9px;
    }

    .hama-important-dots {
        margin-top: 14px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .hama-important-group {
        grid-template-columns: 1fr;
    }

    .hama-important-group .hama-important-card:nth-child(2) {
        display: none;
    }

    .hama-important-card {
        height: 260px;
    }

    .hama-important-content h3 {
        font-size: 14px !important;
    }

}

/* =========================================================
   HAMA NEWS
   LATEST NEWS + WEATHER
   ========================================================= */

.hama-latest-section {
    width: 100%;
    margin: 35px 0 45px;
    padding: 35px 15px 40px;
    background: #fff;
    direction: rtl;
}

.hama-latest-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.hama-latest-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.hama-latest-title-wrap {
    display: flex;
    align-items: center;
    gap: 13px;
}

.hama-latest-title-line {
    width: 5px;
    height: 48px;
    border-radius: 10px;
    background: #e11d48;
}

.hama-latest-small-title {
    display: block;
    margin-bottom: 3px;
    color: #e11d48;
    font-size: 12px;
    font-weight: 600;
}

.hama-latest-title {
    margin: 0 !important;
    color: #171717 !important;
    font-size: 26px !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
}

.hama-latest-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 600;
    transition: .3s ease;
}

.hama-latest-more:hover {
    background: #e11d48;
    border-color: #e11d48;
    color: #fff !important;
}


/* =========================================================
   FOUR COLUMNS
   3 NEWS + WEATHER
   ========================================================= */

.hama-latest-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}


/* =========================================================
   NEWS CARD
   ========================================================= */

.hama-latest-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.hama-latest-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 35px rgba(0,0,0,.13);
}

.hama-latest-card-link {
    display: block;
    height: 100%;
    color: inherit !important;
    text-decoration: none !important;
}


/* IMAGE */

.hama-latest-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #eee;
}

.hama-latest-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s ease;
}

.hama-latest-card:hover .hama-latest-card-image img {
    transform: scale(1.07);
}


/* CATEGORY */

.hama-latest-card-category {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 5px 11px;
    border-radius: 20px;
    background: #e11d48;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}


/* CONTENT */

.hama-latest-card-content {
    padding: 17px 18px 15px;
}

.hama-latest-card-title {
    min-height: 57px;
    margin: 0 0 9px !important;
    color: #171717 !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    font-weight: 750 !important;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    transition: color .25s ease;
}

.hama-latest-card:hover .hama-latest-card-title {
    color: #e11d48 !important;
}

.hama-latest-card-excerpt {
    min-height: 43px;
    margin: 0 0 14px !important;
    color: #777 !important;
    font-size: 12px !important;
    line-height: 1.8 !important;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* FOOTER */

.hama-latest-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 11px;
    border-top: 1px solid #eee;
    color: #999;
    font-size: 10px;
}

.hama-latest-card-footer span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hama-latest-read {
    color: #e11d48;
    font-weight: 600;
}


/* =========================================================
   WEATHER CARD
   ========================================================= */

.hama-weather-card {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    padding: 24px;
    border-radius: 14px;
    background:#01A6E3;
    color: #fff;
    box-shadow: 0 10px 30px rgba(225,29,72,.22);
}


/* decorative circle */

.hama-weather-card::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    left: -60px;
    top: -60px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}

.hama-weather-card::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    right: -35px;
    bottom: -35px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
}


/* WEATHER TOP */

.hama-weather-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.hama-weather-label {
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
}

.hama-weather-top h3 {
    margin: 0 !important;
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 800 !important;
}

.hama-weather-country {
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,.7);
    font-size: 10px;
}

.hama-weather-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.13);
    font-size: 27px;
}


/* TEMPERATURE */

.hama-weather-main {
    position: relative;
    z-index: 2;
    margin: 30px 0;
}

.hama-weather-temperature {
    display: flex;
    align-items: flex-start;
    direction: ltr;
}

.hama-weather-temperature span {
    font-size: 58px;
    line-height: 1;
    font-weight: 800;
}

.hama-weather-temperature sup {
    margin-top: 5px;
    font-size: 20px;
}

.hama-weather-status {
    margin-top: 8px;
    color: rgba(255,255,255,.9);
    font-size: 13px;
}


/* DETAILS */

.hama-weather-info {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hama-weather-info-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 9px;
    background: rgba(255,255,255,.09);
}

.hama-weather-info-item > i {
    font-size: 18px;
}

.hama-weather-info-item small {
    display: block;
    margin-bottom: 2px;
    color: rgba(255,255,255,.65);
    font-size: 9px;
}

.hama-weather-info-item strong {
    display: block;
    color: #fff;
    font-size: 11px;
}


/* FOOTER */

.hama-weather-footer {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 18px;
    left: 24px;

    display: flex;
    justify-content: space-between;

    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.15);

    color: rgba(255,255,255,.7);
    font-size: 10px;
}

.hama-weather-footer span {
    display: flex;
    align-items: center;
    gap: 5px;
}


/* EMPTY */

.hama-latest-empty {
    grid-column: 1 / -1;
    padding: 35px;
    text-align: center;
    border: 1px dashed #ddd;
    border-radius: 12px;
    color: #888;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .hama-latest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hama-weather-card {
        min-height: 420px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .hama-latest-section {
        margin: 25px 0 30px;
        padding: 25px 10px 30px;
    }

    .hama-latest-header {
        margin-bottom: 18px;
    }

    .hama-latest-title {
        font-size: 20px !important;
    }

    .hama-latest-small-title {
        font-size: 10px;
    }

    .hama-latest-more {
        padding: 7px 9px;
        font-size: 10px;
    }

    .hama-latest-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hama-latest-card-image {
        height: 220px;
    }

    .hama-weather-card {
        min-height: 350px;
    }

}
/* =========================================================
   HAMA HOME LATEST NEWS V2
   FINAL VERSION
========================================================= */

.hama-home-latest-v2 {
    width: 100%;
    margin: 40px 0;
    padding: 0 15px;
    direction: rtl;
}

.hama-home-latest-container-v2 {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.hama-home-latest-heading-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
}

.hama-home-latest-heading-right-v2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hama-home-latest-heading-line-v2 {
    width: 5px;
    height: 30px;
    display: block;
    background: #01A6E3;
    border-radius: 5px;
}


/* =========================================================
   HEADER TITLE
========================================================= */

.hama-home-latest-title-v2 {
    margin: 0;
    padding: 0;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 800;

    /* سفید */
    color: #ffffff !important;
}


/* =========================================================
   VIEW ALL
========================================================= */

.hama-home-latest-view-all-v2 {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #555555;
    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
    white-space: nowrap;

    transition: .2s ease;
}

.hama-home-latest-view-all-v2:hover {
    color: #01A6E3;
}


/* =========================================================
   CATEGORY FILTER
   افقی + اسکرول
========================================================= */

.hama-home-latest-categories-v2 {
    display: flex;
    align-items: center;

    gap: 9px;

    /* مهم */
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;

    margin-bottom: 25px;
    padding: 4px 2px 12px;

    width: 100%;

    /* جلوگیری از شکستن دسته‌بندی‌ها */
    white-space: nowrap;

    /* اسکرول نرم */
    scroll-behavior: smooth;

    /* مخفی کردن scrollbar در Firefox */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}


/* scrollbar Chrome / Edge / Safari */

.hama-home-latest-categories-v2::-webkit-scrollbar {
    height: 5px;
}

.hama-home-latest-categories-v2::-webkit-scrollbar-track {
    background: transparent;
}

.hama-home-latest-categories-v2::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.hama-home-latest-categories-v2::-webkit-scrollbar-thumb:hover {
    background: #01A6E3;
}


/* دسته‌بندی */

.hama-home-latest-categories-v2 a {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;
    padding: 7px 14px;

    background: #0A1C2D;

    border: 1px solid #203448;
    border-radius: 9px;

    color: #ffffff;

    text-decoration: none;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;

    white-space: nowrap;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


/* Hover */

.hama-home-latest-categories-v2 a:hover {
    background: #01A6E3;
    border-color: #01A6E3;
    color: #ffffff;

    transform: translateY(-1px);
}


/* Active */

.hama-home-latest-categories-v2 a.active {
    background: #01A6E3;
    border-color: #01A6E3;

    color: #ffffff;
}


/* =========================================================
   GRID
========================================================= */

.hama-home-latest-grid-v2 {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* =========================================================
   CARD
========================================================= */

.hama-home-latest-card-v2 {
    position: relative;
    min-width: 0;
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 14px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, .06);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.hama-home-latest-card-v2:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .10);
}


/* =========================================================
   IMAGE
========================================================= */

.hama-home-latest-image-v2 {
    position: relative;

    display: block;

    width: 100%;
    height: 220px;

    overflow: hidden;

    background: #f3f3f3;
}

.hama-home-latest-image-v2 img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

.hama-home-latest-card-v2:hover
.hama-home-latest-image-v2 img {
    transform: scale(1.05);
}


/* =========================================================
   CATEGORY BADGE
========================================================= */

.hama-home-latest-category-v2 {
    position: absolute;

    top: 14px;
    right: 14px;

    z-index: 3;

    display: inline-flex;
    align-items: center;

    padding: 6px 11px;

    background: #01A6E3;
    color: #ffffff;

    border-radius: 6px;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .12);
}


/* =========================================================
   NO IMAGE
========================================================= */

.hama-home-latest-no-image-v2 {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f4f7f9;
    color: #aab4bd;
}

.hama-home-latest-no-image-v2 i {
    font-size: 42px;
}


/* =========================================================
   CONTENT
========================================================= */

.hama-home-latest-content-v2 {
    padding: 18px;
}


/* =========================================================
   META
========================================================= */

.hama-home-latest-meta-v2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;
    margin-bottom: 10px;

    color: #94a3b8;

    font-size: 11px;
}

.hama-home-latest-meta-v2 span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hama-home-latest-meta-v2 i {
    color: #01A6E3;
}


/* =========================================================
   POST TITLE
========================================================= */

.hama-home-latest-content-v2 h3 {
    margin: 0 0 10px;
    padding: 0;

    font-size: 18px;
    line-height: 1.7;
    font-weight: 800;

    /* سیاه */
    color: #111111 !important;
}

.hama-home-latest-content-v2 h3 a {
    color: #111111 !important;

    text-decoration: none;

    transition: color .2s ease;
}

.hama-home-latest-content-v2 h3 a:hover {
    color: #01A6E3 !important;
}


/* =========================================================
   EXCERPT
========================================================= */

.hama-home-latest-content-v2 p {
    margin: 0 0 15px;

    color: #64748b;

    font-size: 13px;
    line-height: 1.9;
}


/* =========================================================
   READ MORE
========================================================= */

.hama-home-latest-read-more-v2 {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: #01A6E3;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: .2s ease;
}

.hama-home-latest-read-more-v2:hover {
    color: #111111;
}


/* =========================================================
   EMPTY
========================================================= */

.hama-home-latest-empty-v2 {
    grid-column: 1 / -1;

    text-align: center;

    padding: 50px 20px;

    color: #94a3b8;
}

.hama-home-latest-empty-v2 i {
    display: block;

    margin-bottom: 10px;

    font-size: 40px;
}


/* =========================================================
   PAGINATION
========================================================= */

.hama-home-latest-v2 .hama-home-latest-pagination-v2 {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 8px;

    margin-top: 35px;

    direction: rtl;

    flex-wrap: wrap;
}

.hama-home-latest-v2 .hama-home-latest-page-v2 {
    min-width: 42px;
    height: 42px;

    padding: 0 12px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    border: 1px solid #e5e7eb;
    border-radius: 8px;

    background: #111827;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none !important;

    transition:
        background-color .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.hama-home-latest-v2 .hama-home-latest-page-v2:hover {
    background: #01A6E3;

    border-color: #01A6E3;

    color: #ffffff !important;

    transform: translateY(-2px);
}

.hama-home-latest-v2 .hama-home-latest-current-v2 {
    background: #01A6E3 !important;

    border-color: #01A6E3 !important;

    color: #ffffff !important;

    cursor: default;
}

.hama-home-latest-v2 .hama-home-latest-prev-v2,
.hama-home-latest-v2 .hama-home-latest-next-v2 {
    gap: 7px;

    padding-left: 16px;
    padding-right: 16px;
}

.hama-home-latest-v2 .hama-home-latest-page-v2 i {
    font-size: 11px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .hama-home-latest-grid-v2 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .hama-home-latest-v2 {
        padding: 0 10px;
        margin: 30px 0;
    }


    /* HEADER */

    .hama-home-latest-heading-v2 {
        align-items: flex-start;
        gap: 12px;
    }

    .hama-home-latest-title-v2 {
        font-size: 20px;
    }

    .hama-home-latest-view-all-v2 {
        font-size: 11px;
    }


    /* CATEGORY SCROLL */

    .hama-home-latest-categories-v2 {
        gap: 7px;

        overflow-x: auto;
        overflow-y: hidden;

        flex-wrap: nowrap;

        padding-bottom: 8px;

        -webkit-overflow-scrolling: touch;
    }

    .hama-home-latest-categories-v2 a {
        flex: 0 0 auto;

        min-height: 34px;

        padding: 6px 12px;

        font-size: 11px;
    }


    /* CARDS */

    .hama-home-latest-grid-v2 {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .hama-home-latest-image-v2 {
        height: 210px;
    }


    /* PAGINATION */

    .hama-home-latest-v2 .hama-home-latest-pagination-v2 {
        gap: 6px;

        margin-top: 25px;
    }

    .hama-home-latest-v2 .hama-home-latest-page-v2 {
        min-width: 38px;
        height: 38px;

        padding: 0 9px;

        font-size: 13px;
    }

    .hama-home-latest-v2 .hama-home-latest-prev-v2,
    .hama-home-latest-v2 .hama-home-latest-next-v2 {
        padding-left: 12px;
        padding-right: 12px;
    }

}
/* =========================================================
   HAMA NEWS - PREMIUM FOOTER
   COLOR: #01A6E3
   ========================================================= */

.hama-premium-footer {

    --hama-blue: #01A6E3;
    --hama-dark: #0b1220;
    --hama-dark-2: #111c30;
    --hama-bottom: #080e19;

    width: 100%;

    direction: rtl;

    color: #ffffff;

    background: var(--hama-dark);

    font-family: inherit;

    position: relative;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.hama-premium-footer .hama-footer-container {

    width: 100%;

    max-width: 1280px;

    margin: 0 auto;

    padding-left: 25px;
    padding-right: 25px;

    box-sizing: border-box;
}


/* =========================================================
   TOP CTA
   ========================================================= */

.hama-footer-cta {

    background: var(--hama-dark-2);

    border-bottom: 1px solid rgba(255,255,255,.08);
}


.hama-footer-cta .hama-footer-container {

    min-height: 110px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.hama-footer-cta-content {

    display: flex;

    align-items: center;

    gap: 18px;
}


.hama-footer-cta-icon {

    width: 54px;
    height: 54px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background: var(--hama-blue);

    color: #ffffff;

    font-size: 20px;

    box-shadow:
        0 8px 25px rgba(1,166,227,.28);
}


.hama-footer-cta h3 {

    margin: 0 0 5px;

    color: #ffffff;

    font-size: 18px;

    font-weight: 700;
}


.hama-footer-cta p {

    margin: 0;

    color: #94a3b8;

    font-size: 13px;

    line-height: 1.8;
}


.hama-footer-cta-button {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 22px;

    border-radius: 8px;

    background: #0B1220;

    color: #111827;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

    transition: all .3s ease;
}


.hama-footer-cta-button:hover {

    background: var(--hama-blue);

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(1,166,227,.25);
}


/* =========================================================
   MAIN FOOTER
   ========================================================= */

.hama-footer-main {

    background:

        radial-gradient(
            circle at 80% 20%,
            rgba(1,166,227,.08),
            transparent 30%
        ),

        var(--hama-dark);
}


.hama-footer-main .hama-footer-container {

    padding-top: 70px;

    padding-bottom: 60px;

    display: grid;

    grid-template-columns:

        1.6fr
        1fr
        1fr
        1fr;

    gap: 55px;
}


/* =========================================================
   BRAND / LOGO
   ========================================================= */

.hama-footer-brand {

    min-width: 0;
}


.hama-footer-logo {

    display: inline-block;

    margin-bottom: 25px;

    text-decoration: none;

    line-height: 0;
}


.hama-footer-logo img {

    display: block;

    width: auto;

    max-width: 250px;

    max-height: 105px;

    height: auto;

    object-fit: contain;

    transition: all .3s ease;
}


.hama-footer-logo:hover img {

    transform: scale(1.04);
}


.hama-footer-description {

    max-width: 410px;

    margin: 0;

    color: #94a3b8;

    font-size: 14px;

    line-height: 2.15;
}


/* =========================================================
   SOCIAL MEDIA
   ========================================================= */

.hama-footer-social {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 27px;
}


.hama-footer-social a {

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.08);

    color: #cbd5e1;

    font-size: 15px;

    text-decoration: none;

    transition: all .3s ease;
}


.hama-footer-social a:hover {

    background: var(--hama-blue);

    border-color: var(--hama-blue);

    color: #ffffff;

    transform: translateY(-4px);

    box-shadow:
        0 8px 20px rgba(1,166,227,.28);
}


/* =========================================================
   COLUMNS
   ========================================================= */

.hama-footer-column h3 {

    position: relative;

    margin: 0 0 26px;

    padding-bottom: 14px;

    color: #ffffff;

    font-size: 18px;

    font-weight: 700;
}


.hama-footer-column h3::after {

    content: "";

    position: absolute;

    right: 0;

    bottom: 0;

    width: 40px;

    height: 3px;

    border-radius: 20px;

    background: var(--hama-blue);

    box-shadow:
        0 3px 10px rgba(1,166,227,.3);
}


.hama-footer-column ul {

    list-style: none;

    padding: 0;

    margin: 0;
}


.hama-footer-column li {

    margin-bottom: 14px;
}


.hama-footer-column li a {

    display: inline-flex;

    align-items: center;

    color: #94a3b8;

    text-decoration: none;

    font-size: 14px;

    transition: all .25s ease;
}


.hama-footer-column li a::before {

    content: "‹";

    margin-left: 8px;

    color: var(--hama-blue);

    font-size: 18px;

    font-weight: 700;

    transition: .25s ease;
}


.hama-footer-column li a:hover {

    color: #ffffff;

    transform: translateX(-4px);
}


.hama-footer-column li a:hover::before {

    margin-left: 11px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.hama-footer-contact li {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-bottom: 18px;

    color: #94a3b8;

    font-size: 14px;

    line-height: 1.8;
}


.contact-icon {

    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background: rgba(1,166,227,.10);

    color: var(--hama-blue);

    font-size: 14px;

    border: 1px solid rgba(1,166,227,.12);
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.hama-footer-bottom {

    background: var(--hama-bottom);

    border-top: 1px solid rgba(255,255,255,.07);
}


.hama-footer-bottom .hama-footer-container {

    min-height: 70px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.hama-footer-copyright {

    color: #64748b;

    font-size: 12px;
}


.hama-footer-copyright strong {

    color: #cbd5e1;
}


.hama-footer-bottom-links {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #475569;

    font-size: 12px;
}


.hama-footer-bottom-links a {

    color: #64748b;

    text-decoration: none;

    transition: .25s ease;
}


.hama-footer-bottom-links a:hover {

    color: var(--hama-blue);
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.hama-back-to-top {

    position: absolute;

    left: 25px;

    bottom: 17px;

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.08);

    color: #94a3b8;

    text-decoration: none;

    font-size: 12px;

    transition: all .3s ease;
}


.hama-back-to-top:hover {

    background: var(--hama-blue);

    border-color: var(--hama-blue);

    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 8px 18px rgba(1,166,227,.25);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 992px) {

    .hama-footer-main .hama-footer-container {

        grid-template-columns:

            1.5fr
            1fr
            1fr;

        gap: 40px;
    }


    .hama-footer-brand {

        grid-column: span 3;
    }


    .hama-footer-description {

        max-width: 650px;
    }


    .hama-footer-logo img {

        max-width: 230px;

        max-height: 95px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .hama-premium-footer .hama-footer-container {

        padding-left: 20px;

        padding-right: 20px;
    }


    .hama-footer-cta .hama-footer-container {

        padding-top: 25px;

        padding-bottom: 25px;

        flex-direction: column;

        align-items: flex-start;
    }


    .hama-footer-cta-content {

        align-items: flex-start;
    }


    .hama-footer-cta-icon {

        width: 46px;

        height: 46px;

        border-radius: 11px;

        font-size: 17px;
    }


    .hama-footer-cta h3 {

        font-size: 16px;
    }


    .hama-footer-cta p {

        font-size: 12px;
    }


    .hama-footer-cta-button {

        width: 100%;

        justify-content: center;

        box-sizing: border-box;
    }


    .hama-footer-main .hama-footer-container {

        grid-template-columns: 1fr;

        gap: 40px;

        padding-top: 50px;

        padding-bottom: 45px;
    }


    .hama-footer-brand {

        grid-column: auto;
    }


    .hama-footer-logo img {

        max-width: 190px;

        max-height: 85px;
    }


    .hama-footer-description {

        max-width: 100%;

        font-size: 13px;

        line-height: 2;
    }


    .hama-footer-social {

        margin-top: 22px;
    }


    .hama-footer-social a {

        width: 40px;

        height: 40px;
    }


    .hama-footer-column h3 {

        font-size: 17px;

        margin-bottom: 21px;
    }


    .hama-footer-bottom .hama-footer-container {

        padding-top: 18px;

        padding-bottom: 18px;

        flex-direction: column;

        justify-content: center;

        text-align: center;
    }


    .hama-footer-bottom-links {

        flex-wrap: wrap;

        justify-content: center;

        line-height: 1.8;
    }


    .hama-back-to-top {

        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .hama-premium-footer .hama-footer-container {

        padding-left: 16px;

        padding-right: 16px;
    }


    .hama-footer-cta h3 {

        font-size: 15px;
    }


    .hama-footer-cta p {

        font-size: 11.5px;
    }


    .hama-footer-logo img {

        max-width: 165px;

        max-height: 75px;
    }


    .hama-footer-description {

        font-size: 12px;
    }


    .hama-footer-social {

        gap: 8px;
    }


    .hama-footer-social a {

        width: 37px;

        height: 37px;

        font-size: 13px;
    }


    .hama-footer-column li a,
    .hama-footer-contact li {

        font-size: 12px;
    }


    .hama-footer-bottom-links {

        font-size: 11px;
    }


    .hama-footer-copyright {

        font-size: 11px;
    }

}

/* =========================================================
   HAMA CATEGORY ARCHIVE V2
========================================================= */

.hama-category-page-v2 {
    width: 100%;
    background: #f8fafc;
    padding: 45px 0 60px;
    direction: rtl;
}

.hama-category-container-v2 {
    width: min(1180px, calc(100% - 30px));
    margin: 0 auto;
}


/* =========================
   CATEGORY HEADER
========================= */

.hama-category-heading-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    color:#111827;
}

.hama-category-title-wrap-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hama-category-line-v2 {
    width: 5px;
    height: 32px;
    background: #01a6e3;
    border-radius: 5px;
}

.hama-category-title-wrap-v2 h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #111827;
}

.hama-category-count-v2 {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 9px 16px;
    color: #64748b;
    font-size: 14px;
}


/* =========================
   POSTS GRID
========================= */

.hama-category-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* =========================
   CARD
========================= */

.hama-category-card-v2 {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition: .3s ease;
    color:#111827;
}

.hama-category-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .10);
}


/* =========================
   IMAGE
========================= */

.hama-category-image-v2 {
    display: block;
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #e5e7eb;
}

.hama-category-image-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.hama-category-card-v2:hover
.hama-category-image-v2 img {
    transform: scale(1.05);
}

.hama-category-no-image-v2 {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: #01a6e3;
    background: #eef7fb;
}


/* =========================
   CONTENT
========================= */

.hama-category-content-v2 {
    padding: 18px;
}

.hama-category-meta-v2 {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 10px;
}

.hama-category-meta-v2 span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hama-category-meta-v2 i {
    color: #01a6e3;
}


.hama-category-content-v2 h2 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.8;
    font-weight: 700;
    color:#111827;
}

.hama-category-content-v2 h2 a {
    color: #111827;
    text-decoration: none;
    transition: .2s ease;
}

.hama-category-content-v2 h2 a:hover {
    color: #01a6e3;
}


.hama-category-content-v2 p {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 13px;
    line-height: 2;
}


/* =========================
   READ MORE
========================= */

.hama-category-read-more-v2 {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #01a6e3;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.hama-category-read-more-v2 i {
    transition: transform .2s ease;
}

.hama-category-read-more-v2:hover i {
    transform: translateX(-4px);
}


/* =========================
   PAGINATION
========================= */

.hama-category-pagination-v2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
}

.hama-category-pagination-v2 .page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;
    border: 1px solid #e2e8f0;

    background: #01a6e3;
    color: #334155;

    text-decoration: none;
    font-size: 13px;
    transition: .2s ease;
}

.hama-category-pagination-v2 .page-numbers:hover {
    background: #01a6e3;
    border-color: #01a6e3;
    color: #ffffff;
}

.hama-category-pagination-v2 .page-numbers.current {
    background: #01a6e3;
    border-color: #01a6e3;
    color: #ffffff;
}


/* =========================
   EMPTY
========================= */

.hama-category-empty-v2 {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.hama-category-empty-v2 i {
    font-size: 55px;
    color: #01a6e3;
    margin-bottom: 15px;
}

.hama-category-empty-v2 h2 {
    margin: 0 0 8px;
    color: #111827;
}

.hama-category-empty-v2 p {
    margin: 0;
    color: #64748b;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .hama-category-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .hama-category-page-v2 {
        padding: 30px 0 45px;
    }

    .hama-category-container-v2 {
        width: calc(100% - 20px);
    }

    .hama-category-heading-v2 {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 22px;
    }

    .hama-category-title-wrap-v2 h1 {
        font-size: 23px;
    }

    .hama-category-count-v2 {
        font-size: 12px;
    }

    .hama-category-grid-v2 {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hama-category-image-v2 {
        height: 210px;
    }

}
/* =========================================================
   FORCE HAMA POST TITLE COLOR
========================================================= */

.hama-category-card-v2 .hama-category-content-v2 h2,
.hama-category-card-v2 .hama-category-content-v2 h2 a,
.hama-category-card-v2 .hama-category-content-v2 h2 a:visited {
    color: #111827 !important;
}

.hama-category-card-v2 .hama-category-content-v2 h2 a:hover {
    color: #01a6e3 !important;
}
/* =========================================================
   HAMA SINGLE POST
========================================================= */

.hama-single-page {
    width: 100%;
    background: #f8fafc;
    padding: 45px 0 70px;
}

.hama-single-container {
    width: min(900px, calc(100% - 30px));
    margin: 0 auto;
}


/* =========================
   ARTICLE
========================= */

.hama-single-article {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 35px;
    overflow: hidden;
}


/* =========================
   CATEGORY
========================= */

.hama-single-category {
    margin-bottom: 15px;
}

.hama-single-category a {
    display: inline-flex;
    align-items: center;
    background: #01a6e3;
    color: #ffffff !important;
    padding: 7px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}


/* =========================
   TITLE
========================= */

.hama-single-title {
    margin: 0 0 18px;
    color: #111827 !important;
    font-size: 34px;
    line-height: 1.7;
    font-weight: 800;
}


/* =========================
   META
========================= */

.hama-single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 28px;
}

.hama-single-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hama-single-meta i {
    color: #01a6e3;
}


/* =========================
   FEATURED IMAGE
========================= */

.hama-single-featured-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 14px;
    overflow: hidden;
    background: #e5e7eb;
}

.hama-single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}


/* =========================
   CONTENT
========================= */

.hama-single-content {
    color: #1f2937;
    font-size: 17px;
    line-height: 2.2;
}

.hama-single-content p {
    margin: 0 0 22px;
}

.hama-single-content h2 {
    color: #111827;
    font-size: 25px;
    margin: 30px 0 15px;
}

.hama-single-content h3 {
    color: #111827;
    font-size: 21px;
    margin: 25px 0 12px;
}

.hama-single-content strong {
    color: #111827;
}

.hama-single-content a {
    color: #01a6e3;
}

.hama-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}


/* =========================
   MULTI PAGE
========================= */

.hama-single-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.hama-single-pages span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #01a6e3;
    color: #ffffff;
    border-radius: 8px;
}


/* =========================
   TAGS
========================= */

.hama-single-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #e5e7eb;
    color: #64748b;
    font-size: 13px;
}

.hama-single-tags a {
    color: #475569 !important;
    background: #f1f5f9;
    padding: 6px 10px;
    border-radius: 7px;
    text-decoration: none;
}

.hama-single-tags a:hover {
    background: #01a6e3;
    color: #ffffff !important;
}


/* =========================
   SHARE
========================= */

.hama-single-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #e5e7eb;
    color: #64748b;
    font-size: 13px;
}

.hama-single-share a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f1f5f9;
    color: #111827 !important;
    text-decoration: none;
    transition: .2s ease;
}

.hama-single-share a:hover {
    background: #01a6e3;
    color: #ffffff !important;
    transform: translateY(-2px);
}


/* =========================
   RELATED NEWS
========================= */

.hama-related-news {
    margin-top: 40px;
}

.hama-related-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hama-related-heading span {
    width: 5px;
    height: 30px;
    background: #01a6e3;
    border-radius: 5px;
}

.hama-related-heading h2 {
    margin: 0;
    color: #111827;
    font-size: 23px;
    font-weight: 800;
}

.hama-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hama-related-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 13px;
    overflow: hidden;
    transition: .25s ease;
}

.hama-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, .08);
}

.hama-related-image {
    display: block;
    height: 170px;
    overflow: hidden;
    background: #e5e7eb;
}

.hama-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .3s ease;
}

.hama-related-card:hover .hama-related-image img {
    transform: scale(1.05);
}

.hama-related-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef7fb;
    color: #01a6e3;
    font-size: 40px;
}

.hama-related-content {
    padding: 15px;
}

.hama-related-meta {
    color: #94a3b8;
    font-size: 11px;
    margin-bottom: 7px;
}

.hama-related-content h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
}

.hama-related-content h3 a {
    color: #111827 !important;
    text-decoration: none;
}

.hama-related-content h3 a:hover {
    color: #01a6e3 !important;
}


/* =========================
   EMPTY
========================= */

.hama-single-empty {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
}

.hama-single-empty i {
    color: #01a6e3;
    font-size: 55px;
    margin-bottom: 15px;
}

.hama-single-empty h2 {
    color: #111827;
    margin: 0 0 8px;
}

.hama-single-empty p {
    color: #64748b;
    margin: 0;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .hama-single-container {
        width: min(850px, calc(100% - 25px));
    }

    .hama-single-title {
        font-size: 29px;
    }

    .hama-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .hama-single-page {
        padding: 25px 0 45px;
    }

    .hama-single-container {
        width: calc(100% - 16px);
    }

    .hama-single-article {
        padding: 20px;
        border-radius: 12px;
    }

    .hama-single-title {
        font-size: 23px;
        line-height: 1.8;
    }

    .hama-single-meta {
        gap: 10px;
        font-size: 11px;
    }

    .hama-single-content {
        font-size: 15px;
        line-height: 2.1;
    }

    .hama-related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hama-related-image {
        height: 200px;
    }

}