/*
Theme Name: Puskesmas Lapai Theme
Theme URI: http://localhost/wp-theme-puskesmas/
Author: Tyara diantri & Salsa corsyia
Author URI: http://localhost/wp-theme-puskesmas/
Description: Tema khusus untuk Puskesmas Lapai dengan desain modern, responsif, dan fitur klaster kesehatan.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-theme, responsive, medical, green
Text Domain: puskesmas-lapai
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* MODERN MEDICAL THEME VARIABLES */
:root {
    --primary-color: #059669;    /* Emerald Green - Modern & Trustworthy */
    --primary-dark: #064e3b;     /* Deep Emerald */
    --primary-light: #ecfdf5;    /* Very Light Emerald */
    --secondary-color: #0ea5e9;  /* Sky Blue - Fresh & Professional */
    --accent-color: #f59e0b;     /* Amber - For attention */
    --text-color: #1f2937;       /* Slate Gray - Better readability */
    --text-muted: #6b7280;       /* Muted Gray */
    --light-bg: #f9fafb;         /* Neutral light background */
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET & BASE STYLES */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* LAYOUT REDESIGN 2024 */
.main-header {
    background: var(--white);
    padding: 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.logo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.main-header h1 {
    color: var(--primary-dark);
    margin: 0;
    font-size: clamp(1.5rem, 5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.main-header p {
    color: var(--text-muted);
    margin: 5px 0 0;
    font-size: 0.9rem;
}

.header-top-area {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header-video-area {
    position: relative;
    max-width: 1200px;
    height: 120px;
    margin: 0 auto;
    overflow: hidden;
    transition: var(--transition);
    background-color: var(--primary-color); /* Fallback color */
}

.header-video-area.mode-fixed,
.header-video-area.mode-full,
.header-video-area.mode-auto {
    height: 120px;
    max-width: 1200px;
}

@media (max-width: 768px) {
    .header-video-area,
    .header-video-area.mode-fixed,
    .header-video-area.mode-full,
    .header-video-area.mode-auto {
        height: 80px;
    }
}

.header-video-area .video-background,
.header-video-area #wp-custom-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.header-video-area #hero-video,
.header-video-area #wp-custom-header video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-video-area.mode-auto #hero-video,
.header-video-area.mode-auto #wp-custom-header video {
    object-fit: contain;
    background: #000;
}

.header-video-area #wp-custom-header {
    width: 100%;
    height: 100%;
}

.header-video-area .video-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-video-area .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.header-page-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.header-page-title h1 {
    color: #fff;
    font-size: clamp(1rem, 3vw, 1.8rem);
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-transform: uppercase;
    line-height: 1.2;
}

.animated-shapes {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(20px);
    animation: moveShape 15s infinite alternate ease-in-out;
}

.shape-1 { width: 60px; height: 60px; top: -20px; left: 10%; }
.shape-2 { width: 80px; height: 80px; bottom: -30px; right: 15%; animation-delay: -5s; }
.shape-3 { width: 40px; height: 40px; top: 20%; right: 30%; animation-delay: -10s; }

@keyframes moveShape {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 20px) scale(1.2); }
}

/* NAVIGATION */
.main-navigation {
    background: var(--white);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu-container > a, .dropbtn {
    color: #374151;
    text-decoration: none;
    padding: 15px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.nav-menu-container > a i, .dropbtn i {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.nav-menu-container > a:hover, .dropdown:hover .dropbtn, .nav-menu-container > a.active {
    color: var(--primary-color);
    background-color: #f0fdf4;
    border-bottom-color: var(--primary-color);
}

/* DROPDOWN STYLES */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 260px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1001;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-content a {
    color: #374151 !important;
    padding: 12px 20px !important;
    text-decoration: none;
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    border-bottom: 1px solid #f1f1f1;
    text-align: left;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: var(--primary-light) !important;
    color: var(--primary-color) !important;
    padding-left: 25px !important;
}

/* MOBILE NAVIGATION TOGGLE */
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* MAIN LAYOUT */
.main-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 40px;
    margin: 40px auto;
    margin-bottom: 60px;
    max-width: 1200px;
    padding: 0 20px;
    width: 100%;
}

.sidebar-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}

/* GALLERY SECTION */
.gallery-section {
    padding: 60px 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 155, 15, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-grid-front {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-grid-front .gallery-item {
    border: 2px solid #333;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-grid-front .gallery-item img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

/* SLIDESHOW */
.slideshow-container {
    border: 2px solid #333;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 450px;
    background: #000;
    margin-bottom: 30px;
}

.slide {
    height: 100%;
    width: 100%;
    display: none;
}

.slide.active {
    display: block;
}

.slide-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 60px;
    background-size: cover !important;
    background-position: center center !important;
}

/* BUTTONS */
.btn-slide, .btn-read {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 20px rgba(15, 155, 15, 0.3);
    text-align: center;
}

.btn-slide:hover, .btn-read:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 155, 15, 0.4);
}

.btn-read {
    background: transparent;
    color: var(--primary-color);
    padding: 10px 25px;
    font-size: 0.9rem;
}

.btn-read:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* CARDS */
.post-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.post-thumbnail-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

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

.post-content-padding {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-category a {
    color: var(--primary-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
}

.post-card h3 {
    margin: 10px 0;
    font-size: 1.3rem;
    line-height: 1.4;
}

.post-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* POSTS GRID */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* FOOTER */
.site-footer {
    background: #1a252f;
    padding: 60px 0 30px;
    color: #aeb9c2;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section p, .footer-section li {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 50px;
    padding-top: 25px;
    text-align: center;
    font-size: 0.85rem;
}

/* SIDEBAR WIDGETS */
.sidebar-widget-card {
    background: #fff;
    color: #333;
    padding: 0;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.widget-title {
    font-size: 0.85rem;
    font-weight: 800;
    margin: 0;
    padding: 12px 20px;
    background-color: var(--primary-dark);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.popular-posts-list, .categories-list, .archive-list {
    list-style: none;
    padding: 15px 20px;
}

.popular-posts-list li, .categories-list li, .archive-list li {
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 5px;
}

.popular-posts-list a, .categories-list a, .archive-list a {
    color: #444;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

/* SCROLL TO TOP */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    background: var(--primary-dark);
}

/* TABLES */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.disease-table th, .disease-table td, 
.schedule-table th, .schedule-table td,
.tariff-table th, .tariff-table td {
    padding: 12px;
    border: 1px solid #dee2e6;
    text-align: left;
}

/* CHAT WIDGET */
#chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: inherit;
}

#chat-button {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(5, 150, 105, 0.3);
    transition: var(--transition);
    font-weight: 600;
}

#chat-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

#chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    animation: chatOpen 0.3s ease-out;
}

@keyframes chatOpen {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chat-header button {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.8;
    transition: 0.2s;
}

.chat-header button:hover {
    opacity: 1;
}

#chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}

/* Chat Bubbles */
.chat-msg {
    max-width: 85% !important;
    padding: 10px 14px !important;
    border-radius: 15px !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    position: relative !important;
    display: block !important;
    margin-bottom: 5px !important;
    word-wrap: break-word !important;
}

.chat-msg.admin {
    align-self: flex-end !important;
    background-color: var(--primary-color) !important;
    color: white !important;
    border-bottom-right-radius: 2px !important;
    border-bottom-left-radius: 15px !important;
    margin-left: auto !important;
    text-align: left !important;
}

.chat-msg.user {
   align-self: flex-start !important;
    background-color: #ffffff !important;
    color: var(--text-color) !important;
    border-bottom-left-radius: 2px !important;
    border-bottom-right-radius: 15px !important;
    margin-right: auto !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    border: 1px solid #e2e8f0 !important;
    text-align: left !important;
}

.chat-msg .meta {
    font-size: 0.7rem;
    margin-top: 4px;
    opacity: 0.7;
    display: block;
}

.chat-input-area {
    padding: 15px;
    background: white;
    border-top: 1px solid #f0f0f0;
}

.chat-input-area p {
    margin: 0 0 8px 0;
    font-size: 0.75rem;
}

#chat-name {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.chat-input-row {
    display: flex;
    gap: 8px;
}

#chat-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    font-size: 0.9rem;
    outline: none;
    transition: 0.2s;
}

#chat-input:focus {
    border-color: var(--primary-color);
}

#chat-send {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chat-send:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu-container {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--white);
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 10px 0;
    }

    .main-navigation.active .nav-menu-container {
        display: flex;
    }

    .nav-menu-container > a, .dropdown, .dropbtn {
        width: 100%;
        justify-content: flex-start;
        border-bottom: 1px solid #f1f1f1;
        padding: 15px 20px;
    }

    .dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        width: 100%;
        display: none;
        background: #f9fafb;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding-left: 40px !important;
    }

    .main-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-video-area {
        height: 80px;
    }

    .slideshow-container {
        height: 300px;
    }

    .slide-content {
        padding: 0 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .top-bar-container {
        flex-direction: column;
        text-align: center;
    }

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

    #chat-window {
        width: calc(100vw - 40px);
        height: 80vh;
        bottom: 80px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CONTACT PAGE & TANYA JAWAB (TJ) STYLES */
.tj-container {
    padding: 40px 0;
}

.tj-form-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #edf2f7;
    margin-bottom: 50px;
}

.tj-title {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tj-input-group {
    margin-bottom: 20px;
}

.tj-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.tj-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.tj-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.tj-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.tj-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 150, 105, 0.2);
}

.tj-header-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* TJ SLIDER / FEEDBACK CARDS */
.tj-slider-container {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    width: 100%;
}

.tj-slider-track {
    display: flex;
    gap: 30px;
    animation: slideLoop 40s linear infinite;
    width: max-content;
}

.tj-slider-track:hover {
    animation-play-state: paused;
}

@keyframes slideLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tj-slide-card {
    width: 450px;
    flex-shrink: 0;
}

.tj-chat-item {
    margin-bottom: 30px;
}

.tj-bubble {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    border-bottom-left-radius: 2px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
    position: relative;
    margin-bottom: 15px;
}

.tj-question {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.5;
}

.tj-answer {
    color: var(--primary-color);
    font-size: 0.9rem;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.tj-user-info {
    padding-left: 10px;
}

.tj-user-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
}

.tj-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 5px;
}

/* Visi Misi, Org, etc. Responsiveness */
.org-list p {
    max-width: 100%;
}

.visi-misi-section, .org-section, .cluster-content, .section-card, .req-card {
    padding: clamp(15px, 4vw, 30px);
}
