:root {
    --ar-green: #138a3d;
    --ar-green-2: #0f6b34;
    --ar-green-dark: #073f2b;
    --ar-green-soft: #eafaf1;
    --ar-yellow: #f8c400;
    --ar-cream: #fff9e8;
    --ar-text: #0d2f24;
    --ar-muted: #64748b;
    --ar-border: #e2e8f0;
    --ar-white: #ffffff;
    --ar-shadow-sm: 0 12px 28px rgba(15, 23, 42, 0.08);
    --ar-shadow-md: 0 20px 55px rgba(15, 23, 42, 0.12);
    --ar-shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.18);
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--ar-text);
    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(19, 138, 61, 0.08),
            transparent 24%
        ),
        radial-gradient(
            circle at 92% 18%,
            rgba(248, 196, 0, 0.12),
            transparent 23%
        ),
        #ffffff;
}

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

/* ================= HEADER ================= */
.header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;

    min-height: 86px;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    z-index: 9999;
}

body {
    padding-top: 86px;
}

@media (max-width: 767.98px) {
    body {
        padding-top: 68px;
    }

    .header {
        min-height: 68px;
    }
}

.header .header-container {
    min-height: 86px;
}

.header .logo img {
    height: 56px !important;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(19, 138, 61, 0.18));
}

.logo-text {
    color: var(--ar-green-2) !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 1.15;
}

.navmenu ul {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navmenu a {
    position: relative;
    color: #102a21 !important;
    font-weight: 800;
    padding: 13px 14px !important;
    border-radius: 999px;
    transition: 0.25s ease;
    text-decoration: none;
}

.navmenu a:hover,
.navmenu a.active {
    color: var(--ar-green) !important;
    background: rgba(19, 138, 61, 0.08);
}

.navmenu a.active::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 5px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ar-green), var(--ar-yellow));
}

.navmenu .btn,
.header .btn {
    border-radius: 14px !important;
    font-weight: 900 !important;
    padding: 11px 22px !important;
    box-shadow: none !important;
}

.header .btn-light {
    color: var(--ar-green) !important;
    border: 1.5px solid var(--ar-green) !important;
    background: #ffffff !important;
}

.header .btn-light:hover {
    color: #ffffff !important;
    background: var(--ar-green) !important;
}

/* ================= SECTION TITLE ================= */
.section,
section {
    position: relative;
}

.section-title {
    margin-bottom: 44px;
}

.section-title h2 {
    font-family: "Raleway", sans-serif;
    color: var(--ar-text) !important;
    font-size: clamp(28px, 4vw, 42px) !important;
    font-weight: 900 !important;
    letter-spacing: -0.8px;
    margin-bottom: 12px;
}

.section-title h2::after {
    content: "";
    display: block;
    width: 96px;
    height: 5px;
    margin: 16px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ar-green), var(--ar-yellow));
    box-shadow: 0 8px 18px rgba(19, 138, 61, 0.22);
}

.section-title p {
    max-width: 760px;
    margin: 14px auto 0;
    color: #58708b !important;
    font-size: 16px;
    line-height: 1.8;
}

/* ================= HERO ================= */
.hero.section {
    padding: 0 !important;
    margin: 0 !important;
    background: #f7fbf8;
    overflow: visible;
}

.hero-slider-section {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #eef4f6;
    overflow: hidden;
}

#heroSlider,
#heroSlider .carousel-inner,
#heroSlider .carousel-item {
    width: 100%;
    height: auto !important;
}

.hero-slider-img {
    width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block;
}

.carousel-item img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    transition: transform 0.4s ease;
}

.hero-slider-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(5, 42, 27, 0.88) 0%,
            rgba(5, 42, 27, 0.62) 43%,
            rgba(5, 42, 27, 0.25) 100%
        ),
        radial-gradient(
            circle at 78% 16%,
            rgba(248, 196, 0, 0.22),
            transparent 28%
        );
    pointer-events: none;
}

.hero-slider-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 120px;
    z-index: 3;
    background: linear-gradient(180deg, rgba(247, 251, 248, 0), #f7fbf8 90%);
    pointer-events: none;
}

.hero-caption {
    position: absolute;
    z-index: 5;
    left: max(6vw, 52px);
    top: 50%;
    transform: translateY(-50%);
    max-width: 690px;
    color: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    color: #fff9d7;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-caption h1 {
    font-family: "Raleway", sans-serif;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.8px;
    margin: 0 0 20px;
    color: #ffffff;
    text-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

.hero-caption p {
    max-width: 610px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.85;
    margin: 0 0 28px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-ar-primary,
.btn-ar-outline,
.btn-success {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 24px !important;
    border-radius: 999px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    transition: 0.3s ease;
}

.btn-ar-primary,
.btn-success {
    color: #ffffff !important;
    border: 0 !important;
    background: linear-gradient(
        135deg,
        var(--ar-green),
        var(--ar-green-dark)
    ) !important;
    box-shadow: 0 16px 36px rgba(19, 138, 61, 0.32) !important;
}

.btn-ar-primary:hover,
.btn-success:hover {
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 22px 48px rgba(19, 138, 61, 0.42) !important;
}

.btn-ar-outline {
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px);
}

.btn-ar-outline:hover {
    color: var(--ar-green-dark) !important;
    background: #ffffff !important;
    transform: translateY(-3px);
}

#heroSlider .carousel-indicators {
    z-index: 7;
    bottom: 34px;
    gap: 8px;
}

#heroSlider .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    opacity: 0.65;
    background: #ffffff;
    transition: 0.25s ease;
}

#heroSlider .carousel-indicators button.active {
    width: 34px;
    opacity: 1;
    background: var(--ar-yellow);
}

.floating-logo-bar {
    position: absolute;
    z-index: 9;
    left: 0;
    right: 0;
    top: 18px;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.floating-logo-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 26px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
    pointer-events: auto;
}

.floating-logo-inner img {
    height: 58px;
    width: auto;
    object-fit: contain;
}

/* ================= ABOUT ================= */
.hero-wrapper {
    position: relative;
    padding: 96px 0 80px !important;
    background:
        radial-gradient(
            circle at 12% 28%,
            rgba(19, 138, 61, 0.1),
            transparent 26%
        ),
        radial-gradient(
            circle at 88% 8%,
            rgba(248, 196, 0, 0.13),
            transparent 26%
        ),
        linear-gradient(180deg, #f7fbf8 0%, #ffffff 100%);
}

.hero-row {
    position: relative;
    align-items: center !important;
    row-gap: 34px;
}

.hero-title-center {
    width: 100%;
    text-align: center;
    margin-bottom: 36px;
}

.hero-title-center h1 {
    font-family: "Raleway", sans-serif;
    font-size: clamp(30px, 4.2vw, 48px) !important;
    line-height: 1.18;
    color: var(--ar-text) !important;
    font-weight: 900 !important;
    margin: 0;
}

.hero-title-center h1::after {
    content: "";
    display: block;
    width: 92px;
    height: 5px;
    margin: 16px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ar-green), var(--ar-yellow));
}

.hero-wrapper .hero-content {
    text-align: left;
    max-width: none;
    margin: 0;
    padding: 0 16px;
}

.hero-description {
    position: relative;
    color: #334155 !important;
    font-size: 16px !important;
    line-height: 2 !important;
    text-align: left !important;
    margin: 0 0 24px !important;
    padding: 32px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.92);
    box-shadow: var(--ar-shadow-sm);
}

.hero-description::before {
    content: "\F5D2";
    font-family: "bootstrap-icons";
    position: absolute;
    top: -22px;
    left: 28px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--ar-green), var(--ar-green-dark));
    box-shadow: 0 14px 30px rgba(19, 138, 61, 0.28);
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-media {
    padding: 0 16px;
}

#heroCarousel {
    position: relative;
    overflow: hidden;
    border-radius: 34px !important;
    border: 10px solid #ffffff;
    box-shadow: var(--ar-shadow-lg) !important;
    background: #ffffff;
}

#heroCarousel::after {
    content: "TPQ Ar-Roudhoh Jember";
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 3;
    padding: 10px 16px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    background: rgba(7, 63, 43, 0.82);
    backdrop-filter: blur(12px);
}

#heroCarousel img {
    width: 100%;
    height: 390px !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.65s ease;
}

#heroCarousel:hover img {
    transform: scale(1.04);
}

/* ================= VISI MISI ================= */
#visi-misi.mission-vision {
    position: relative;
    margin-top: 0 !important;
    padding: 82px 0 96px;
    row-gap: 24px;
}

#visi-misi.mission-vision::before {
    content: "Visi & Misi";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Raleway", sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    color: var(--ar-text);
    white-space: nowrap;
}

#visi-misi.mission-vision::after {
    content: "Membentuk santri yang cinta Al-Qur'an, berakhlak mulia, dan bersemangat belajar.";
    position: absolute;
    top: 54px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 760px);
    text-align: center;
    color: var(--ar-muted);
    font-size: 15px;
    line-height: 1.7;
}

.vision-card,
.mission-card {
    position: relative;
    height: 100%;
    min-height: 320px;
    padding: 38px 34px;
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: var(--ar-shadow-md);
    transition: 0.35s ease;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ar-shadow-lg);
}

.vision-card {
    color: #ffffff;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(248, 196, 0, 0.28),
            transparent 30%
        ),
        linear-gradient(135deg, var(--ar-green-dark), var(--ar-green));
}

.mission-card {
    color: var(--ar-text);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(19, 138, 61, 0.09),
            transparent 30%
        ),
        #ffffff;
    border-color: var(--ar-border);
}

.vision-card::before,
.mission-card::before {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.vision-card h3,
.mission-card h3 {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Raleway", sans-serif;
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 20px;
    text-align: left !important;
}

.vision-card h3::before,
.mission-card h3::before {
    content: "\F292";
    font-family: "bootstrap-icons";
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 24px;
}

.vision-card h3::before {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.mission-card h3::before {
    content: "\F633";
    color: var(--ar-green);
    background: var(--ar-green-soft);
}

.vision-card p,
.mission-card p {
    position: relative;
    z-index: 2;
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}

.vision-card p {
    color: rgba(255, 255, 255, 0.92);
}

.mission-card p {
    color: #334155;
}

/* ================= BERITA ================= */
#students-life-block {
    padding: 92px 0 !important;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(19, 138, 61, 0.08),
            transparent 27%
        ),
        linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}

.activities-showcase {
    padding: 0;
}

.featured-activity,
.activity-media {
    height: 100%;
    min-height: 420px;
    border-radius: 34px !important;
    overflow: hidden !important;
    box-shadow: var(--ar-shadow-md);
    background: #ffffff;
}

.activity-media {
    position: relative;
}

.activity-media img {
    width: 100% !important;
    height: 100% !important;
    min-height: 420px;
    object-fit: cover !important;
    object-position: center;
    transition: transform 0.65s ease;
}

.activity-media:hover img {
    transform: scale(1.05);
}

.activity-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 34px;
    background: linear-gradient(
        180deg,
        rgba(7, 63, 43, 0.05) 0%,
        rgba(7, 63, 43, 0.88) 100%
    );
}

.overlay-content h4 {
    color: #ffffff;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 900;
    margin-bottom: 12px;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
    margin-bottom: 18px;
}

.overlay-btn {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--ar-green-dark) !important;
    background: #ffffff;
    text-decoration: none;
    transition: 0.3s ease;
}

.overlay-btn:hover {
    transform: translateX(4px);
    background: var(--ar-yellow);
}

.activities-list {
    height: 100%;
    padding: 28px;
    border-radius: 34px;
    background: #ffffff;
    border: 1px solid var(--ar-border);
    box-shadow: var(--ar-shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.activity-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid var(--ar-border);
    cursor: pointer;
    transition: 0.3s ease;
    margin-bottom: 14px;
}

.activity-item:hover {
    transform: translateY(-4px);
    background: var(--ar-green-soft);
    border-color: rgba(19, 138, 61, 0.22);
}

.activity-thumb {
    width: 86px;
    height: 86px;
    flex: 0 0 86px;
    border-radius: 18px;
    overflow: hidden;
}

.activity-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-info h6 {
    margin: 0 0 6px;
    color: var(--ar-text);
    font-weight: 900;
    line-height: 1.35;
}

.activity-info p {
    margin: 0;
    color: var(--ar-muted);
    font-size: 13px;
    line-height: 1.55;
}

/* ================= SARANA ================= */
#sarana-prasarana {
    padding: 92px 0 !important;
    background:
        radial-gradient(
            circle at 88% 28%,
            rgba(248, 196, 0, 0.14),
            transparent 26%
        ),
        linear-gradient(180deg, #f7fbf8 0%, #ffffff 100%);
}

.sarana-alt-swiper {
    padding: 8px 6px 56px !important;
    overflow: hidden;
}

.sarana-alt-swiper .swiper-wrapper {
    align-items: stretch;
}

.sarana-alt-swiper .swiper-slide {
    height: auto;
}

.sarana-alt-card {
    height: 100%;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.96);
    box-shadow: var(--ar-shadow-sm);
    transition: 0.35s ease;
}

.sarana-alt-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ar-shadow-md);
}

.sarana-image {
    height: 230px;
    overflow: hidden;
    background: #eef4f0;
}

.sarana-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.sarana-alt-card:hover .sarana-image img {
    transform: scale(1.05);
}

.sarana-content {
    position: relative;
    padding: 34px 26px 28px;
}

.sarana-icon {
    position: absolute;
    top: -27px;
    left: 24px;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--ar-green), var(--ar-green-dark));
    border: 5px solid #ffffff;
    box-shadow: 0 12px 26px rgba(19, 138, 61, 0.26);
}

.sarana-content h4 {
    color: var(--ar-text);
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 10px;
}

.sarana-content p {
    color: #475569;
    line-height: 1.75;
    margin: 0;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 0.35;
    background: var(--ar-green-dark);
}

.swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 999px;
    opacity: 1;
    background: linear-gradient(90deg, var(--ar-green), var(--ar-yellow));
}

/* ================= PENGAJAR ================= */
#guru-staff {
    padding: 92px 0 100px !important;
    background:
        radial-gradient(
            circle at 18% 12%,
            rgba(19, 138, 61, 0.08),
            transparent 25%
        ),
        radial-gradient(
            circle at 80% 90%,
            rgba(248, 196, 0, 0.12),
            transparent 26%
        ),
        linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}

#pengurusCarousel {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px 52px;
}

#pengurusCarousel .carousel-indicators {
    bottom: 0;
}

#pengurusCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--ar-green-dark);
    opacity: 0.25;
}

#pengurusCarousel .carousel-indicators button.active {
    width: 30px;
    opacity: 1;
    background: var(--ar-green);
}

.faculty-card {
    height: 100%;
    max-width: 330px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--ar-border);
    box-shadow: var(--ar-shadow-sm);
    transition: 0.35s ease;
}

.faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ar-shadow-md);
}

.faculty-image {
    height: 315px;
    padding: 18px 18px 0;
    background:
        radial-gradient(
            circle at top right,
            rgba(248, 196, 0, 0.14),
            transparent 34%
        ),
        linear-gradient(180deg, var(--ar-green-soft), #ffffff);
    overflow: hidden;
}

.faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    display: block;
    border-radius: 24px 24px 0 0;
}

.faculty-info {
    padding: 22px 22px 26px;
    text-align: center;
    background: #ffffff;
}

.faculty-info h3 {
    color: var(--ar-text);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.35;
    margin: 0 0 8px;
}

.faculty-info .position {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--ar-green);
    background: var(--ar-green-soft);
    font-size: 13px;
    font-weight: 900;
}

.faculty-info .position::before {
    content: "\F4D5";
    font-family: "bootstrap-icons";
}

/* ================= FOOTER ================= */
.footer {
    color: rgba(255, 255, 255, 0.82) !important;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(248, 196, 0, 0.16),
            transparent 24%
        ),
        linear-gradient(135deg, #062c20 0%, #0a4b31 100%) !important;
}

.footer .footer-top {
    padding-top: 58px;
    padding-bottom: 28px;
}

.footer .sitename,
.footer h4 {
    color: #ffffff !important;
    font-weight: 900;
}

.footer p,
.footer a,
.footer li {
    color: rgba(255, 255, 255, 0.78) !important;
}

.footer a:hover {
    color: var(--ar-yellow) !important;
}

.footer .social-links a {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.footer .social-links a:hover {
    background: var(--ar-yellow);
    color: var(--ar-green-dark) !important;
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 20px 0 28px;
}

/* ================= MOBILE ================= */
@media (max-width: 1199.98px) {
    .navmenu ul {
        gap: 0;
    }

    .navmenu .d-flex {
        margin-left: 0 !important;
        padding: 0 18px 18px;
    }

    .navmenu .btn {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .floating-logo-bar {
        display: none !important;
    }

    .hero-slider-section,
    #heroSlider,
    #heroSlider .carousel-inner,
    #heroSlider .carousel-item,
    #heroSlider picture {
        height: 560px;
    }

    .hero-caption {
        left: 28px;
        right: 28px;
        max-width: none;
    }

    .hero-wrapper {
        padding: 70px 0 62px !important;
    }

    #visi-misi.mission-vision {
        padding-top: 78px;
    }

    #heroCarousel img {
        height: 320px !important;
    }

    .sarana-alt-card {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .header {
        min-height: 68px;
    }

    .header .header-container {
        min-height: 68px;
    }

    .header .logo {
        padding-left: 8px !important;
    }

    .header .logo img {
        height: 42px !important;
    }

    .logo-text {
        font-size: 11px;
    }

    .mobile-nav-toggle {
        font-size: 26px;
        color: var(--ar-green-dark);
    }

    .hero-slider-section,
    #heroSlider,
    #heroSlider .carousel-inner,
    #heroSlider .carousel-item,
    #heroSlider picture {
        height: 520px;
        min-height: 520px;
    }

    .hero-slider-img {
        object-fit: cover !important;
        object-position: center top;
    }

    .hero-slider-section::before {
        background: linear-gradient(
            180deg,
            rgba(5, 42, 27, 0.78) 0%,
            rgba(5, 42, 27, 0.46) 55%,
            rgba(5, 42, 27, 0.82) 100%
        );
    }

    .hero-caption {
        left: 18px;
        right: 18px;
        top: auto;
        bottom: 70px;
        transform: none;
        text-align: left;
    }

    .hero-badge {
        font-size: 11px;
        padding: 8px 12px;
        margin-bottom: 14px;
    }

    .hero-caption h1 {
        font-size: 36px;
        letter-spacing: -0.8px;
        margin-bottom: 12px;
    }

    .hero-caption p {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 18px;
    }

    .hero-actions {
        gap: 10px;
    }

    .btn-ar-primary,
    .btn-ar-outline,
    .btn-success {
        min-height: 44px;
        padding: 0 18px !important;
        font-size: 13px;
    }

    .hero-wrapper {
        padding: 48px 0 44px !important;
    }

    .hero-title-center {
        margin-bottom: 24px;
    }

    .hero-description {
        padding: 28px 20px 22px;
        font-size: 14px !important;
        line-height: 1.78 !important;
        border-radius: 24px;
    }

    .hero-description::before {
        left: 20px;
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    #heroCarousel {
        border-width: 6px;
        border-radius: 24px !important;
    }

    #heroCarousel img {
        height: 240px !important;
    }

    #visi-misi.mission-vision {
        padding: 74px 0 58px;
    }

    #visi-misi.mission-vision::after {
        top: 45px;
        font-size: 13px;
    }

    .vision-card,
    .mission-card {
        min-height: auto;
        padding: 28px 22px;
        border-radius: 24px;
    }

    .vision-card h3,
    .mission-card h3 {
        font-size: 24px;
    }

    .vision-card p,
    .mission-card p {
        font-size: 14px;
        line-height: 1.76;
    }

    #students-life-block,
    #sarana-prasarana,
    #guru-staff {
        padding: 58px 0 !important;
    }

    .section-title {
        margin-bottom: 30px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .section-title p {
        font-size: 14px;
        line-height: 1.65;
    }

    .featured-activity,
    .activity-media,
    .activity-media img {
        min-height: 330px;
    }

    .activity-overlay {
        padding: 22px;
    }

    .overlay-content h4 {
        font-size: 21px;
    }

    .overlay-content p {
        font-size: 13px;
    }

    .activities-list {
        padding: 20px;
        border-radius: 24px;
    }

    .sarana-image {
        height: 205px;
    }

    .sarana-content {
        padding: 32px 20px 24px;
    }

    .faculty-image {
        height: 280px;
    }

    .faculty-card {
        max-width: 310px;
    }

    .footer .footer-top {
        padding-top: 42px;
    }
}

/* ================= DETAIL BERITA TPQ - PREMIUM EDITORIAL ================= */
.tpq-news-detail-page {
    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(19, 138, 61, 0.1),
            transparent 24%
        ),
        radial-gradient(
            circle at 88% 4%,
            rgba(248, 196, 0, 0.18),
            transparent 25%
        ),
        linear-gradient(180deg, #f7fbf8 0%, #ffffff 42%, #f7fbf8 100%);
    overflow: hidden;
}

.tpq-news-hero {
    position: relative;
    padding: 76px 0 60px;
}

.tpq-news-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    top: -160px;
    border-radius: 50%;
    background: rgba(19, 138, 61, 0.1);
    filter: blur(6px);
}

.tpq-news-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    left: -90px;
    bottom: -80px;
    border-radius: 50%;
    background: rgba(248, 196, 0, 0.17);
    filter: blur(8px);
}

.tpq-news-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 54px;
    align-items: center;
}

.tpq-news-hero-copy {
    position: relative;
    padding: 38px 0;
}

.tpq-news-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.tpq-news-breadcrumb a {
    color: var(--ar-green);
    text-decoration: none;
}

.tpq-news-breadcrumb a:hover {
    color: var(--ar-green-dark);
}

.tpq-news-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 10px 17px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--ar-green), var(--ar-green-dark));
    box-shadow: 0 16px 35px rgba(19, 138, 61, 0.28);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.tpq-news-hero-copy h1 {
    margin: 0;
    color: var(--ar-text);
    font-family: "Raleway", sans-serif;
    font-size: clamp(38px, 5.5vw, 72px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -2px;
}

.tpq-news-excerpt {
    max-width: 680px;
    margin: 24px 0 0;
    color: #475569;
    font-size: 18px;
    line-height: 1.85;
    font-weight: 500;
}

.tpq-news-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.tpq-news-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px;
    border-radius: 999px;
    color: var(--ar-green-dark);
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    font-size: 13px;
    font-weight: 900;
}

.tpq-news-meta-item i {
    color: var(--ar-green);
}

.tpq-news-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 30px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--ar-green), var(--ar-green-dark));
    box-shadow: 0 16px 34px rgba(19, 138, 61, 0.25);
    text-decoration: none;
    font-weight: 900;
    transition: 0.28s ease;
}

.tpq-news-back:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 22px 46px rgba(19, 138, 61, 0.34);
}

.tpq-news-hero-visual {
    position: relative;
}

.tpq-news-image-wrap {
    position: relative;
    min-height: 520px;
    border-radius: 42px;
    padding: 14px;
    background: #ffffff;
    box-shadow: 0 34px 90px rgba(15, 23, 42, 0.18);
    transform: rotate(1.2deg);
}

.tpq-news-image-wrap::before {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: -1;
    border-radius: 48px;
    background: linear-gradient(
        135deg,
        rgba(19, 138, 61, 0.2),
        rgba(248, 196, 0, 0.18)
    );
    transform: rotate(-3deg);
}

.tpq-news-image-wrap img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 32px;
}

.tpq-news-floating-date {
    position: absolute;
    left: -18px;
    bottom: 34px;
    min-width: 112px;
    padding: 17px 18px;
    border-radius: 24px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(248, 196, 0, 0.3),
            transparent 32%
        ),
        linear-gradient(135deg, var(--ar-green-dark), var(--ar-green));
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.25);
    text-align: center;
}

.tpq-news-floating-date strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.tpq-news-floating-date span {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    font-weight: 800;
    opacity: 0.88;
}

.tpq-news-body-section {
    position: relative;
    padding: 26px 0 100px;
}

.tpq-news-article {
    position: relative;
    padding: 46px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.tpq-news-article::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 0;
    width: 6px;
    height: 74px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, var(--ar-green), var(--ar-yellow));
}

.tpq-news-article-top {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.tpq-news-article-top span,
.tpq-section-head span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 13px;
    border-radius: 999px;
    color: var(--ar-green);
    background: var(--ar-green-soft);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tpq-news-article-top h2,
.tpq-section-head h2 {
    margin: 0;
    color: var(--ar-text);
    font-family: "Raleway", sans-serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.tpq-news-content {
    color: #334155;
    font-size: 17px;
    line-height: 2.08;
    text-align: justify;
}

.tpq-news-content p {
    margin-bottom: 18px;
}

.tpq-news-content::first-letter {
    float: left;
    margin: 9px 14px 0 0;
    color: var(--ar-green);
    font-family: "Raleway", sans-serif;
    font-size: 64px;
    line-height: 0.82;
    font-weight: 900;
}

.tpq-news-gallery {
    margin-top: 34px;
    padding: 36px;
    border-radius: 36px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 20px 58px rgba(15, 23, 42, 0.08);
}

.tpq-section-head {
    margin-bottom: 26px;
}

.tpq-section-head p {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--ar-muted);
    line-height: 1.75;
}

.tpq-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tpq-gallery-card {
    position: relative;
    display: block;
    height: 210px;
    border-radius: 26px;
    overflow: hidden;
    background: #eafaf1;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

.tpq-gallery-card:nth-child(1) {
    grid-column: span 2;
}

.tpq-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.55s ease;
}

.tpq-gallery-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 30px;
    background: rgba(7, 63, 43, 0.46);
    opacity: 0;
    transition: 0.28s ease;
}

.tpq-gallery-card:hover img {
    transform: scale(1.08);
}

.tpq-gallery-card:hover .tpq-gallery-overlay {
    opacity: 1;
}

.tpq-news-sidebar {
    position: sticky;
    top: 112px;
}

.tpq-side-card {
    position: relative;
    margin-bottom: 22px;
    padding: 28px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.07);
}

.tpq-side-profile {
    color: #ffffff;
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(248, 196, 0, 0.25),
            transparent 32%
        ),
        linear-gradient(135deg, #073f2b 0%, #138a3d 100%);
    border: 0;
    overflow: hidden;
}

.tpq-side-profile::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -56px;
    bottom: -56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.tpq-side-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 20px;
    color: var(--ar-green-dark);
    background: #ffffff;
    font-size: 24px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.tpq-side-profile h4,
.tpq-side-profile p {
    position: relative;
    z-index: 2;
}

.tpq-side-profile h4 {
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 900;
}

.tpq-side-profile p {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
    margin: 0;
}

.tpq-side-title {
    margin: 0 0 18px;
    color: var(--ar-text);
    font-size: 22px;
    font-weight: 900;
}

.tpq-info-list {
    display: grid;
    gap: 12px;
}

.tpq-info-list div {
    padding: 16px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid var(--ar-border);
}

.tpq-info-list span {
    display: block;
    color: var(--ar-muted);
    font-size: 13px;
    margin-bottom: 5px;
}

.tpq-info-list strong {
    color: var(--ar-text);
    font-size: 15px;
    font-weight: 900;
}

.tpq-other-news {
    display: grid;
    gap: 13px;
}

.tpq-other-item {
    display: flex;
    gap: 13px;
    padding: 13px;
    border-radius: 22px;
    color: var(--ar-text);
    background: #f8fafc;
    border: 1px solid var(--ar-border);
    text-decoration: none;
    transition: 0.28s ease;
}

.tpq-other-item:hover {
    background: var(--ar-green-soft);
    border-color: rgba(19, 138, 61, 0.24);
    transform: translateY(-3px);
}

.tpq-other-img {
    width: 88px;
    height: 78px;
    flex: 0 0 88px;
    overflow: hidden;
    border-radius: 18px;
    background: #eafaf1;
}

.tpq-other-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tpq-other-text small {
    display: block;
    color: var(--ar-muted);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 5px;
}

.tpq-other-text h6 {
    margin: 0;
    color: var(--ar-text);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 900;
}

@media (max-width: 991.98px) {
    .tpq-news-hero {
        padding: 46px 0 34px;
    }

    .tpq-news-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .tpq-news-image-wrap {
        min-height: auto;
        transform: none;
    }

    .tpq-news-image-wrap::before {
        transform: none;
    }

    .tpq-news-image-wrap img {
        height: 440px;
    }

    .tpq-news-sidebar {
        position: static;
    }

    .tpq-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tpq-gallery-card:nth-child(1) {
        grid-column: span 1;
    }
}

@media (max-width: 767.98px) {
    .tpq-news-hero {
        padding: 28px 0 24px;
    }

    .tpq-news-hero-copy {
        padding: 20px 0 0;
    }

    .tpq-news-hero-copy h1 {
        font-size: 34px;
        letter-spacing: -0.8px;
    }

    .tpq-news-excerpt {
        font-size: 15px;
        line-height: 1.75;
    }

    .tpq-news-image-wrap {
        border-radius: 28px;
        padding: 8px;
    }

    .tpq-news-image-wrap img {
        height: 360px;
        border-radius: 22px;
    }

    .tpq-news-floating-date {
        left: 16px;
        bottom: 16px;
        min-width: 94px;
        border-radius: 20px;
    }

    .tpq-news-floating-date strong {
        font-size: 28px;
    }

    .tpq-news-body-section {
        padding-bottom: 60px;
    }

    .tpq-news-article,
    .tpq-news-gallery,
    .tpq-side-card {
        border-radius: 26px;
        padding: 24px;
    }

    .tpq-news-content {
        font-size: 15px;
        line-height: 1.9;
        text-align: left;
    }

    .tpq-news-content::first-letter {
        font-size: 48px;
    }

    .tpq-gallery-grid {
        grid-template-columns: 1fr;
    }

    .tpq-gallery-card {
        height: 220px;
    }
}

/* ================= SEMUA BERITA TPQ ================= */
.tpq-all-news-page {
    background:
        radial-gradient(
            circle at 7% 12%,
            rgba(19, 138, 61, 0.1),
            transparent 24%
        ),
        radial-gradient(
            circle at 92% 5%,
            rgba(248, 196, 0, 0.18),
            transparent 25%
        ),
        linear-gradient(180deg, #f7fbf8 0%, #ffffff 44%, #f7fbf8 100%);
    overflow: hidden;
}

.tpq-all-news-hero {
    position: relative;
    padding: 76px 0 52px;
}

.tpq-all-news-hero::before {
    content: "";
    position: absolute;
    right: -170px;
    top: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(19, 138, 61, 0.11);
    filter: blur(8px);
}

.tpq-all-news-hero::after {
    content: "";
    position: absolute;
    left: -100px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(248, 196, 0, 0.16);
    filter: blur(8px);
}

.tpq-all-news-hero-card {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 42px;
    padding: 62px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 82% 12%,
            rgba(248, 196, 0, 0.26),
            transparent 26%
        ),
        linear-gradient(135deg, #073f2b 0%, #0f6b34 48%, #138a3d 100%);
    box-shadow: 0 34px 90px rgba(15, 23, 42, 0.2);
}

.tpq-all-news-hero-card::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -70px;
    bottom: -90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.tpq-all-news-hero-card::after {
    content: "\F4D5";
    font-family: "bootstrap-icons";
    position: absolute;
    right: 72px;
    top: 52px;
    color: rgba(255, 255, 255, 0.08);
    font-size: 140px;
    line-height: 1;
}

.tpq-all-news-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.tpq-all-news-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 9px 15px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.17);
    backdrop-filter: blur(12px);
    font-size: 13px;
    font-weight: 800;
}

.tpq-all-news-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.tpq-all-news-breadcrumb a:hover {
    color: var(--ar-yellow);
}

.tpq-all-news-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #073f2b;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.15);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.tpq-all-news-hero h1 {
    max-width: 880px;
    margin: 0;
    color: #ffffff;
    font-family: "Raleway", sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.tpq-all-news-hero p {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
    line-height: 1.85;
}

.tpq-news-search {
    max-width: 720px;
    margin-top: 32px;
}

.tpq-news-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 8px 8px 8px 22px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.16);
}

.tpq-news-search-box i {
    color: var(--ar-green);
    font-size: 20px;
}

.tpq-news-search-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    color: var(--ar-text);
    font-size: 15px;
    font-weight: 600;
    background: transparent;
}

.tpq-news-search-box input::placeholder {
    color: #94a3b8;
}

.tpq-news-search-box button {
    min-height: 48px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--ar-green), var(--ar-green-dark));
    font-weight: 900;
    transition: 0.28s ease;
}

.tpq-news-search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(19, 138, 61, 0.28);
}

.tpq-search-result-info {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 15px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.17);
    font-size: 13px;
    font-weight: 700;
}

.tpq-search-result-info a {
    color: var(--ar-yellow);
    font-weight: 900;
    text-decoration: none;
}

.tpq-all-news-section {
    padding: 36px 0 100px;
}

.tpq-all-news-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.tpq-all-news-heading span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--ar-green);
    background: var(--ar-green-soft);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tpq-all-news-heading h2 {
    margin: 0;
    color: var(--ar-text);
    font-family: "Raleway", sans-serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    letter-spacing: -0.8px;
}

.tpq-all-news-heading p {
    margin: 12px 0 0;
    color: var(--ar-muted);
    line-height: 1.75;
}

.tpq-news-card {
    height: 100%;
    overflow: hidden;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
    transition: 0.35s ease;
}

.tpq-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

.tpq-news-card-image {
    position: relative;
    display: block;
    height: 255px;
    overflow: hidden;
    background: var(--ar-green-soft);
}

.tpq-news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.58s ease;
}

.tpq-news-card:hover .tpq-news-card-image img {
    transform: scale(1.07);
}

.tpq-news-card-date {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 68px;
    padding: 11px 8px;
    border-radius: 20px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(248, 196, 0, 0.28),
            transparent 32%
        ),
        linear-gradient(135deg, var(--ar-green-dark), var(--ar-green));
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.25);
    text-align: center;
}

.tpq-news-card-date strong {
    display: block;
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
}

.tpq-news-card-date span {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.tpq-news-card-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(7, 63, 43, 0.46);
    opacity: 0;
    transition: 0.3s ease;
}

.tpq-news-card-overlay span {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--ar-green-dark);
    background: #ffffff;
    font-size: 22px;
    transform: translateY(10px);
    transition: 0.3s ease;
}

.tpq-news-card:hover .tpq-news-card-overlay {
    opacity: 1;
}

.tpq-news-card:hover .tpq-news-card-overlay span {
    transform: translateY(0);
}

.tpq-news-card-body {
    padding: 26px;
}

.tpq-news-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 14px;
}

.tpq-news-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ar-green);
    background: var(--ar-green-soft);
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.tpq-news-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 900;
}

.tpq-news-card h3 a {
    color: var(--ar-text);
    text-decoration: none;
}

.tpq-news-card h3 a:hover {
    color: var(--ar-green);
}

.tpq-news-card p {
    min-height: 72px;
    margin: 0 0 20px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.75;
}

.tpq-news-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ar-green);
    text-decoration: none;
    font-weight: 900;
    transition: 0.25s ease;
}

.tpq-news-readmore:hover {
    color: var(--ar-green-dark);
    gap: 12px;
}

.tpq-news-pagination {
    display: flex;
    justify-content: center;
}

.tpq-news-pagination .pagination {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.tpq-news-pagination .page-link {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px !important;
    color: var(--ar-green);
    border: 1px solid rgba(19, 138, 61, 0.18);
    font-weight: 900;
    box-shadow: none;
}

.tpq-news-pagination .page-item.active .page-link {
    color: #ffffff;
    background: var(--ar-green);
    border-color: var(--ar-green);
}

.tpq-news-pagination .page-link:hover {
    color: #ffffff;
    background: var(--ar-green);
    border-color: var(--ar-green);
}

.tpq-news-empty {
    max-width: 620px;
    margin: 0 auto;
    padding: 54px 34px;
    border-radius: 36px;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.tpq-news-empty-icon {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 26px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--ar-green), var(--ar-green-dark));
    box-shadow: 0 16px 34px rgba(19, 138, 61, 0.28);
    font-size: 32px;
}

.tpq-news-empty h3 {
    margin-bottom: 10px;
    color: var(--ar-text);
    font-weight: 900;
}

.tpq-news-empty p {
    color: var(--ar-muted);
    line-height: 1.75;
}

@media (max-width: 991.98px) {
    .tpq-all-news-hero {
        padding: 46px 0 36px;
    }

    .tpq-all-news-hero-card {
        padding: 42px;
        border-radius: 34px;
    }

    .tpq-all-news-hero-card::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .tpq-all-news-hero {
        padding: 30px 0 24px;
    }

    .tpq-all-news-hero-card {
        padding: 30px 22px;
        border-radius: 28px;
    }

    .tpq-all-news-hero h1 {
        font-size: 34px;
        letter-spacing: -0.8px;
    }

    .tpq-all-news-hero p {
        font-size: 14px;
        line-height: 1.7;
    }

    .tpq-news-search-box {
        border-radius: 24px;
        min-height: auto;
        padding: 14px;
        flex-wrap: wrap;
    }

    .tpq-news-search-box input {
        flex: 1 1 calc(100% - 36px);
    }

    .tpq-news-search-box button {
        width: 100%;
        margin-top: 6px;
    }

    .tpq-all-news-section {
        padding: 28px 0 64px;
    }

    .tpq-news-card {
        border-radius: 26px;
    }

    .tpq-news-card-image {
        height: 225px;
    }

    .tpq-news-card-body {
        padding: 22px;
    }

    .tpq-news-card p {
        min-height: auto;
    }
}
