/*!
Theme Name: Kava Child
Theme URI:
Author: Zemez
Author URI:
Description: Kava child theme.
Template: kava
Version: 1.0.1
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kava-child
*/

/* ==========================================================================
   Modern Aesthetics for LPM & LPPM pages
   ========================================================================== */

/* Modern layout container */
.modern-lpm-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 20px 60px 20px;
    font-family: 'Poppins', 'Montserrat', 'Heebo', sans-serif;
    color: #334155;
}

/* Premium Hero Section */
.modern-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    padding: 80px 40px;
    margin-bottom: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(9, 106, 191, 0.9), rgba(38, 157, 184, 0.85));
    z-index: 1;
}

.modern-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.modern-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-hero h1 {
    color: #fff !important;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.modern-hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    font-weight: 500;
    margin: 0 !important;
}

/* Two-column layout grid */
.modern-grid-two {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 55px;
    align-items: start;
}

@media (min-width: 768px) {
    .modern-grid-two {
        grid-template-columns: 1fr 3fr;
        gap: 50px;
    }
}

/* Section Title Styling */
.modern-section-left {
    padding-top: 5px;
}

.modern-section-left h2 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 !important;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}

.modern-section-left h2::after {
    content: '';
    display: block;
    width: 45px;
    height: 5px;
    background: #eab420; /* Brand gold accent */
    border-radius: 4px;
    margin-top: 12px;
}

/* Premium Visi Card (Glassmorphism & Soft Shadow) */
.visi-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 40px 40px 55px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.025);
    border: 1px solid #f1f5f9;
    border-left: 6px solid #269db8;
    overflow: hidden;
}

.visi-card::before {
    content: '“';
    position: absolute;
    top: -15px;
    left: 10px;
    font-size: 160px;
    color: rgba(38, 157, 184, 0.07);
    font-family: Georgia, serif;
    line-height: 1;
}

.visi-text {
    font-size: 18px;
    line-height: 1.85;
    color: #1e293b;
    font-weight: 500;
    position: relative;
    z-index: 1;
    text-align: justify;
    margin: 0 !important;
}

/* Misi Items & Step Styling */
.misi-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.misi-item {
    display: flex;
    gap: 24px;
    background: #ffffff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.012);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.misi-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(38, 157, 184, 0.06);
    border-color: rgba(38, 157, 184, 0.25);
}

.misi-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #096abf, #269db8);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(38, 157, 184, 0.25);
}

.misi-content {
    font-size: 15.5px;
    line-height: 1.7;
    color: #475569;
    display: flex;
    align-items: center;
    text-align: justify;
}

/* Tujuan Cards & Grid */
.tujuan-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .tujuan-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.tujuan-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.012);
    border: 1px solid #f1f5f9;
    border-top: 4px solid #eab420;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.tujuan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(234, 180, 32, 0.08);
}

.tujuan-icon {
    width: 46px;
    height: 46px;
    background: rgba(234, 180, 32, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tujuan-icon svg {
    width: 24px;
    height: 24px;
    fill: #eab420;
}

.tujuan-title-card {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.tujuan-text {
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
    text-align: justify;
    margin: 0 !important;
}

/* ==========================================================================
   Berita LPPM Grid Alignment & Styling
   ========================================================================== */

/* Force equal column heights in Listing Grid */
.jet-listing-grid--3966 .jet-listing-grid__items {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 991px) {
    .jet-listing-grid--3966 .jet-listing-grid__items {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .jet-listing-grid--3966 .jet-listing-grid__items {
        grid-template-columns: 1fr !important;
    }
}

/* Force equal card heights */
.jet-listing-grid--3966 .jet-listing-grid__item {
    display: flex !important;
    flex-direction: column !important;
}

.jet-listing-grid--3966 .jet-engine-listing-overlay-wrap {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    height: 100% !important;
}

.jet-listing-grid--3966 .elementor-3966,
.jet-listing-grid--3966 .elementor-3966 > .elementor-element-209c223,
.jet-listing-grid--3966 .elementor-element-209c223 > .e-con-inner,
.jet-listing-grid--3966 .elementor-element-869f800,
.jet-listing-grid--3966 .elementor-element-869f800 > .e-con-inner,
.jet-listing-grid--3966 .elementor-element-5bf5f08,
.jet-listing-grid--3966 .elementor-element-5bf5f08 > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    height: 100% !important;
}

/* Align card text contents */
.jet-listing-grid--3966 .elementor-element-5bf5f08 > .e-con-inner {
    gap: 12px !important;
    justify-content: flex-start !important;
    height: 100% !important;
}

/* Force uniform image height and cropped aspect ratio */
.jet-listing-grid--3966 .elementor-element-28b2cd2 img {
    height: 200px !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 8px !important;
}

/* Push excerpt/description to the bottom to align text */
.jet-listing-grid--3966 .elementor-element-faad13f {
    margin-top: auto !important;
}

/* ==========================================================================
   LPM Document Management Frontend Styles [Shortcode: lpm_dokumen]
   ========================================================================== */

.modern-lpm-docs-container {
    width: 100%;
    margin-top: 30px;
}

.modern-lpm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .modern-lpm-grid {
        grid-template-columns: repeat(var(--lpm-grid-cols, 2), 1fr);
    }
}

.lpm-folder-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    border-top: 5px solid #096abf;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.lpm-folder-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

.lpm-folder-header {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 18px;
}

.lpm-folder-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 106, 191, 0.07);
    padding: 10px;
    border-radius: 12px;
}

.lpm-folder-info {
    flex-grow: 1;
}

.lpm-folder-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0 !important;
    line-height: 1.3;
}

.lpm-folder-count {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #096abf;
    background: rgba(9, 106, 191, 0.08);
    padding: 2px 10px;
    border-radius: 20px;
}

.lpm-folder-body {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 8px;
    flex-grow: 1;
}

/* Custom Scrollbar */
.lpm-folder-body::-webkit-scrollbar {
    width: 5px;
}
.lpm-folder-body::-webkit-scrollbar-track {
    background: #f8fafc;
}
.lpm-folder-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.lpm-folder-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.lpm-sub-folder-section {
    margin-bottom: 24px;
}

.lpm-sub-folder-section:last-child {
    margin-bottom: 0;
}

.lpm-sub-folder-title {
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    margin: 0 0 12px 0 !important;
    padding-left: 8px;
    border-left: 3px solid #eab420; /* Gold Brand Accent */
    line-height: 1.4;
}

.lpm-file-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lpm-file-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.lpm-file-item:hover {
    background-color: #f8fafc;
}

.lpm-file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2px;
    flex-shrink: 0;
}

.lpm-file-details {
    flex-grow: 1;
}

.lpm-file-link {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.15s ease;
    display: inline-block;
}

.lpm-file-link:hover {
    color: #096abf;
    text-decoration: underline;
}

.lpm-file-link-disabled {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.4;
}

.lpm-file-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 11px;
    color: #64748b;
}

.lpm-meta-time {
    font-style: italic;
}

.lpm-meta-divider {
    color: #cbd5e1;
}

.lpm-meta-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.lpm-meta-year {
    background-color: #fef3c7;
    color: #d97706;
}

.lpm-meta-prodi {
    background-color: #e0f2fe;
    color: #0284c7;
}

.lpm-file-empty,
.lpm-folder-empty,
.modern-lpm-empty {
    font-size: 13px;
    color: #94a3b8;
    font-style: italic;
    padding: 10px;
    list-style: none;
    text-align: center;
}

.modern-lpm-empty {
    background: #f8fafc;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    padding: 30px;
}

/* ==========================================================================
   Dosen Prodi Grid Card Alignment & Styling [Listing ID: 754]
   ========================================================================== */

/* 1. Card Container Premium Styling */
.elementor-754 .elementor-element.elementor-element-ce664e2 {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important; /* Proper spacing between image and text */
    padding: 14px 16px !important; /* Nice padding inside the card */
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.015) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.elementor-754 .elementor-element.elementor-element-ce664e2:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(9, 106, 191, 0.08) !important;
    border-color: rgba(9, 106, 191, 0.2) !important;
}

/* 2. Image Container (Locked Avatar size) */
.elementor-754 .elementor-element.elementor-element-e4be1cc {
    width: 65px !important;
    height: 65px !important;
    flex-shrink: 0 !important; /* Prevent avatar from shrinking */
}

.elementor-754 .elementor-element.elementor-element-3468e52 img {
    width: 65px !important;
    height: 65px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 2px solid #f1f5f9 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

/* 3. Text Container Alignment */
.elementor-754 .elementor-element.elementor-element-c2e4ca2 {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 4px !important; /* Spacing between name and title */
}

/* 4. Fix Name Styling (Remove negative margins, adjust typography) */
.elementor-754 .elementor-element.elementor-element-7c67eb4 .jet-listing-dynamic-link__link {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 !important; /* Remove negative margins */
    color: #096abf !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: inline-block !important;
}

.elementor-754 .elementor-element.elementor-element-7c67eb4 .jet-listing-dynamic-link__link:hover {
    color: #eab420 !important;
}

/* 5. Fix Subtitle/Jabatan Styling */
.elementor-754 .elementor-element.elementor-element-ae539db .jet-listing-dynamic-field__content {
    font-size: 12px !important;
    line-height: 1.35 !important;
    color: #d97706 !important; /* Legible dark gold color */
    margin: 0 !important;
    font-weight: 500 !important;
}




