:root {
    --c-bg: #f7fbfc;
    --c-surface: #ffffff;
    --c-surface-2: #eef8fb;
    --c-text: #0f172a;
    --c-text-2: #1f3a47;
    --c-muted: #5f7482;
    --c-border: #d8e6ee;
    --c-primary: #0f6d88;
    --c-primary-hover: #0c5a70;
    --c-on-primary: #ffffff;
    --c-android-accent: #a4ce4e;
    --c-on-android-accent: #15210f;
    --c-ios-accent: #25b5d7;
    --c-android: #5f8f2f;
    --c-android-hover: #4e7827;
    --c-on-android: #ffffff;
    --c-ios: #0f7899;
    --c-ios-hover: #0d6681;
    --c-on-ios: #ffffff;
    --c-link: #0f7899;
    --c-link-hover: #0d6681;
    --c-focus: #9ad7e6;
    --c-brand-cyan: #25b5d7;
    --c-brand-cyan-2: #4cbcac;
    --c-brand-green: #a4ce4e;
    --c-brand-green-2: #7fc560;
    --c-success: #16a34a;
    --c-warning: #f59e0b;
    --c-danger: #ef4444;
    --c-info: #0ea5e9;
    --color-primary: var(--c-primary);
    --color-secondary: var(--c-brand-green);
    --color-background: var(--c-bg);
    --color-surface: var(--c-surface);
    --color-surface-darker: var(--c-surface-2);
    --color-text: var(--c-text);
    --color-muted: var(--c-muted);
    --color-border: var(--c-border);
    --color-success: var(--c-success);
    --color-error: var(--c-danger);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-xs: 0 2px 8px rgba(17, 24, 39, 0.04);
    --shadow-sm: 0 4px 12px rgba(17, 24, 39, 0.06);
    --shadow-md: 0 12px 24px rgba(17, 24, 39, 0.08);
    --shadow-lg: 0 20px 40px rgba(17, 24, 39, 0.1);
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --transition: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-family-base: "Vazirmatn", "IRANSans", "Segoe UI", "Tahoma", sans-serif;
    --font-size-base: clamp(14px, 1.4vw, 16px);
    --font-size-sm: 13px;
    --font-size-lg: clamp(16px, 1.6vw, 18px);
    --line-height-base: 1.7;
    color-scheme: light;
}

/*--------------------------------------------------------------
# Bootstrap Overrides
--------------------------------------------------------------*/
.btn-primary {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.btn-primary:hover {
    /* A slightly darker version of primary for hover, or use secondary */
    filter: brightness(90%);
}

.btn-secondary {
    background-color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
    color: #fff !important;
}

.btn-secondary:hover {
    filter: brightness(90%);
    color: #fff !important;
}

.btn-outline-secondary {
    color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
}

.btn-outline-secondary:hover {
    background-color: var(--color-secondary) !important;
    color: #fff !important;
}

.text-primary {
    color: var(--color-primary) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-surface {
    background-color: var(--color-surface) !important;
}

.border-primary {
    border-color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/vazir-matn/Vazirmatn-Regular.woff2") format("woff2"),
    url("../fonts/vazir-matn/Vazirmatn-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/vazir-matn/Vazirmatn-Bold.woff2") format("woff2"),
    url("../fonts/vazir-matn/Vazirmatn-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/vazir-matn/Vazirmatn-ExtraBold.woff2") format("woff2"),
    url("../fonts/vazir-matn/Vazirmatn-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    direction: rtl;
    background-color: var(--color-background);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

a:hover {
    color: var(--color-primary);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
}

.cursor-pointer {
    cursor: pointer;
}

.txt-primary {
    color: var(--color-primary);
}

.txt-secondary {
    color: var(--color-secondary);
}

a.btn > i.bx {
    vertical-align:middle;
}

/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
.site-header {
    z-index: 1030;
    background-color: var(--c-surface) !important;
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06) !important;
}

.site-header .container {
    position: relative;
}

.site-header .row.align-items-center.py-2 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

.appeman-desktop-logo-col,
.appeman-desktop-menu-col,
.appeman-header-actions-col {
    transition: all var(--transition);
}

.site-header .btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--c-text-2);
    transition: color var(--transition);
}

.site-header .btn-link:hover {
    color: var(--c-primary);
}

.site-header .header-support-link {
    justify-content: center !important;
    align-items: center !important;
    text-decoration: none !important;
    margin-inline-start: 0.25rem;
}

.site-header .header-support-link:hover,
.site-header .header-support-link:focus,
.site-header .header-support-link:active {
    text-decoration: none !important;
}

.site-header .header-support-link > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.header-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 42px;
    padding: 0 0.75rem;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    background-color: var(--c-surface);
    color: var(--c-text-2);
    transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
    text-decoration: none;
}

.header-icon-link:hover,
.header-icon-link.active {
    color: var(--c-primary);
    background-color: var(--c-surface-2);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.header-icon-link:focus-visible {
    outline: 3px solid var(--c-focus);
    outline-offset: 2px;
}

.header-icon-link i {
    display: block;
    line-height: 1;
}

/*--------------------------------------------------------------
# Header Search Bar
--------------------------------------------------------------*/

header .site-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

header .site-logo img {
    max-height: 62px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.appeman-logo-mark {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.appeman-logo-text {
    display: none;
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 1200px) {
    .appeman-logo-text {
        display: block;
    }

    .appeman-logo-mark {
        display: none;
    }
}

@media (max-width: 991.98px) {
    body.home:not(.blog) .site-header .appeman-desktop-logo-col .appeman-logo-text {
        display: block;
    }

    body.home:not(.blog) .site-header .appeman-desktop-logo-col .appeman-logo-mark {
        display: none;
    }

    .site-header .appeman-mobile-home-logo {
        max-height: 28px;
        width: auto;
    }
}

@media screen and (max-width:767px) {
    header .site-logo a {
        display: flex;
        justify-content: center;
    }

    header .site-logo img {
        max-height: 34px;
        padding-top: 0;
        padding-bottom: 0;
    }
}

.desktop-navigation ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    background-color: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: 999px;
    padding: 0.35rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.desktop-navigation ul > li {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.desktop-menu-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--c-text-2);
    white-space: nowrap;
    transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.desktop-menu-link:hover {
    color: var(--c-primary);
    background-color: var(--c-surface);
    border-color: var(--c-border);
}

.desktop-menu-link.active {
    background-color: var(--c-primary);
    color: var(--c-on-primary);
    border-color: var(--c-primary);
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.16);
}

#mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    background: var(--c-surface-2);
    color: var(--c-primary);
}

#mobile-menu-toggle i {
    font-size: 30px;
    line-height: 1;
}

#search-toggle i {
    font-size: 30px;
    line-height: 1;
}

@media (min-width: 992px) {
    .site-header .appeman-desktop-logo-col,
    .site-header .appeman-desktop-menu-col ~ .appeman-header-actions-col {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: none !important;
    }

    .site-header .appeman-desktop-menu-col {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        display: flex !important;
        justify-content: center;
    }

    .site-header .appeman-desktop-menu-col .desktop-navigation {
        display: inline-flex;
    }
}

@media (min-width: 992px) and (max-width: 1250px) {
    .desktop-navigation ul {
        gap: 0.2rem;
        padding: 0.28rem;
    }

    .desktop-menu-link {
        padding: 0 0.62rem;
        min-height: 36px;
    }
}

@media (max-width: 575.98px) {
    .site-header .header-actions-wrap {
        gap: 0.32rem !important;
    }

    .site-header .header-actions-wrap .header-icon-link {
        min-height: 34px;
        min-width: 34px;
        padding: 0 0.42rem;
        border-radius: 10px;
    }

    .site-header .header-actions-wrap .header-icon-link i {
        font-size: 22px !important;
    }

    .site-header .col-3.d-lg-none .btn-link {
        width: 34px;
        height: 34px;
        border: 1px solid var(--c-border);
        border-radius: 10px;
        background-color: var(--c-surface-2);
        padding: 0 !important;
    }
}

@media (max-width: 390px) {
    .site-header .header-actions-wrap .header-icon-link {
        min-height: 32px;
        min-width: 32px;
        padding: 0 0.3rem;
    }

    .site-header .col-3.d-lg-none .btn-link {
        width: 32px;
        height: 32px;
    }
}

.header-search-bar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1020;
    transition: all 0.05s;
    background-color: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
}

.header-search-bar .search-form .input-group {
    position: relative;
}

.header-search-bar .search-field {
    width: 100%;
    padding: var(--space-2) 40px var(--space-2) 40px;
    border: none;
    background-color: transparent !important;
    color: var(--c-text);
    font-size: var(--font-size-lg);
    transition: border-color var(--transition);
    border-radius: 0;
    -webkit-appearance: none;
}

.header-search-bar .search-field::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.header-search-bar .search-field:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--c-primary);
}

.header-search-bar .search-field::placeholder {
    color: var(--c-muted);
    opacity: 0.8;
}

.header-search-bar .search-submit {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--c-muted);
    transition: color var(--transition);
    padding: 0 var(--space-2) !important;
    z-index: 5;
}

.header-search-bar .search-submit:hover {
    color: var(--c-primary);
}

.header-search-bar .search-clear {
    display: flex;
    cursor: pointer;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--c-muted);
    padding: 0 var(--space-2);
    z-index: 5;
    transition: color var(--transition);
}

.header-search-bar .search-clear:hover {
    color: var(--c-danger);
}

.header-search-bar .input-group-append {
    display: contents;
}

.mobile-nav .menu-item-has-children .toggle-submenu i {
    transition: transform var(--transition);
}

.mobile-nav .menu-item-has-children .toggle-submenu.open i {
    transform: rotate(180deg);
}

.mobile-nav .menu-item-has-children > div {
    cursor: pointer;
}

/*--------------------------------------------------------------
# Mobile Menu
--------------------------------------------------------------*/
.mobile-menu-container {
    position: fixed;
    right: -320px;
    width: min(320px, 88vw);
    background-color: var(--c-surface);
    border-left: 1px solid var(--c-border);
    border-top: 1px solid var(--c-border);
    border-top-left-radius: 18px;
    z-index: 1020;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.mobile-menu-container.open {
    right: 0;
}

.mobile-menu-body {
    padding: 1rem !important;
}

.mobile-nav li {
    margin-bottom: 0.5rem !important;
    border: 0 !important;
    padding-bottom: 0 !important;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
}

.mobile-menu-link:hover {
    color: var(--c-primary);
    background-color: var(--c-surface-2);
    border-color: var(--c-border);
}

.mobile-menu-link.active {
    color: var(--c-primary);
    font-weight: bold;
    background-color: rgba(17, 24, 39, 0.08);
    border-color: rgba(17, 24, 39, 0.14);
}

/*--------------------------------------------------------------
# User Stats Section
--------------------------------------------------------------*/
.user-stats-section {
    background: linear-gradient(180deg, rgba(37, 181, 215, 0.06) 0%, rgba(164, 206, 78, 0.07) 100%);
    border-bottom: 1px solid var(--c-border);
    padding: 0.9rem 0;
}

.stats-shared-box {
    width: 100%;
    border: 1px solid var(--c-border);
    border-radius: 16px;
    background: linear-gradient(132deg, #f6fbfe 0%, #eef7fb 54%, #f3f9ec 100%);
    box-shadow: 0 12px 26px rgba(15, 77, 102, 0.1);
    overflow: hidden;
}

.stats-shared-box .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.stat-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.72rem;
    padding: 0.78rem 0.9rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-align: center;
    transition: background-color var(--transition);
    height: 100%;
    min-height: 84px;
    overflow: hidden;
}

.stats-shared-box .col-6 + .col-6 .stat-item {
    border-inline-start: 1px solid rgba(14, 67, 89, 0.12);
}

.stat-item:hover {
    background-color: rgba(255, 255, 255, 0.45);
}

.stat-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background-color: rgba(37, 181, 215, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-primary);
    font-size: 1.45rem;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.stat-item:hover .stat-icon-wrapper {
    background-color: var(--c-brand-cyan);
    color: var(--c-on-primary);
}

.stat-icon-wrapper.icon-online {
    background-color: rgba(164, 206, 78, 0.2);
    color: #5f8f2f;
}

.stat-item:hover .stat-icon-wrapper.icon-online {
    background-color: var(--c-brand-green);
    color: #1f3a10;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 0;
    text-align: center;
}

.stat-value {
    font-weight: 700;
    font-size: 1rem;
    color: var(--c-text);
    line-height: 1.35;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--c-muted);
    font-weight: 500;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .user-stats-section {
        padding: 0.6rem 0;
    }

    .stat-item {
        min-height: 60px;
        padding: 0.48rem 0.75rem;
        gap: 0.5rem;
    }

    .stat-icon-wrapper {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 1.15rem;
    }

    .stat-value {
        font-size: 0.92rem;
        line-height: 1.2;
    }

    .stat-label {
        font-size: 0.74rem;
        line-height: 1.1;
    }
}

@media (max-width: 767.98px) {
    .user-stats-section {
        padding: 0.5rem 0;
    }

    .stats-shared-box {
        border-radius: 13px;
        box-shadow: 0 8px 18px rgba(15, 77, 102, 0.1);
    }

    .stat-item {
        padding: 0.52rem 0.58rem;
        gap: 0.42rem;
        min-height: 62px;
    }

    .stat-icon-wrapper {
        width: 30px;
        height: 30px;
        border-radius: 9px;
        font-size: 1.06rem;
    }

    .stat-value {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .stat-label {
        font-size: 0.7rem;
        line-height: 1.15;
    }
}

/*--------------------------------------------------------------
# Front Page - Hero Slider
--------------------------------------------------------------*/
.hero-slider-section {
    background: transparent;
    padding-top: 1rem !important;
    padding-bottom: 1.4rem !important;
}

.hero-slider-section .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.hero-slider {
    background: transparent;
}

@media (max-width: 767.98px) {
    .hero-slider-section {
        padding-top: 0.45rem !important;
        padding-bottom: 0 !important;
    }
}

.hero-carousel .owl-stage-outer {
    padding-top: 4px;
    padding-bottom: 8px;
}

.hero-carousel .owl-stage {
    display: flex;
}

.hero-carousel .owl-item {
    display: flex;
}

.hero-carousel .owl-item .hero-slide-item {
    width: 100%;
    min-height: 100%;
}

.hero-slide-item {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 18px;
    border: 1px solid var(--c-border);
    background-color: var(--c-surface);
    box-shadow: none;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition);
}

.hero-slide-item:hover {
    transform: translateY(-3px);
    box-shadow: none;
    border-color: #bfdbe6;
}

.slide-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 16/10;
    padding: 0.35rem;
    background-color: #f0f9fc;
}

.slide-image-wrapper img {
    border-radius: 14px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    box-shadow: none;
    transition: transform 0.5s ease;
}

.hero-slide-item:hover .slide-image-wrapper img {
    transform: scale(1.035);
}

.slide-content {
    margin-top: 0 !important;
    padding: 0.9rem 0.95rem 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fdff 100%);
}

.slide-content > *:last-child {
    margin-bottom: 0 !important;
}

.slide-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-desc {
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--c-text-2) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 576px) {
    .slide-title {
        font-size: 1rem;
    }

    .slide-desc {
        font-size: 0.8rem;
    }
}

@media (min-width: 768px) {
    .slide-title {
        font-size: 0.96rem;
    }

    .slide-desc {
        font-size: 0.76rem;
        -webkit-line-clamp: 2;
    }
}

@media (min-width: 992px) {
    .slide-title {
        font-size: 0.95rem;
    }

    .slide-desc {
        font-size: 0.74rem;
    }
}

@media (min-width: 1200px) {
    .slide-title {
        font-size: 0.94rem;
    }

    .slide-desc {
        font-size: 0.73rem;
    }
}

.hero-carousel .owl-dots {
    margin-top: 0.8rem !important;
    text-align: center;
}

.hero-carousel .owl-dot span {
    width: 9px !important;
    height: 9px !important;
    margin: 4px 4px !important;
    border-radius: 999px !important;
    background: #bfdbe6 !important;
    transition: width var(--transition), background-color var(--transition), transform var(--transition) !important;
}

.hero-carousel .owl-dot.active span,
.hero-carousel .owl-dot:hover span {
    background: linear-gradient(90deg, var(--c-brand-cyan) 0%, var(--c-brand-green) 100%) !important;
    width: 24px !important;
    transform: translateY(-1px);
}

/*--------------------------------------------------------------
# Front Page - Shared App Cards (Latest & Popular)
--------------------------------------------------------------*/
.latest-apps-section,
.popular-apps-section {
    background: linear-gradient(180deg, #f4fbfe 0%, #edf8fb 100%);
}

.app-columns-scroller {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #bfdbe6 transparent;
}

.app-columns-scroller::-webkit-scrollbar {
    height: 5px;
}

.app-columns-scroller::-webkit-scrollbar-track {
    background: transparent;
}

.app-columns-scroller::-webkit-scrollbar-thumb {
    background-color: #bfdbe6;
    border-radius: 20px;
}

.app-column-grid {
    flex: 0 0 calc(100% - 2.4rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    min-width: 280px;
    scroll-snap-align: start;
}

@media (min-width: 480px) {
    .app-column-grid {
        flex-basis: calc(100% - 3rem);
    }
}

@media (min-width: 768px) {
    .app-column-grid {
        flex-basis: calc(100% - 4rem);
        min-width: 320px;
    }
}

@media (min-width: 992px) {
    .app-columns-scroller {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        overflow-x: visible;
        padding: 0;
        scroll-snap-type: none;
    }

    .app-column-grid {
        flex: initial;
        min-width: 0;
    }
}

.home-apps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
}

.home-apps-item {
    min-width: 0;
}


.latest-apps-section .app-card-item,
.popular-apps-section .app-card-item {
    position: relative;
    margin: 0;
    padding: 0.72rem;
    border-radius: 16px;
    border: 1px solid #d7e7ee;
    background: linear-gradient(160deg, #ffffff 0%, #f4fbfd 100%);
    box-shadow: 0 10px 22px rgba(15, 77, 102, 0.09);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.latest-apps-section .app-card-item::before,
.popular-apps-section .app-card-item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-brand-cyan) 0%, var(--c-brand-green) 100%);
}

.latest-apps-section .app-card-item:hover,
.popular-apps-section .app-card-item:hover {
    transform: translateY(-2px);
    border-color: #bfdbe6;
    box-shadow: 0 16px 30px rgba(15, 77, 102, 0.14);
}

.latest-apps-section .app-card-main,
.popular-apps-section .app-card-main {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 0.72rem;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.latest-apps-section .app-icon-link,
.popular-apps-section .app-icon-link {
    display: inline-flex;
    width: 52px;
    height: 52px;
    text-decoration: none;
}

.latest-apps-section .app-icon-wrapper,
.popular-apps-section .app-icon-wrapper {
    display: inline-flex;
    width: 52px;
    height: 52px;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}

.latest-apps-section .app-icon,
.popular-apps-section .app-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
}

.latest-apps-section .app-details,
.popular-apps-section .app-details {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.55rem;
}

.latest-apps-section .app-text,
.popular-apps-section .app-text {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
}

.latest-apps-section .app-title-link,
.popular-apps-section .app-title-link {
    display: block;
}

.latest-apps-section .app-title,
.popular-apps-section .app-title {
    color: var(--c-text);
    font-size: 0.84rem;
    line-height: 1.5;
    margin: 0 0 0.2rem;
    text-align: right;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-apps-section .app-desc,
.popular-apps-section .app-desc {
    color: var(--c-muted);
    font-size: 0.72rem;
    line-height: 1.6;
    margin: 0;
    text-align: right;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-apps-section .app-action,
.popular-apps-section .app-action {
    margin: 0;
    flex: 0 0 auto;
    align-self: center;
}

.latest-apps-section .btn-download,
.popular-apps-section .btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    height: 31px;
    padding: 0 0.78rem;
    border-radius: 999px;
    border: 1px solid #cfe2ea;
    background-color: #ffffff;
    color: var(--c-primary);
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.latest-apps-section .btn-download span,
.popular-apps-section .btn-download span {
    line-height: 1;
}

.latest-apps-section .btn-download:hover,
.popular-apps-section .btn-download:hover {
    color: var(--c-primary);
    background-color: var(--c-surface-2);
    border-color: #bfdbe6;
}

.latest-apps-section .app-icon-link:focus-visible,
.latest-apps-section .app-title-link:focus-visible,
.latest-apps-section .btn-download:focus-visible,
.popular-apps-section .app-icon-link:focus-visible,
.popular-apps-section .app-title-link:focus-visible,
.popular-apps-section .btn-download:focus-visible {
    outline: 3px solid var(--c-focus);
    outline-offset: 2px;
}

@media (min-width: 576px) {
    .home-apps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .latest-apps-section .app-card-item,
    .popular-apps-section .app-card-item {
        padding: 0.75rem;
    }

    .latest-apps-section .app-card-main,
    .popular-apps-section .app-card-main {
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 0.8rem;
    }

    .latest-apps-section .app-icon-link,
    .latest-apps-section .app-icon-wrapper,
    .latest-apps-section .app-icon,
    .popular-apps-section .app-icon-link,
    .popular-apps-section .app-icon-wrapper,
    .popular-apps-section .app-icon {
        width: 56px;
        height: 56px;
    }
}

@media (min-width: 768px) {
    .latest-apps-section .app-title,
    .popular-apps-section .app-title {
        font-size: 0.86rem;
    }

    .latest-apps-section .app-desc,
    .popular-apps-section .app-desc {
        font-size: 0.73rem;
    }
}

@media (min-width: 992px) {
    .home-apps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .latest-apps-section .app-card-item,
    .popular-apps-section .app-card-item {
        padding: 0.78rem;
    }

    .latest-apps-section .app-title,
    .popular-apps-section .app-title {
        font-size: 0.87rem;
    }

    .latest-apps-section .app-desc,
    .popular-apps-section .app-desc {
        -webkit-line-clamp: 2;
        font-size: 0.74rem;
    }
}

@media (min-width: 1200px) {
    .latest-apps-section .app-card-main,
    .popular-apps-section .app-card-main {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .latest-apps-section .app-icon-link,
    .latest-apps-section .app-icon-wrapper,
    .latest-apps-section .app-icon,
    .popular-apps-section .app-icon-link,
    .popular-apps-section .app-icon-wrapper,
    .popular-apps-section .app-icon {
        width: 58px;
        height: 58px;
    }
}

/*--------------------------------------------------------------
# Front Page - Lifestyle Section
--------------------------------------------------------------*/
.lifestyle-section {
    background: linear-gradient(180deg, #f8fcfe 0%, #eef8fb 100%);
}

.lifestyle-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 64%;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 4px 2px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #bfdbe6 transparent;
}

.lifestyle-scroller::-webkit-scrollbar {
    height: 5px;
}

.lifestyle-scroller::-webkit-scrollbar-track {
    background: transparent;
}

.lifestyle-scroller::-webkit-scrollbar-thumb {
    background-color: #bfdbe6;
    border-radius: 20px;
}

.lifestyle-item {
    scroll-snap-align: start;
}

@media (min-width: 480px) {
    .lifestyle-scroller {
        grid-auto-columns: 48%;
    }
}

@media (min-width: 768px) {
    .lifestyle-scroller {
        grid-auto-columns: 33.333%;
    }
}

@media (min-width: 1024px) {
    .lifestyle-scroller {
        grid-auto-columns: 22%;
    }
}

@media (min-width: 1280px) {
    .lifestyle-scroller {
        grid-auto-columns: 18%;
    }
}

.lifestyle-section .app-card-vertical {
    position: relative;
    border-radius: 16px;
    border: 1px solid #d7e7ee;
    background: linear-gradient(145deg, #ffffff 0%, #f5fbff 100%);
    box-shadow: 0 10px 22px rgba(15, 77, 102, 0.09);
    overflow: hidden;
}

.lifestyle-section .app-card-vertical::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-brand-cyan) 0%, var(--c-brand-green) 100%);
    z-index: 2;
}

.lifestyle-section .app-card-vertical:hover {
    transform: translateY(-2px);
    border-color: #bfdbe6;
    box-shadow: 0 16px 30px rgba(15, 77, 102, 0.14);
}

.lifestyle-section .card-image-wrapper {
    margin-bottom: 0 !important;
    aspect-ratio: 1/1;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(37, 181, 215, 0.13) 0%, rgba(164, 206, 78, 0.18) 100%);
}

.lifestyle-section .card-img {
    border-radius: 14px;
    background: #ffffff;
    object-fit: cover;
    padding: 10px;
    box-shadow: 0 10px 20px rgba(15, 120, 153, 0.14);
}

.lifestyle-section .app-card-vertical:hover .card-img {
    transform: scale(1.03);
}

.lifestyle-section .card-content {
    padding: 0.62rem 0.62rem 0.78rem !important;
}

.lifestyle-section .card-title {
    color: var(--c-text) !important;
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 0.2rem !important;
}

.lifestyle-section .card-desc {
    color: var(--c-muted) !important;
    font-size: 0.72rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
}

@media (min-width: 768px) {
    .lifestyle-section .card-title {
        font-size: 0.86rem;
    }

    .lifestyle-section .card-desc {
        font-size: 0.73rem;
    }
}

@media (min-width: 1200px) {
    .lifestyle-section .app-card-vertical {
        border-radius: 17px;
    }

    .lifestyle-section .card-content {
        padding: 0.68rem 0.68rem 0.84rem !important;
    }

    .lifestyle-section .card-title {
        font-size: 0.88rem;
    }

    .lifestyle-section .card-desc {
        font-size: 0.74rem;
    }
}

.app-card-vertical {
    background-color: var(--color-background);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid transparent;
    height: 100%; /* Fill the grid cell */
    display: flex;
    flex-direction: column;
}

.app-card-vertical:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-border);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1; /* Square aspect ratio for consistent sizing */
    overflow: hidden;
    background-color: var(--color-surface);
    flex-shrink: 0; /* Prevent image from shrinking */
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure image fits without cropping */
    padding: var(--space-2); /* Add padding to prevent edge touching */
    transition: transform 0.5s ease;
}

.app-card-vertical:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    flex-grow: 1; /* Allow content to fill space */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align text to top */
}

.card-title {
    color: var(--color-text);
    font-size: var(--font-size-base);
    transition: color var(--transition);
}

.app-card-vertical:hover .card-title {
    color: var(--color-primary);
}

.card-desc {
    color: var(--color-muted);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/*--------------------------------------------------------------
# Front Page - Movies & Music Section
--------------------------------------------------------------*/
.movies-music-section {
    background: linear-gradient(180deg, #f8fcfe 0%, #eef8fb 100%);
}

.movies-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 64%;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 4px 2px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #bfdbe6 transparent;
}

.movies-scroller::-webkit-scrollbar {
    height: 5px;
}

.movies-scroller::-webkit-scrollbar-track {
    background: transparent;
}

.movies-scroller::-webkit-scrollbar-thumb {
    background-color: #bfdbe6;
    border-radius: 20px;
}

.movies-item {
    scroll-snap-align: start;
}

@media (min-width: 480px) {
    .movies-scroller {
        grid-auto-columns: 48%;
    }
}

@media (min-width: 768px) {
    .movies-scroller {
        grid-auto-columns: 33.333%;
    }
}

@media (min-width: 1024px) {
    .movies-scroller {
        grid-auto-columns: 22%;
    }
}

@media (min-width: 1280px) {
    .movies-scroller {
        grid-auto-columns: 18%;
    }
}

.movies-music-section .app-card-vertical {
    position: relative;
    border-radius: 16px;
    border: 1px solid #d7e7ee;
    background: linear-gradient(145deg, #ffffff 0%, #f5fbff 100%);
    box-shadow: 0 10px 22px rgba(15, 77, 102, 0.09);
    overflow: hidden;
}

.movies-music-section .app-card-vertical::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-brand-cyan) 0%, var(--c-brand-green) 100%);
    z-index: 2;
}

.movies-music-section .app-card-vertical:hover {
    transform: translateY(-2px);
    border-color: #bfdbe6;
    box-shadow: 0 16px 30px rgba(15, 77, 102, 0.14);
}

.movies-music-section .card-image-wrapper {
    margin-bottom: 0 !important;
    aspect-ratio: 1/1;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(37, 181, 215, 0.13) 0%, rgba(164, 206, 78, 0.18) 100%);
}

.movies-music-section .card-img {
    border-radius: 14px;
    background: #ffffff;
    object-fit: cover;
    padding: 10px;
    box-shadow: 0 10px 20px rgba(15, 120, 153, 0.14);
}

.movies-music-section .app-card-vertical:hover .card-img {
    transform: scale(1.03);
}

.movies-music-section .card-content {
    padding: 0.62rem 0.62rem 0.78rem !important;
}

.movies-music-section .card-title {
    color: var(--c-text) !important;
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 0.2rem !important;
}

.movies-music-section .card-desc {
    color: var(--c-muted) !important;
    font-size: 0.72rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
}

@media (min-width: 768px) {
    .movies-music-section .card-title {
        font-size: 0.86rem;
    }

    .movies-music-section .card-desc {
        font-size: 0.73rem;
    }
}

@media (min-width: 1200px) {
    .movies-music-section .app-card-vertical {
        border-radius: 17px;
    }

    .movies-music-section .card-content {
        padding: 0.68rem 0.68rem 0.84rem !important;
    }

    .movies-music-section .card-title {
        font-size: 0.88rem;
    }

    .movies-music-section .card-desc {
        font-size: 0.74rem;
    }
}

/*--------------------------------------------------------------
# Front Page - Compact Grid Module (Finance & Movies)
--------------------------------------------------------------*/
.section-header-with-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.section-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.34rem 0.74rem;
    border-radius: 999px;
    border: 1px solid #cfe2ea;
    background-color: #ffffff;
    color: var(--c-primary);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.section-action-link:hover {
    color: var(--c-primary);
    border-color: #bfdbe6;
    background-color: var(--c-surface-2);
    transform: translateY(-1px);
}

.section-action-link:focus-visible {
    outline: 3px solid var(--c-focus);
    outline-offset: 2px;
}

.section-action-link i {
    font-size: 1rem;
    line-height: 1;
}

.app-cards-compact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.app-cards-compact-item {
    min-width: 0;
}

.lifestyle-section .app-cards-compact-grid .app-card-vertical,
.movies-music-section .app-cards-compact-grid .app-card-vertical {
    border-radius: 12px;
}

.lifestyle-section .app-cards-compact-grid .card-image-wrapper,
.movies-music-section .app-cards-compact-grid .card-image-wrapper {
    padding: 0.36rem;
}

.lifestyle-section .app-cards-compact-grid .card-img,
.movies-music-section .app-cards-compact-grid .card-img {
    border-radius: 10px;
}

.lifestyle-section .app-cards-compact-grid .card-content,
.movies-music-section .app-cards-compact-grid .card-content {
    padding: 0.32rem 0.3rem 0.44rem !important;
}

.lifestyle-section .app-cards-compact-grid .card-title,
.movies-music-section .app-cards-compact-grid .card-title {
    font-size: 0.62rem;
    line-height: 1.25;
    margin-bottom: 0.14rem !important;
}

.lifestyle-section .app-cards-compact-grid .card-desc,
.movies-music-section .app-cards-compact-grid .card-desc {
    font-size: 0.56rem;
    line-height: 1.22;
    -webkit-line-clamp: 1;
}

@media (min-width: 768px) {
    .lifestyle-section .app-cards-compact-grid .card-title,
    .movies-music-section .app-cards-compact-grid .card-title {
        font-size: 0.67rem;
    }

    .lifestyle-section .app-cards-compact-grid .card-desc,
    .movies-music-section .app-cards-compact-grid .card-desc {
        font-size: 0.59rem;
    }
}

@media (max-width: 575.98px) {
    .section-action-link {
        padding: 0.3rem 0.62rem;
        font-size: 0.68rem;
    }
}

@media (min-width: 992px) {
    .app-cards-compact-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 8px;
    }

    .lifestyle-section .app-cards-compact-grid .card-image-wrapper,
    .movies-music-section .app-cards-compact-grid .card-image-wrapper {
        padding: 0.46rem;
    }

    .lifestyle-section .app-cards-compact-grid .card-content,
    .movies-music-section .app-cards-compact-grid .card-content {
        padding: 0.4rem 0.38rem 0.5rem !important;
    }

    .lifestyle-section .app-cards-compact-grid .card-title,
    .movies-music-section .app-cards-compact-grid .card-title {
        font-size: 0.69rem;
    }

    .lifestyle-section .app-cards-compact-grid .card-desc,
    .movies-music-section .app-cards-compact-grid .card-desc {
        font-size: 0.61rem;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
    border-top: 1px solid var(--c-border);
    position: relative;
}

.site-footer .container {
    padding-top: 0.2rem;
}

.site-footer .footer-brand img {
    max-height: 38px !important;
    width: auto;
}

.site-footer .footer-title {
    color: var(--c-text) !important;
    font-size: 0.92rem;
    margin-bottom: 0.75rem !important;
    letter-spacing: 0;
}

.site-footer .footer-links li {
    margin-bottom: 0.45rem !important;
}

.site-footer .footer-links li:last-child {
    margin-bottom: 0 !important;
}

.site-footer .footer-links li a {
    color: var(--c-text-2) !important;
    font-size: 0.8rem;
    line-height: 1.7;
    display: inline-block;
    transition: color var(--transition), transform var(--transition);
}

.site-footer .footer-links li a:hover {
    color: var(--c-primary) !important;
    transform: translateX(-2px);
}

.site-footer p.text-muted {
    color: var(--c-muted) !important;
    font-size: 0.79rem;
    line-height: 1.9;
}

.site-footer .footer-socials {
    gap: 0.45rem !important;
    margin-bottom: 0.9rem !important;
}

.site-footer .footer-trust-logos {
    gap: 0.55rem !important;
}

.site-footer .footer-trust-logos a {
    border: 1px solid var(--c-border) !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 0.35rem !important;
}

.site-footer .footer-trust-logos a:hover {
    border-color: #bfdbe6 !important;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--c-border);
    background-color: #ffffff;
    color: var(--c-text-2);
    transition: color var(--transition), border-color var(--transition), background-color var(--transition), transform var(--transition);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    color: var(--c-primary);
    border-color: #bfdbe6;
    background-color: var(--c-surface-2);
    transform: translateY(-1px);
}

.social-icon:focus-visible,
.site-footer .footer-links li a:focus-visible {
    outline: 3px solid var(--c-focus);
    outline-offset: 2px;
}

.leading-loose {
    line-height: 1.9;
}

.site-footer .border-top {
    border-color: var(--c-border) !important;
}

.site-footer .mt-3.mt-md-5.pt-3.border-top p {
    color: var(--c-muted) !important;
    font-size: 0.75rem;
}

@media (max-width: 767.98px) {
    .site-footer {
        padding-top: 1rem !important;
    }

    .site-footer .row.gy-3.gy-md-4 {
        gap: 0.35rem;
    }

    .site-footer .footer-brand {
        margin-bottom: 0.55rem !important;
    }

    .site-footer .footer-title {
        font-size: 0.86rem;
    }

    .site-footer .footer-links li a {
        font-size: 0.78rem;
    }

    .site-footer p.text-muted {
        font-size: 0.77rem;
        line-height: 1.85;
    }

    .site-footer .footer-socials {
        justify-content: center !important;
    }

    .site-footer .footer-trust-logos {
        justify-content: center !important;
    }
}

@media (min-width: 768px) {
    .site-footer {
        padding-top: 1.2rem !important;
    }

    .site-footer .row.gy-3.gy-md-4 {
        align-items: flex-start;
    }

    .site-footer .footer-title {
        font-size: 0.9rem;
    }

    .site-footer .footer-links li a {
        font-size: 0.79rem;
    }
}

@media (min-width: 1200px) {
    .site-footer .footer-links li a {
        font-size: 0.8rem;
    }

    .site-footer p.text-muted {
        font-size: 0.8rem;
    }
}

/*--------------------------------------------------------------
# Sticky Footer Nav (Ver 2)
--------------------------------------------------------------*/
.sticky-footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-background);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    height: 60px;
    z-index: 1040;
    border-top: 1px solid var(--color-border);
}

.sticky-footer-nav .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    text-decoration: none;
    height: 100%;
    position: relative;
    transition: all var(--transition);
}

.sticky-footer-nav .nav-link i {
    font-size: 24px;
    margin-bottom: 2px;
}

.sticky-footer-nav .nav-text {
    font-size: 11px;
    font-weight: 600;
}

/* Active State */
.sticky-footer-nav .nav-item.active .nav-link {
    color: var(--color-primary);
}

.sticky-footer-nav .nav-item.active {
    position: relative;
}

.sticky-footer-nav .nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-primary);
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

/*--------------------------------------------------------------
# Modern Blog & Single Post Styles
--------------------------------------------------------------*/

/* Page Headers */
.page-header-modern {
    background-color: var(--color-surface);
    padding: 3rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.page-header-modern .page-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-text);
}

.single-content {
    font-size: 0.95rem;
    /*line-height: 1.9;*/
    color: #374151;
}
.single-content .text-small{
    font-size:0.8rem;
}
.single-content .text-large{
    font-size:1.2rem;
}

.single-content p {
    margin-bottom: 0.8em;
}
.single-content h1,
.single-content h2, 
.single-content h3 {
    font-weight: 800;
    color: var(--color-text);
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.single-content h1 { font-size: 1.8rem; }
.single-content h2 { font-size: 1.6rem; }
.single-content h3 { font-size: 1.3rem; }

.single-content ul, 
.single-content ol {
    margin-bottom: 0.8em;
    padding-right: 0.75em;
}

.single-content li {
    margin-bottom: 0.5em;
}

.single-content blockquote {
    border-right: 4px solid var(--color-primary);
    padding: 1em 1.2em;
    background-color: var(--color-surface);
    border-radius: var(--radius-sm);
    font-style: italic;
    margin: 1em 0;
    font-size: 0.95rem;
}

/* Comments Modern */
.comments-wrapper {
    max-width: 850px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .children {
    list-style: none;
    margin: 0.7rem 0 0;
    padding: 0;
    padding-inline-end: 0.92rem;
    border-inline-end: 2px dashed #d8e9f0;
}

.comment-body {
    background: #fff;
    border: 1px solid var(--color-surface-darker);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: box-shadow var(--transition);
}

.comment-body:hover {
    box-shadow: var(--shadow-sm);
}

.comment-list .is-admin-reply > .comment-body {
    background: linear-gradient(165deg, #ffffff 0%, #f1faff 100%);
    border-color: #bcdfea;
    box-shadow: 0 10px 24px rgba(15, 77, 102, 0.1);
}

.comment-list .is-admin-reply > .comment-body::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-brand-cyan) 0%, var(--c-brand-green) 100%);
}

.comment-list .is-admin-reply > .comment-body .comment-content {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #d6e8ef;
    border-radius: 12px;
    padding: 0.72rem 0.78rem;
}

.admin-reply-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.16rem 0.56rem;
    border-radius: 999px;
    border: 1px solid rgba(37, 181, 215, 0.4);
    background: rgba(37, 181, 215, 0.15);
    color: #0f4d66;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
}

.comment-body .admin-inline-replies {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.comment-body .admin-inline-reply {
    background: linear-gradient(165deg, #ffffff 0%, #f1faff 100%);
    border: 1px solid #bcdfea;
    border-radius: 12px;
    padding: 0.7rem 0.78rem;
}

.comment-body .admin-inline-reply-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.45rem;
}

.comment-body .admin-inline-reply-content p:last-child {
    margin-bottom: 0;
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author .avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-left: 1rem;
}

.fn {
    font-weight: 700;
    font-style: normal;
    font-size: 1rem;
    color: var(--color-text);
}

.comment-metadata {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.comment-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.comment-list .is-admin-reply .comment-content p:last-child {
    margin-bottom: 0;
}

.reply {
    text-align: left;
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    background-color: rgba(111, 44, 145, 0.05);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.comment-reply-link:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* Comment Form */
.comment-respond {
    background-color: var(--color-surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin-top: 3rem;
    border: 1px solid var(--color-border);
}

.comment-reply-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: block;
}

.comment-form label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.comment-form .form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background-color: var(--color-background);
    transition: all var(--transition);
    font-family: inherit;
}

.comment-form .form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(111, 44, 145, 0.1);
}

.form-submit .submit {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.form-submit .submit:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 575.98px) {
    .comment-list .children {
        padding-inline-end: 0.62rem;
    }

    .comment-list .is-admin-reply > .comment-body .comment-content {
        padding: 0.6rem 0.62rem;
    }

    .admin-reply-badge {
        font-size: 0.64rem;
        padding: 0.12rem 0.48rem;
    }
}

/* Pagination */
.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 4px;
    border-radius: 50%;
    background-color: var(--color-surface);
    color: var(--color-text);
    font-weight: 600;
    transition: all var(--transition);
    border: 1px solid transparent;
    text-decoration: none; /* Ensure no underline */
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.pagination .page-numbers.dots {
    background-color: transparent;
    color: var(--color-muted);
}

/*--------------------------------------------------------------
# Journal Refresh (Blog + Single Post)
--------------------------------------------------------------*/
.journal-page {
    background: linear-gradient(180deg, #f6fbfe 0, #f2f9fc 140px, #ffffff 140px);
}

.journal-hero {
    padding: 1.2rem 0 0.6rem;
}

.journal-hero-shell {
    position: relative;
    border: 1px solid #d7e7ee;
    border-radius: 20px;
    padding: 1.15rem 1rem;
    background: linear-gradient(145deg, #ffffff 0%, #f4fbfd 100%);
    box-shadow: 0 10px 24px rgba(15, 77, 102, 0.08);
}

.journal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--c-primary);
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.journal-kicker i {
    font-size: 1rem;
}

.journal-hero-title {
    color: var(--c-text);
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.3;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.journal-hero-desc {
    color: var(--c-muted);
    margin-bottom: 0;
    line-height: 1.8;
    font-size: 0.86rem;
}

.journal-card {
    border: 1px solid #d7e7ee;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(160deg, #ffffff 0%, #f4fbfd 100%);
    box-shadow: 0 10px 22px rgba(15, 77, 102, 0.09);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.journal-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbe6;
    box-shadow: 0 16px 30px rgba(15, 77, 102, 0.14);
}

.journal-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(37, 181, 215, 0.13) 0%, rgba(164, 206, 78, 0.2) 100%);
}

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

.journal-card:hover .journal-card-img {
    transform: scale(1.04);
}

.journal-card-media-overlay {
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.32) 100%);
    pointer-events: none;
}

.journal-card-content {
    padding: 0.82rem 0.82rem 0.92rem;
}

.journal-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
}

.journal-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.26rem;
    font-size: 0.68rem;
    color: var(--c-primary);
    background: rgba(37, 181, 215, 0.1);
    border: 1px solid #cfe5ef;
    border-radius: 999px;
    padding: 0.22rem 0.52rem;
    text-decoration: none;
}

.journal-chip:hover {
    color: var(--c-primary);
    background: rgba(37, 181, 215, 0.16);
}

.journal-readtime {
    display: inline-flex;
    align-items: center;
    gap: 0.26rem;
    font-size: 0.68rem;
    color: var(--c-muted);
    white-space: nowrap;
}

.journal-card-title {
    margin: 0 0 0.45rem;
    font-size: 0.97rem;
    line-height: 1.55;
    font-weight: 800;
}

.journal-card-title a {
    color: var(--c-text);
    text-decoration: none;
}

.journal-card-title a:hover {
    color: var(--c-primary);
}

.journal-card-excerpt {
    margin: 0;
    color: var(--c-muted);
    font-size: 0.78rem;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.journal-card-bottomline {
    margin-top: 0.7rem;
    padding-top: 0.58rem;
    border-top: 1px dashed #d9e9ef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.journal-date {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    color: var(--c-muted);
    font-size: 0.71rem;
    white-space: nowrap;
}

.journal-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    color: var(--c-primary);
    font-size: 0.73rem;
    font-weight: 700;
    text-decoration: none;
}

.journal-more-link:hover {
    color: var(--c-primary);
}

.journal-empty {
    border: 1px solid var(--c-border);
    padding: 1rem;
    border-radius: 14px;
}

.journal-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.journal-card--featured .journal-card-title {
    font-size: 1.08rem;
}

.journal-card--featured .journal-card-excerpt {
    -webkit-line-clamp: 3;
}

@media (min-width: 992px) {
    .journal-hero-shell {
        padding: 1.35rem 1.4rem;
    }

    .journal-card--featured {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    }

    .journal-card--featured .journal-card-media {
        height: 100%;
        min-height: 100%;
        aspect-ratio: auto;
    }

    .journal-card--featured .journal-card-content {
        padding: 1.1rem 1.08rem;
    }

    .journal-card--featured .journal-card-title {
        font-size: 1.2rem;
    }

    .journal-card--featured .journal-card-excerpt {
        font-size: 0.84rem;
    }
}

.post-single-page {
    background: linear-gradient(180deg, #f6fbfe 0, #f2f9fc 160px, #ffffff 160px);
}

.post-single-hero-surface {
    border-radius: 20px;
    border: 1px solid #d7e7ee;
    background: linear-gradient(150deg, #ffffff 0%, #f4fbfd 100%);
    box-shadow: 0 10px 24px rgba(15, 77, 102, 0.08);
    padding: 1rem;
}

.post-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.44rem;
    margin-bottom: 0.72rem;
}

.post-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--c-text-2);
    font-size: 0.72rem;
    border: 1px solid #d6e8ef;
    border-radius: 999px;
    padding: 0.24rem 0.58rem;
    background: #ffffff;
}

.post-meta-pill-link {
    text-decoration: none;
}

.post-meta-pill-link:hover {
    color: var(--c-primary);
    border-color: #bfdbe6;
}

.post-single-title {
    margin: 0 0 0.56rem;
    color: var(--c-text);
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    line-height: 1.35;
    font-weight: 800;
}

.post-single-lead {
    margin-bottom: 0;
    color: var(--c-muted);
    font-size: 0.9rem;
    line-height: 1.85;
}

.post-single-cover {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #d7e7ee;
    box-shadow: 0 14px 28px rgba(15, 77, 102, 0.12);
}

.post-single-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.post-single-content-card {
    border: 1px solid #d7e7ee;
    border-radius: 18px;
    background: linear-gradient(165deg, #ffffff 0%, #f6fbfe 100%);
    padding: 1rem;
}

.post-single-content {
    color: var(--c-text-2);
    font-size: 0.94rem;
    line-height: 1.95;
}

.post-single-content p {
    margin-bottom: 0.95rem;
}

.post-single-content h1,
.post-single-content h2,
.post-single-content h3,
.post-single-content h4 {
    margin-top: 1.2rem;
    margin-bottom: 0.62rem;
    color: var(--c-text);
    line-height: 1.5;
}

.post-single-content h2 {
    font-size: 1.25rem;
}

.post-single-content h3 {
    font-size: 1.08rem;
}

.post-single-content blockquote {
    margin: 1rem 0;
    border-right: 3px solid var(--c-primary);
    background: rgba(37, 181, 215, 0.08);
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    color: var(--c-text-2);
    font-style: normal;
}

.post-tags-card {
    border: 1px solid #d8e7ee;
    border-radius: 16px;
    padding: 0.9rem;
}

.post-tags-title {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--c-text);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

.post-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.post-tags-list a {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.58rem;
    font-size: 0.72rem;
    color: var(--c-text-2);
    border: 1px solid #d5e7ee;
    border-radius: 999px;
    background: #ffffff;
    text-decoration: none;
}

.post-tags-list a:hover {
    color: var(--c-primary);
    border-color: #bfdbe6;
}

.post-nav-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

.post-nav-card {
    display: block;
    border: 1px solid #d6e7ee;
    border-radius: 14px;
    background: #ffffff;
    padding: 0.78rem 0.84rem;
    text-decoration: none;
}

.post-nav-label {
    display: block;
    color: var(--c-muted);
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
}

.post-nav-title {
    display: block;
    color: var(--c-text);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.6;
}

.post-nav-card:hover {
    border-color: #bfdbe6;
}

.post-author-card {
    border: 1px solid #d6e7ee;
    border-radius: 16px;
    padding: 0.95rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.post-author-avatar-img {
    width: 88px;
    height: 88px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid #d6e7ee;
}

.post-author-content {
    min-width: 0;
}

.post-author-name {
    margin: 0 0 0.35rem;
    color: var(--c-text);
    font-size: 1.02rem;
    font-weight: 800;
}

.post-author-desc {
    color: var(--c-muted);
    font-size: 0.82rem;
    line-height: 1.8;
}

.post-author-link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--c-primary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
}

.post-comments {
    margin-top: 1rem;
}

.post-single-sidebar {
    position: sticky;
    top: 6.7rem;
}

.post-sidebar-card {
    border: 1px solid #d6e7ee;
    border-radius: 16px;
    padding: 0.9rem;
}

.post-sidebar-title {
    margin: 0 0 0.76rem;
    color: var(--c-text);
    font-size: 0.92rem;
    font-weight: 800;
}

.post-sidebar-author-img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
}

.post-related-item + .post-related-item {
    margin-top: 0.58rem;
    padding-top: 0.58rem;
    border-top: 1px dashed #d8e8ef;
}

.post-related-link {
    display: block;
    text-decoration: none;
}

.post-related-title {
    display: block;
    color: var(--c-text);
    font-size: 0.8rem;
    line-height: 1.7;
    font-weight: 700;
}

.post-related-date {
    display: block;
    margin-top: 0.16rem;
    color: var(--c-muted);
    font-size: 0.7rem;
}

.post-related-link:hover .post-related-title {
    color: var(--c-primary);
}

@media (min-width: 576px) {
    .post-single-hero-surface {
        padding: 1.2rem 1.25rem;
    }

    .post-single-content-card,
    .post-tags-card,
    .post-author-card,
    .post-sidebar-card {
        padding: 1.05rem;
    }

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

@media (max-width: 991.98px) {
    .post-single-sidebar {
        position: static;
    }
}

/*--------------------------------------------------------------
# Categories Page
--------------------------------------------------------------*/
/* Category Tabs */
.category-tabs {
    background-color: var(--color-surface);
    border-color: var(--color-border) !important;
}

.category-tab-item {
    position: relative;
    overflow: hidden;
    color: var(--color-muted);
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 120px;
    text-align: center;
}


.category-tab-item:hover {
    color: var(--color-primary);
    background-color: rgba(111, 44, 145, 0.05);
}

.category-tab-item.active {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.category-title {
    transition: color 0.3s ease;
}

.category-arrow{
    display:flex;
}

.category-row-item {
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.category-row-item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-brand-cyan) 0%, var(--c-brand-green) 100%);
}

.category-row-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}
/*--------------------------------------------------------------
# Search Page
--------------------------------------------------------------*/

.input-group > button.btn{
    display:flex;
    justify-content:center;
    align-items:center;
}

.search-header-section {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.search-form-refined .input-group {
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.search-form-refined .input-group:focus-within {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary) !important;
}

.search-form-refined .form-control {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
}

.search-form-refined .form-control:focus {
    box-shadow: none;
}

.search-form-refined .btn {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-top-left-radius: 50rem !important;
    border-bottom-left-radius: 50rem !important;
}

/*--------------------------------------------------------------
# 404 Page
--------------------------------------------------------------*/
.error-404-container {
    box-shadow: var(--shadow-lg);
}

.error-404-illustration {
    position: relative;
    display: inline-block;
}

.error-404-illustration .error-code {
    font-size: 10rem;
    font-weight: 800;
    color: var(--color-surface-darker);
    line-height: 1;
}

.error-404-illustration .error-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    opacity: 0.8;
    animation: ghost-float 3s ease-in-out infinite;
}

@keyframes ghost-float {
    0%, 100% {
        transform: translate(-50%, -45%);
    }
    50% {
        transform: translate(-50%, -55%);
    }
}

/*--------------------------------------------------------------
# Single App Page
--------------------------------------------------------------*/
.single-app-page {
    background: linear-gradient(180deg, #f4fbfe 0%, #edf8fb 100%);
}

.single-app-page .container {
    max-width: 1040px;
}

.single-app-page .app-surface-card {
    background: linear-gradient(160deg, #ffffff 0%, #f7fcff 100%);
    border: 1px solid #d7e7ee;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(15, 77, 102, 0.08);
}

.single-app-page .section-heading {
    color: var(--c-text);
    position: relative;
    padding-right: 12px;
}

.single-app-page .section-heading::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--c-brand-cyan) 0%, var(--c-brand-green) 100%);
}

.single-app-header {
    position: relative;
    padding: 0.35rem 0 0.9rem;
    gap: 0.72rem;
    margin-bottom: 1rem;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    flex-wrap: nowrap;
}

.single-app-header::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, rgba(37, 181, 215, 0.65) 0%, rgba(164, 206, 78, 0.55) 100%);
}

.single-app-header.app-surface-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.single-app-header .app-icon-wrapper {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #cfe2ea;
    box-shadow: 0 8px 20px rgba(15, 109, 136, 0.14);
    flex-shrink: 0;
    background-color: #ffffff;
}

.single-app-header .app-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-app-header .app-header-details {
    min-width: 0;
}

.single-app-header .app-title {
    color: var(--c-text);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
}

.single-app-header .app-developer-name {
    color: var(--c-primary);
    text-decoration: none;
    font-size: 0.79rem;
}

.single-app-header .app-developer-name:hover {
    color: var(--c-ios);
}

.single-app-header .app-header-actions {
    width: auto;
    min-width: fit-content;
    text-align: center !important;
    margin-right: auto !important;
    margin-left: 0 !important;
}

.single-app-header .btn-download-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cfe2ea !important;
    border-radius: 999px;
    min-width: 108px;
    height: 34px;
    padding: 0 0.95rem;
    background: #ffffff !important;
    color: var(--c-primary) !important;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: none;
    transition: transform var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition);
}

.single-app-header .btn-download-header span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: inherit;
}

.single-app-header .btn-download-header:hover {
    transform: translateY(-1px);
    box-shadow: none;
    border-color: #bfdbe6 !important;
    background-color: var(--c-surface-2) !important;
    color: var(--c-primary) !important;
}

.single-app-page .mobile-info-bar {
    margin-bottom: 1.25rem !important;
}

.single-app-page .mobile-info-bar .info-scroll-container {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(92px, 27vw, 112px);
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 0 4px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #bddae6 transparent;
}

.single-app-page .mobile-info-bar .info-scroll-container::-webkit-scrollbar {
    height: 5px;
}

.single-app-page .mobile-info-bar .info-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.single-app-page .mobile-info-bar .info-scroll-container::-webkit-scrollbar-thumb {
    background-color: #bddae6;
    border-radius: 99px;
}

.single-app-page .mobile-info-bar .info-pill-vertical {
    scroll-snap-align: start;
    min-height: 90px;
    border-radius: 11px;
    border: 1px solid #d7e7ee;
    background: linear-gradient(160deg, #ffffff 0%, #f6fbfe 100%);
    box-shadow: 0 6px 14px rgba(15, 77, 102, 0.08);
    padding: 0.5rem 0.42rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    text-align: center;
}

.single-app-page .mobile-info-bar .pill-icon-top {
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(37, 181, 215, 0.15) 0%, rgba(164, 206, 78, 0.2) 100%);
    color: var(--c-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.single-app-page .mobile-info-bar .pill-value-middle {
    color: var(--c-text);
    font-size: 0.82rem;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    min-height: 2.05em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 100%;
}

.single-app-page .mobile-info-bar .pill-value-middle a {
    color: inherit;
    text-align: center;
    display: block;
}

.single-app-page .mobile-info-bar .pill-label-bottom {
    color: var(--c-muted);
    font-size: 0.7rem;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
    width: 100%;
}

@media (max-width: 420px) {
    .single-app-page .mobile-info-bar .info-scroll-container {
        grid-auto-columns: clamp(86px, 26vw, 104px);
    }
}

@media (min-width: 540px) {
    .single-app-page .mobile-info-bar .info-scroll-container {
        grid-auto-columns: clamp(96px, 22vw, 118px);
    }
}

@media (min-width: 768px) {
    .single-app-page .mobile-info-bar .info-scroll-container {
        grid-auto-columns: clamp(102px, 14vw, 126px);
        gap: 8px;
    }

    .single-app-page .mobile-info-bar .info-pill-vertical {
        min-height: 94px;
        padding: 0.52rem 0.46rem;
    }

    .single-app-page .mobile-info-bar .pill-icon-top {
        width: 25px;
        height: 25px;
        font-size: 0.98rem;
    }

    .single-app-page .mobile-info-bar .pill-value-middle {
        font-size: 0.84rem;
    }

    .single-app-page .mobile-info-bar .pill-label-bottom {
        font-size: 0.71rem;
    }
}

.single-app-page .app-gallery-container {
    padding: 0.75rem;
}

.single-app-page .gallery-scroll-wrapper {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 12px;
    direction: ltr;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #bddae6 transparent;
    cursor: grab;
}

.single-app-page .gallery-scroll-wrapper:active {
    cursor: grabbing;
}

.single-app-page .gallery-scroll-wrapper::-webkit-scrollbar {
    height: 5px;
}

.single-app-page .gallery-scroll-wrapper::-webkit-scrollbar-thumb {
    background-color: #bddae6;
    border-radius: 99px;
}

.single-app-page .gallery-slide {
    scroll-snap-align: start;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #dbe9f0;
    background: #f8fbfd;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.single-app-page .gallery-slide::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 38%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.2) 100%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.single-app-page .gallery-slide:hover {
    transform: translateY(-2px);
    border-color: #bfdbe6;
    box-shadow: 0 14px 26px rgba(15, 77, 102, 0.14);
}

.single-app-page .gallery-slide:hover::after {
    opacity: 1;
}

.single-app-page .gallery-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.single-app-page .gallery-slide:hover .gallery-image {
    transform: scale(1.02);
}

.single-app-page .single-content,
.single-app-page .changelog-box,
.single-app-page .info-list-box,
.single-app-page .comments-container {
    padding: 1rem !important;
}

.single-app-page .single-content p:last-child {
    margin-bottom: 0;
}

.single-app-page .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.72rem 0;
    border-bottom: 1px solid #e3eef3;
}

.single-app-page .info-row:last-child {
    border-bottom: none;
}

.single-app-page .info-key {
    color: var(--c-muted);
}

.single-app-page .info-val {
    color: var(--c-text);
    font-weight: 600;
    text-align: left;
}

.single-app-page .download-card {
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.single-app-page .download-card:hover {
    transform: translateY(-2px);
    border-color: #bddae6;
    box-shadow: 0 14px 26px rgba(15, 77, 102, 0.12);
}

.single-app-page .download-info > .fw-bold {
    color: var(--c-text);
}

.single-app-page .download-meta-container {
    gap: 0.5rem !important;
}

.single-app-page .meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--c-surface-2);
    border: 1px solid #d8e7ee;
    color: var(--c-text-2);
    padding: 4px 10px;
    border-radius: 999px;
}

.single-app-page .download-note {
    color: var(--c-muted) !important;
}

.single-app-page .download-action-btn {
    border-radius: 999px !important;
    border-color: #bcd8e4 !important;
    color: var(--c-primary) !important;
    background: #ffffff !important;
    min-width: 102px;
}

.single-app-page .download-action-btn:hover {
    background: var(--c-surface-2) !important;
    border-color: #9ec5d4 !important;
}

.single-app-page .related-apps-section .lifestyle-scroller {
    margin-top: 2px;
}

@media (min-width: 576px) {
    .single-app-header {
        padding: 0.4rem 0 1rem;
        gap: 0.84rem;
        flex-wrap: nowrap;
    }

    .single-app-header .app-title {
        font-size: 1.05rem;
    }

    .single-app-header .app-developer-name {
        font-size: 0.82rem;
    }

    .single-app-header .app-header-actions {
        width: auto;
        min-width: fit-content;
        margin-right: auto !important;
        margin-left: 0.75rem !important;
    }

    .single-app-header .btn-download-header {
        min-width: 116px;
        height: 36px;
        font-size: 0.79rem;
    }

    .single-app-page .app-gallery-container {
        padding: 0.9rem;
    }

    .single-app-page .gallery-scroll-wrapper {
        grid-auto-columns: 46%;
    }

}

@media (min-width: 768px) {
    .single-app-header {
        margin-bottom: 1.3rem;
        padding: 0.45rem 0 1.05rem;
    }

    .single-app-header .app-icon-wrapper {
        width: 88px;
        height: 88px;
    }

    .single-app-header .app-title {
        font-size: 1.18rem;
    }

    .single-app-header .app-developer-name {
        font-size: 0.86rem;
    }

    .single-app-header .btn-download-header {
        min-width: 126px;
        height: 38px;
        font-size: 0.81rem;
    }

    .single-app-page .single-content,
    .single-app-page .changelog-box,
    .single-app-page .info-list-box,
    .single-app-page .comments-container {
        padding: 1.2rem !important;
    }

}

@media (min-width: 992px) {
    .single-app-page .gallery-scroll-wrapper {
        grid-auto-columns: 33%;
    }
}
.appeman-banner {
    width: 100%;
}

.appeman-banner a {
    display: block;
    width: 100%;
}

.appeman-banner img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin-right: 0;
    margin-left: 0;
}

body.home:not(.blog) .appeman-banner,
.single-app-page .appeman-banner {
    width: 100%;
}

body.home:not(.blog) .appeman-banner a,
.single-app-page .appeman-banner a {
    display: block;
    width: 100%;
}

body.home:not(.blog) .appeman-banner img,
.single-app-page .appeman-banner img {
    width: 100% !important;
    max-width: none !important;
    height: auto;
}

.enamad img{
    max-height: 72px;
    width: auto;
    display: block;
}

@media (max-width: 575.98px) {
    .enamad img {
        max-height: 64px;
    }
}

/* Download page iOS button */
.download-links-section .btn-ios-download {
    background-color: #007aff;
    border-color: #007aff;
    color: #fff;
}

.download-links-section .btn-ios-download:hover,
.download-links-section .btn-ios-download:focus,
.download-links-section .btn-ios-download:active {
    background-color: #0063cc;
    border-color: #0063cc;
    color: #fff;
}

.download-links-section .btn-ios-download:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 255, 0.3);
}
