/**
 * CSS Reset & Normalize
 * @package TugasinWP
 * @since 2.9.0
 */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}
/**
 * Typography Base Styles
 * @package TugasinWP
 * @since 2.9.0
 */

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    background: var(--bg-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}
/**
 * TugasinWP Design Tokens (CSS Custom Properties)
 * @package TugasinWP
 * @since 2.9.0
 */

:root {
    /* Colors */
    --primary: #064e3b;
    /* Dark Green (Hero) */
    --primary-light: #34d399;
    /* Mint Green Accent */
    --accent-btn: #86efac;
    /* Bright Green Button */

    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-white: #ffffff;

    --bg-body: #ffffff;
    --bg-light: #f9fafb;

    /* Pastel Accents */
    --pastel-indigo: #e0e7ff;
    --pastel-yellow: #fef3c7;
    --pastel-green: #d1fae5;
    --pastel-gray: #e5e7eb;
    --pastel-purple: #f3e8ff;

    /* Metrics */
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 999px;

    --container: 1280px;
    --section-pad: 120px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/**
 * Buttons
 * All button variants and styles
 * @package TugasinWP
 * @since 2.9.0
 */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #065f46;
}

.btn-accent {
    background: var(--accent-btn);
    color: var(--primary);
}

.btn-accent:hover {
    background: #4ade80;
    transform: scale(1.05);
}

.btn-outline {
    border: 2px solid var(--pastel-gray);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}
/**
 * Cards
 * Service, value, blog, major, university, talent cards
 * @package TugasinWP
 * @since 2.9.0
 */

/* Values (Why Us) */
.values {
    padding: var(--section-pad) 0;
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.value-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid #f3f4f6;
    text-align: center;
    transition: 0.3s;
}

.value-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: transparent;
    transform: translateY(-5px);
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 24px;
}

.bg-purple {
    background: var(--pastel-purple);
    color: #9333ea;
}

.bg-yellow {
    background: var(--pastel-yellow);
    color: #d97706;
}

.bg-green {
    background: var(--pastel-green);
    color: #059669;
}

.value-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.value-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.value-line {
    width: 40px;
    height: 4px;
    background: #f3f4f6;
    margin: 0 auto;
    border-radius: 2px;
}

/* Services (Pastel Cards) */
.services {
    padding: var(--section-pad) 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    padding: 48px;
    border-radius: 32px;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
    overflow: hidden;
    background: #ffffff;
    color: var(--text-primary);
}

.service-card:hover {
    transform: scale(1.02);
}

.bg-pastel-indigo {
    background: var(--pastel-indigo);
}

.bg-pastel-yellow {
    background: var(--pastel-yellow);
}

.bg-pastel-green {
    background: var(--pastel-green);
}

.bg-pastel-gray {
    background: var(--pastel-gray);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 80%;
}

.check-circle {
    position: absolute;
    bottom: 32px;
    right: 32px;
    width: 32px;
    height: 32px;
    background: #3b82f6;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.bg-pastel-yellow .check-circle {
    background: #d97706;
}

.bg-pastel-green .check-circle {
    background: #059669;
}

.bg-pastel-gray .check-circle {
    background: #374151;
}

/* Blog Archive Card */
.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
}

.blog-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.blog-card .card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .card-image img {
    transform: scale(1.05);
}

.blog-card .card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .card-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.blog-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card .card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card .card-title a:hover {
    color: var(--primary);
}

.blog-card .card-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card .card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.blog-card .card-meta i {
    margin-right: 4px;
}

/* Major (Jurusan) Archive Card */
.major-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--text-primary);
}

.major-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.major-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.major-card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.major-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.major-card .card-title a {
    color: inherit;
    text-decoration: none;
}

.major-card .card-title a:hover {
    color: var(--primary);
}

.major-card .card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    flex-grow: 1;
}

.major-card .card-prospects {
    border-top: 1px solid #f3f4f6;
    padding-top: 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.major-card .btn {
    width: 100%;
    justify-content: center;
}

/* Campus (University) Archive Card */
.campus-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    color: var(--text-primary);
}

.campus-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.campus-card .banner {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.campus-card .logo-wrap {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 12px;
    padding: 8px;
    position: absolute;
    bottom: -35px;
    left: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.campus-card .logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.campus-card .content {
    padding: 50px 20px 20px;
}

.campus-card h3 {
    font-size: 1.1rem;
    margin: 12px 0 8px;
}

.campus-card .location {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.campus-card .location i {
    color: var(--primary);
}

.campus-card .tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Campus Grid */
.campus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Talent / Experts */
.talent {
    padding: var(--section-pad) 0;
    background: var(--bg-light);
}

.talent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.talent-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.talent-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.talent-img {
    height: 200px;
    width: 100%;
    background: #e5e5e5;
}

.talent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.talent-info {
    padding: 20px;
}

.talent-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.talent-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #2563eb;
    margin-bottom: 8px;
    font-weight: 600;
}

.talent-stat .dot {
    width: 6px;
    height: 6px;
    background: #2563eb;
    border-radius: 50%;
}

.talent-loc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
/**
 * FAQ Accordion
 * FAQ item, header, content, icon animations
 * @package TugasinWP
 * @since 2.9.0
 */

.faq-item {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #f3f4f6;
}

.faq-item.active {
    background: white;
    box-shadow: var(--shadow-md);
}

.faq-header {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
}

.faq-header span {
    display: flex;
    align-items: center;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-content {
    display: none;
    padding: 0 24px 20px;
}

.faq-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}
/**
 * Forms
 * Search inputs, form elements
 * @package TugasinWP
 * @since 2.9.0
 */

/* Basic form styling */
input[type="text"],
input[type="email"],
input[type="search"],
textarea {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.1);
}

/* Search box styling used in archives */
.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 20px 24px 20px 56px;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-box i {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.2rem;
}
/**
 * Related Posts Component Styles
 *
 * Includes:
 * - Inline related box (text-only, inserted within content)
 * - Bottom related section (cards with images)
 *
 * @package TugasinWP
 * @since 2.18.0
 */

/* ==========================================================================
   INLINE RELATED BOX (Within Content)
   ========================================================================== */

.inline-related-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #dcfce7 100%);
    border-left: 4px solid var(--primary);
    border-radius: 0 16px 16px 0;
    padding: 24px 28px;
    margin: 40px 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.08);
}

.inline-related-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(6, 78, 59, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.inline-related-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.inline-related-title i {
    font-size: 0.9rem;
}

.inline-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inline-related-list li {
    margin: 0;
    padding: 0;
}

.inline-related-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 12px;
    margin: 0 -12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.inline-related-link:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.7);
    transform: translateX(4px);
}

.inline-related-link i {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.inline-related-link:hover i {
    opacity: 1;
}

.inline-related-link span {
    flex: 1;
}

/* ==========================================================================
   BOTTOM RELATED SECTION (After Content)
   ========================================================================== */

.related-posts-section {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.related-posts-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-posts-title i {
    color: var(--primary);
    font-size: 1.2rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-post-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f4f6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

.related-post-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f9fafb;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.related-post-image-placeholder i {
    font-size: 2rem;
    color: #9ca3af;
}

.related-post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-post-card .related-post-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.related-post-card:hover .related-post-title {
    color: var(--primary);
}

.related-post-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.related-post-date i {
    font-size: 0.8rem;
}

/* ==========================================================================
   LEGACY: Old .related-posts class (backwards compatibility)
   ========================================================================== */

.related-posts {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.related-posts>strong.related-posts-title,
.related-posts>.related-posts-title {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

/* ==========================================================================
   RESPONSIVE: Mobile Adjustments
   ========================================================================== */

@media (max-width: 768px) {

    /* Inline box */
    .inline-related-box {
        padding: 20px 22px;
        margin: 32px 0;
        border-radius: 0 12px 12px 0;
    }

    .inline-related-title {
        font-size: 0.8rem;
        margin-bottom: 14px;
    }

    .inline-related-link {
        font-size: 0.95rem;
        padding: 6px 10px;
        margin: 0 -10px;
    }

    /* Bottom grid */
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .related-post-card {
        flex-direction: row;
        align-items: stretch;
    }

    .related-post-image {
        width: 120px;
        height: auto;
        min-height: 100px;
        flex-shrink: 0;
    }

    .related-post-content {
        padding: 16px;
    }

    .related-post-card .related-post-title {
        font-size: 0.95rem;
        -webkit-line-clamp: 3;
    }

    .related-posts-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .inline-related-box {
        padding: 18px 20px;
        margin: 28px 0;
    }

    .inline-related-list {
        gap: 10px;
    }

    .inline-related-link {
        font-size: 0.9rem;
    }

    .related-post-image {
        width: 100px;
    }

    .related-post-content {
        padding: 12px;
        gap: 8px;
    }

    .related-post-card .related-post-title {
        font-size: 0.9rem;
    }

    .related-post-date {
        font-size: 0.8rem;
    }
}
/**
 * SEO Content Box Component
 * Expandable content section for SEO-friendly long-form content
 * @package TugasinWP
 * @since 2.11.0 (Phase 22)
 */

/* ==========================================================================
   SEO CONTENT BOX - PREMIUM DESIGN
   ========================================================================== */
.seo-content-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 48px;
    position: relative;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

/* Decorative background pattern */
.seo-content-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Short content - no expand needed */
.seo-content-box.seo-content-short {
    padding-bottom: 48px;
}

/* Inner content wrapper */
.seo-content-inner {
    position: relative;
    z-index: 1;
}

/* Visible section */
.seo-content-visible {
    position: relative;
    z-index: 1;
}

/* Hidden section - crawler-friendly (uses max-height, not display:none) */
.seo-content-hidden {
    max-height: 0;
    overflow: hidden;
    opacity: 0.3;
    filter: blur(2px);
    transition: all 0.5s ease;
    position: relative;
}

/* Expanded state */
.seo-content-box.expanded .seo-content-hidden {
    max-height: 5000px;
    /* Large enough for any content */
    opacity: 1;
    filter: none;
    margin-top: 0;
}

/* ==========================================================================
   GRADIENT FADE OVERLAY
   ========================================================================== */
.seo-content-fade {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(248, 250, 252, 0.5) 30%,
            rgba(241, 245, 249, 0.9) 70%,
            #f1f5f9 100%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.seo-content-box.expanded .seo-content-fade {
    opacity: 0;
    pointer-events: none;
}

.seo-content-box.seo-content-short .seo-content-fade {
    display: none;
}

/* ==========================================================================
   EXPAND/COLLAPSE BUTTON - PREMIUM STYLE
   ========================================================================== */
.seo-content-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    margin: 20px auto 0;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, #0a684d 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
    box-shadow:
        0 4px 15px rgba(16, 185, 129, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.1);
}

.seo-content-toggle:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(16, 185, 129, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.15);
}

.seo-content-toggle:active {
    transform: translateY(0);
}

.seo-content-toggle i {
    transition: transform 0.3s ease;
    font-size: 0.85rem;
}

.seo-content-box.expanded .seo-content-toggle i {
    transform: rotate(180deg);
}

.seo-content-box.expanded .seo-content-toggle {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    box-shadow:
        0 4px 15px rgba(100, 116, 139, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.1);
}

/* No button for short content */
.seo-content-box.seo-content-short .seo-content-toggle {
    display: none;
}

/* ==========================================================================
   ENTRY CONTENT STYLING (inside SEO box)
   ========================================================================== */
.seo-content-box .entry-content h2 {
    font-size: 1.5rem;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.seo-content-box .entry-content h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
}

.seo-content-box .entry-content h2:first-child {
    margin-top: 0;
}

.seo-content-box .entry-content h3 {
    font-size: 1.25rem;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.seo-content-box .entry-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.seo-content-box .entry-content ul,
.seo-content-box .entry-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
    color: var(--text-secondary);
}

.seo-content-box .entry-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.seo-content-box .entry-content a {
    color: var(--primary);
    text-decoration: underline;
}

.seo-content-box .entry-content a:hover {
    color: #0a684d;
}

/* ==========================================================================
   MOBILE RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .seo-content-box {
        padding: 28px;
        border-radius: 20px;
        margin-bottom: 32px;
    }

    .seo-content-box::before {
        width: 200px;
        height: 200px;
        top: -30%;
        right: -15%;
    }

    .seo-content-fade {
        height: 100px;
        bottom: 70px;
    }

    .seo-content-toggle {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
    }

    .seo-content-box .entry-content h2 {
        font-size: 1.25rem;
    }

    .seo-content-box .entry-content h3 {
        font-size: 1.1rem;
    }

    .seo-content-box .entry-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}
/**
 * Table of Contents
 * Desktop sidebar TOC, mobile bottom bar TOC
 * @package TugasinWP
 * @since 2.9.0
 */

/* Desktop Sidebar TOC */
.single-post-wrapper {
    position: relative;
}

.toc-sidebar {
    position: fixed;
    left: 0;
    top: 140px;
    width: 280px;
    max-height: calc(100vh - 180px);
    background: white;
    border-radius: 0 16px 16px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 50;
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.toc-sidebar.hidden {
    transform: translateX(-100%);
}

.toc-sidebar-inner {
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
}

.toc-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc-title i {
    color: var(--primary);
}

.toc-close {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.toc-close:hover {
    background: #f3f4f6;
    color: var(--text-primary);
}

.toc-nav {
    flex: 1;
    min-height: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 16px 0;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f3f4f6;
}

/* Webkit scrollbar styling */
.toc-nav::-webkit-scrollbar {
    width: 8px;
    display: block;
}

.toc-nav::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 4px;
}

.toc-nav::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
    border: 1px solid #f3f4f6;
}

.toc-nav::-webkit-scrollbar-thumb:hover {
    background: #0a684d;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin: 0;
}

.toc-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.toc-link:hover {
    color: var(--primary);
    background: #f9fafb;
}

.toc-link.active {
    color: var(--primary);
    border-left-color: var(--primary);
    background: #ecfdf5;
    font-weight: 600;
}

.toc-item-sub .toc-link {
    padding-left: 36px;
    font-size: 0.85rem;
}

/* TOC Toggle Button (Desktop) */
.toc-toggle {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 64px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 49;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.toc-toggle:hover {
    width: 40px;
    background: #0a684d;
}

.toc-toggle.visible {
    opacity: 1;
    pointer-events: all;
}

.toc-toggle i {
    transition: transform 0.3s;
}

/* Mobile Bottom Bar TOC */
.toc-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-radius: 16px 16px 0 0;
}

.toc-mobile-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.toc-mobile-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.toc-mobile-title i {
    color: var(--primary);
}

.toc-count {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
}

.toc-mobile-arrow {
    color: var(--text-secondary);
    transition: transform 0.3s;
}

.toc-mobile.expanded .toc-mobile-arrow {
    transform: rotate(180deg);
}

.toc-mobile-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toc-mobile.expanded .toc-mobile-content {
    max-height: 50vh;
    overflow-y: auto;
}

.toc-mobile .toc-list {
    padding: 0 0 16px;
    border-top: 1px solid #f3f4f6;
}

.toc-mobile .toc-link {
    padding: 12px 20px;
}

.toc-mobile .toc-item-sub .toc-link {
    padding-left: 40px;
}
/**
 * YouTube Facade Component
 * Performance-optimized YouTube embed with thumbnail placeholder
 * @package TugasinWP
 * @since 2.13.0 (Phase 24)
 */

/* ==========================================================================
   YOUTUBE FACADE - THUMBNAIL PLACEHOLDER
   ========================================================================== */
.youtube-facade {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.youtube-facade-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.youtube-facade:hover .youtube-facade-thumbnail {
    transform: scale(1.05);
}

/* Play button */
.youtube-facade-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 2;
}

.youtube-facade:hover .youtube-facade-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.youtube-facade-play svg {
    width: 100%;
    height: 100%;
}

.youtube-facade-play-bg {
    transition: fill 0.2s ease, fill-opacity 0.2s ease;
}

.youtube-facade:hover .youtube-facade-play-bg {
    fill: #ff0000;
    fill-opacity: 1;
}

/* Loading state (when iframe is loading) */
.youtube-facade.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: youtube-spin 0.8s linear infinite;
    z-index: 10;
}

.youtube-facade.loading .youtube-facade-play {
    opacity: 0;
}

@keyframes youtube-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Iframe (injected via JS after click) */
.youtube-facade iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 5;
}

/* ==========================================================================
   MOBILE RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .youtube-facade {
        border-radius: 12px;
    }

    .youtube-facade-play {
        width: 56px;
        height: 40px;
    }
}
/**
 * Footer
 * Footer grid, columns, bottom bar
 * @package TugasinWP
 * @since 2.9.0
 */

footer {
    padding: 80px 0 40px;
    background: white;
    border-top: 1px solid #f3f4f6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h5 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--primary);
}

.brand p {
    margin-top: 16px;
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-top: 40px;
    border-top: 1px solid #f3f4f6;
}

/* Footer Widget Title (semantic) */
.footer-widget-title,
.footer-menu-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}
/**
 * Grid Utilities & Layout
 * Container, section headers, page/sidebar layouts
 * @package TugasinWP
 * @since 2.9.0
 */

/* Single CPT Layouts */
/* Page with Sidebar - Desktop: 2fr 1fr, Mobile: Stack */
.page-sidebar-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

/* Faculty/Inner 2-column Grid */
.cpt-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Hero Breadcrumb Contrast Fix */
.hero .tugasin-breadcrumb {
    color: rgba(255, 255, 255, 0.7);
}

.hero .tugasin-breadcrumb .breadcrumb-link {
    color: rgba(255, 255, 255, 0.7);
}

.hero .tugasin-breadcrumb .breadcrumb-link:hover {
    color: white;
}

.hero .tugasin-breadcrumb .breadcrumb-current {
    color: white;
}

.hero .tugasin-breadcrumb .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    margin: 0 8px;
}

/* Utilities */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header,
.section-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2,
.section-center h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.section-header p,
.section-center p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Grid Utilities - Desktop Default */
.tugasin-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tugasin-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tugasin-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Process Timeline Component - Desktop */
.process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 40px auto 0;
}

.process-timeline-step {
    flex: 1;
    text-align: center;
}

.process-timeline-separator {
    flex: 0 0 60px;
    height: 4px;
    margin-top: 30px;
    border-radius: 2px;
}

/* Breadcrumb Styles */
.tugasin-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin: 0 8px;
}

.breadcrumb-current {
    color: var(--primary);
    font-weight: 600;
}

/* Category Badge (shared) */
.category-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    align-self: flex-start;
}

/* Pill Badge */
.pill-badge {
    display: inline-block;
    background: var(--pastel-green);
    color: #065f46;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    margin-top: 16px;
}
/**
 * Header & Navigation
 * Sticky header, logo, desktop nav, dropdowns, mobile menu
 * @package TugasinWP
 * @since 2.9.0
 */

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #f3f4f6;
    padding: 20px 0;
    transition: 0.3s;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Navigation & Dropdowns */
.nav-desktop {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-desktop>a,
.nav-link {
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    cursor: pointer;
}

.nav-desktop>a:hover,
.nav-link:hover {
    color: var(--primary);
}

.nav-link i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.nav-item-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Container */
.nav-item-dropdown {
    position: relative;
    padding: 10px 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    padding: 16px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid #f3f4f6;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-out;
    min-width: 240px;
    z-index: 1001;
}

/* Specific Layouts */
.service-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 600px;
    gap: 16px;
}

/* Enhanced Services Menu with Left Panel */
.service-menu-enhanced {
    display: flex;
    width: 720px;
    gap: 0;
}

.dropdown-panel-left {
    background: var(--primary);
    padding: 20px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    min-width: 220px;
    display: flex;
    align-items: center;
    color: white;
}

.dropdown-panel-left h5,
.dropdown-panel-left strong {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 2px 0;
    display: block;
}

.dropdown-panel-left p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    margin: 0;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    transition: background 0.2s;
    text-decoration: none;
    width: 100%;
}

.view-all-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.view-all-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.view-all-link .menu-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
    display: block;
}

.view-all-link p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.view-all-link>i {
    color: white;
    margin-left: auto;
}

.dropdown-panel-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 16px;
}

.resource-menu {
    display: flex;
    flex-direction: column;
    width: 320px;
    gap: 8px;
}

/* Show on Hover */
.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Item Styling */
.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    transition: background 0.2s;
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--bg-light);
}

.dd-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    flex-shrink: 0;
}

.dropdown-item .menu-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    display: block;
}

.dropdown-item p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu - Hidden by default everywhere */
.mobile-menu {
    display: none;
}
/**
 * Hero Section
 * Hero container, grid, floating cards, carousel, animations
 * @package TugasinWP
 * @since 2.9.0
 */

.hero {
    background: var(--primary);
    color: white;
    padding: 40px 0 100px;
    overflow: visible;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.text-highlight {
    color: var(--accent-btn);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.hero-trust {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    margin-left: -10px;
}

.avatars img:first-child {
    margin-left: 0;
}

.avatar-plus {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    border: 2px solid var(--primary);
    margin-left: -10px;
}

.hero-visual {
    position: relative;
    height: 500px;
}

/* Floating cards */
.card {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: absolute;
    color: var(--text-primary);
}

/* 3D Carousel Styles */
.talent-carousel-wrapper {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 300px;
    height: 400px;
    z-index: 2;
    perspective: 1000px;
}

.float-1 {
    animation: float 6s ease-in-out infinite;
}

.talent-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.talent-card-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    z-index: 0;
    transform: translate3d(0, 0, -100px) scale(0.9);
    pointer-events: none;
}

.talent-card-hero.active {
    opacity: 1;
    z-index: 10;
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.talent-card-hero.next {
    opacity: 0.4;
    z-index: 5;
    transform: translate3d(40px, -10px, -50px) scale(0.95) rotateY(-5deg);
    filter: blur(1px);
}

.talent-card-hero.prev {
    opacity: 0.4;
    z-index: 5;
    transform: translate3d(-40px, -10px, -50px) scale(0.95) rotateY(5deg);
    filter: blur(1px);
}

.preview-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 16px;
}

.preview-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.preview-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.preview-stats {
    background: #f9fafb;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-pill .num {
    display: block;
    font-weight: 800;
    color: #4f46e5;
}

.stat-pill .lbl {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.stat-graph {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 30px;
}

.stat-graph span {
    width: 6px;
    background: #e0e7ff;
    border-radius: 2px;
}

.stat-graph span:nth-child(1) {
    height: 40%;
}

.stat-graph span:nth-child(2) {
    height: 70%;
}

.stat-graph span:nth-child(3) {
    height: 50%;
}

.stat-graph span:nth-child(4) {
    height: 100%;
    background: #4f46e5;
}

.stat-graph span:nth-child(5) {
    height: 60%;
}

.service-preview {
    bottom: 20%;
    left: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    animation: float-rev 7s ease-in-out infinite;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: #ecfccb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #65a30d;
    font-size: 1.2rem;
}

@keyframes float-rev {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(15px);
    }
}

/* Hero Floating Cards with Bounce Animation */
.hero-float-card {
    position: absolute;
    background: #ffffff;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
    animation: bounce-float 3s ease-in-out infinite;
}

.hero-float-card:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-float-card:nth-child(3) {
    animation-delay: 1s;
}

.hero-float-card:nth-child(4) {
    animation-delay: 1.5s;
}

.hero-float-card-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-float-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-float-card-icon.green {
    background: #dcfce7;
    color: #16a34a;
}

.hero-float-card-icon.yellow {
    background: #fef3c7;
    color: #d97706;
}

.hero-float-card-icon.indigo {
    background: #e0e7ff;
    color: #4f46e5;
}

.hero-float-card h5,
.hero-float-card h4,
.hero-float-card .float-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    display: block;
}

.hero-float-card span {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Position adjustments for floating cards */
.hero-float-card.card-top-left {
    top: 10%;
    left: -10%;
}

.hero-float-card.card-top-right {
    top: 35%;
    right: -20px;
}

.hero-float-card.card-bottom-left {
    bottom: 25%;
    left: 5%;
}

@keyframes bounce-float {

    0%,
    100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-8px);
    }

    50% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(-4px);
    }
}

/* Partners */
.partners {
    padding: 60px 0;
    text-align: center;
    background: white;
}

.partners h3 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    font-size: 2.5rem;
    color: #d1d5db;
}

.logos-grid i:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Tutor Carousel - Stacked Cards with Visible Offset */
.tutor-carousel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 420px;
    z-index: 5;
}

.tutor-card {
    position: absolute;
    width: 280px;
    left: 50%;
    top: 50%;
    background: white;
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.8s ease-out;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 1;
    pointer-events: none;
}

.tutor-card.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    z-index: 10;
    pointer-events: auto;
}

.tutor-card.prev {
    opacity: 0.6;
    transform: translate(-85%, -48%) scale(0.85);
    z-index: 8;
}

.tutor-card.next {
    opacity: 0.6;
    transform: translate(-15%, -52%) scale(0.85);
    z-index: 8;
}

.tutor-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 4px solid #ecfdf5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tutor-card h4,
.tutor-card .tutor-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
    display: block;
}

.tutor-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.tutor-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef3c7;
    color: #d97706;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 700;
}

.tutor-rating i {
    font-size: 0.9rem;
}
/**
 * Archive Pages
 * Archive grids, filters, pagination
 * @package TugasinWP
 * @since 2.9.0
 */

/* Archive filter buttons are styled via _buttons.css */

/* Archive loading state is in _animations.css */

/* Archive card styles are in _cards.css */

/* Pagination */
.tugasin-pagination {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    gap: 8px;
}

.tugasin-pagination a,
.tugasin-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.tugasin-pagination a {
    background: white;
    border: 2px solid #e5e7eb;
    color: var(--text-primary);
}

.tugasin-pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tugasin-pagination .current {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}
/**
 * CPT Specific Styles
 * Major and University single page specific styles
 * @package TugasinWP
 * @since 2.10.0 (Phase 21)
 */

/* ==========================================================================
   MAJOR SINGLE PAGE
   ========================================================================== */
.major-single-header {
    text-align: center;
    margin-bottom: 40px;
}

/* ==========================================================================
   UNIVERSITY SINGLE PAGE - Phase 21 (Reference Layout)
   ========================================================================== */

/* Hero with Featured Image Background + Logo Overlay */
.uni-hero {
    height: 320px;
    position: relative;
    background: #1a365d;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 0 24px 24px;
}

.uni-hero.has-featured-image {
    background-size: cover;
    background-position: center;
}

.uni-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* Logo positioned like archive card - small version */
.uni-hero-logo {
    position: relative;
    z-index: 15;
}

.uni-hero-logo .uni-logo-wrap {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.uni-hero-logo .uni-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Main Content Card */
.uni-main-card {
    background: white;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: 16px 16px 0 0;
    padding: 80px 0 40px;
    /* Increased top padding for logo overlap */
}

.uni-breadcrumb {
    margin-bottom: 20px;
}

.uni-breadcrumb .breadcrumb {
    color: var(--text-secondary);
}

/* Two Column Grid Layout */
.uni-content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* Left Column */
.uni-content-left {
    padding-right: 20px;
}

.uni-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.uni-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 12px;
}

.uni-description p {
    margin: 0;
}

.uni-read-more {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    padding: 0;
}

.uni-read-more:hover {
    color: #0a684d;
}

.uni-full-content {
    margin-top: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.uni-full-content.hidden {
    display: none;
}

/* Right Column - Info List */
.uni-content-right {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
}

.uni-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.uni-info-row {
    display: grid;
    grid-template-columns: 28px auto 12px 1fr;
    gap: 8px;
    align-items: start;
    font-size: 0.9rem;
}

.uni-info-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uni-info-icon i {
    color: var(--primary);
    font-size: 1rem;
}

.uni-info-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.uni-info-sep {
    color: var(--text-secondary);
}

.uni-info-value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

.uni-info-link {
    color: var(--primary);
}

.uni-info-link:hover {
    text-decoration: underline;
}

.uni-cta-btn {
    margin-top: 24px;
}

.uni-cta-btn .btn {
    width: 100%;
    justify-content: center;
}

/* Content Sections */
.uni-sections {
    padding: 40px 0 80px;
    background: white;
}

.uni-section {
    margin-bottom: 48px;
}

.uni-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.uni-section-title i {
    color: var(--primary);
}

.uni-section-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Visi & Misi */
.uni-visi-box,
.uni-misi-box {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 16px;
}

.uni-visi-box h3,
.uni-misi-box h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.uni-visi-box p,
.uni-misi-content {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.uni-misi-content ul {
    margin: 0;
    padding-left: 20px;
}

.uni-misi-content li {
    margin-bottom: 8px;
}

/* Fakultas Cards */
.fakultas-list {
    display: grid;
    gap: 16px;
}

.fakultas-card {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d4f6e 50%, #064e3b 100%);
    padding: 24px;
    border-radius: 16px;
    color: white;
    position: relative;
    overflow: hidden;
}

.fakultas-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.fakultas-card.fakultas-hidden {
    display: none;
}

.fakultas-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.prodi-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.prodi-badge,
h4.prodi-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
    display: inline-block;
}

.fakultas-expand-btn {
    width: 100%;
    padding: 16px;
    background: var(--bg-light);
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    transition: all 0.2s;
}

.fakultas-expand-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #ecfdf5;
}

.fakultas-expand-btn.expanded {
    background: var(--pastel-green);
    border-color: transparent;
    color: var(--primary);
}

/* Admission Cards */
.admission-list {
    display: grid;
    gap: 16px;
}

.admission-card {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 24px;
    border-radius: 16px;
    transition: all 0.2s;
}

.admission-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.admission-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.admission-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.admission-biaya {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pastel-green);
    color: #065f46;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.admission-card.admission-hidden {
    display: none;
}

/* Generic expand button */
.expand-btn {
    width: 100%;
    padding: 16px;
    background: var(--bg-light);
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    transition: all 0.2s;
}

.expand-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #ecfdf5;
}

.expand-btn.expanded {
    background: var(--pastel-green);
    border-color: transparent;
    color: var(--primary);
}

/* Contact Grid */
.uni-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.uni-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.uni-contact-item i {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.uni-contact-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.uni-contact-item p,
.uni-contact-item a {
    color: var(--text-secondary);
    margin: 0;
    word-break: break-word;
}

.uni-contact-item a:hover {
    color: var(--primary);
}

/* Contact Wrapper (Logo + Info left, YouTube right) */
.uni-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
    background: var(--bg-light);
    padding: 32px;
    border-radius: 20px;
}

.uni-contact-left {
    display: flex;
    flex-direction: column;
}

.uni-contact-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 16px;
}

.uni-contact-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.uni-contact-address {
    margin-bottom: 16px;
}

.uni-contact-address strong {
    display: block;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.uni-contact-address p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.uni-contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.uni-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.uni-contact-link:hover {
    color: var(--primary);
}

.uni-contact-link i {
    color: var(--primary);
    font-size: 1rem;
}

.uni-contact-right {
    width: 100%;
}

.uni-youtube-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.uni-youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* CTA Section */
.uni-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #0a684d 100%);
    color: white;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    margin-top: 48px;
}

.uni-cta-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 12px;
    color: white;
}

.uni-cta-section>p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}

/* CTA Light Button */
.btn-cta-light {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-cta-light:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* Accordion content placement */
.uni-accordion-content {
    margin-bottom: 0;
}

.uni-accordion-content p {
    margin-bottom: 16px;
}

.uni-cta-services {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.uni-cta-services li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.uni-cta-services li i {
    color: var(--accent-btn);
}

/* ==========================================================================
   MOBILE RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .uni-hero {
        height: 200px;
    }

    .uni-main-card {
        margin-top: -40px;
        padding: 60px 0 32px;
        /* Increased top padding for logo overlap */
    }

    .uni-content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .uni-content-left {
        padding-right: 0;
    }

    .uni-title {
        font-size: 1.5rem;
    }

    .uni-content-right {
        order: -1;
        background: transparent;
        padding: 0;
    }

    .uni-info-list {
        gap: 12px;
    }

    .uni-info-row {
        grid-template-columns: 24px 70px 8px 1fr;
        font-size: 0.85rem;
    }

    .uni-info-value {
        text-align: left;
    }

    .uni-sections {
        padding: 32px 0 60px;
    }

    .uni-section {
        margin-bottom: 32px;
    }

    .uni-section-title {
        font-size: 1.25rem;
    }

    .fakultas-card {
        padding: 20px;
    }

    .prodi-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .uni-contact-grid {
        grid-template-columns: 1fr;
    }

    /* Contact wrapper mobile */
    .uni-contact-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }

    .uni-contact-logo {
        width: 60px;
        height: 60px;
    }

    .uni-contact-name {
        font-size: 1.1rem;
    }

    .uni-cta-section {
        padding: 28px 20px;
    }

    .uni-cta-section h3 {
        font-size: 1.25rem;
    }

    .uni-cta-services {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ==========================================================================
   LEGACY STYLES
   ========================================================================== */
.university-banner {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.university-logo-card {
    background: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.university-logo-card img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

.cpt-section {
    margin-bottom: 48px;
}

.cpt-section-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--pastel-green);
}

.cpt-list {
    display: grid;
    gap: 12px;
}

.cpt-list-item {
    background: var(--bg-light);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cpt-list-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.cpt-cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #0a684d 100%);
    color: white;
    padding: 32px;
    border-radius: 20px;
    text-align: center;
}

.cpt-cta-box h3 {
    color: white;
    margin-bottom: 16px;
}

.cpt-cta-box .btn-accent {
    margin-top: 16px;
}
/**
 * Single Post Styles
 * Blog single layout, header, meta, author box, CTA, related posts
 * @package TugasinWP
 * @since 2.9.0
 */

/* Single Post Article Layout */
.single-post-article {
    padding-top: 40px;
    padding-bottom: 80px;
}

/* Hero Header - Split Layout */
.single-post-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
}

.single-post-header-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--bg-light);
}

.single-post-header-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.single-post-header-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.single-post-container {
    max-width: 800px;
}

.single-post-title {
    font-size: 2.25rem;
    margin: 0;
    line-height: 1.3;
    color: var(--text-primary);
}

/* Meta Row - Horizontal layout */
.single-post-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.single-post-meta-row .meta-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-post-meta-row .meta-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.single-post-meta-row .meta-author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.single-post-meta-row .meta-divider {
    width: 1px;
    height: 16px;
    background: #e5e7eb;
}

.single-post-meta-row .meta-date,
.single-post-meta-row .meta-category {
    display: flex;
    align-items: center;
    gap: 6px;
}

.single-post-meta-row .meta-category a {
    color: var(--primary);
    font-weight: 500;
}

/* Old meta styles - for fallback */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 40px;
}

.single-post-author-avatar {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.single-post-author-name {
    font-weight: 700;
    color: var(--text-primary);
}

.single-post-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.single-featured-image-wrapper {
    margin-bottom: 40px;
}

.single-post-divider {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 60px 0 0;
}

.single-post-nickname {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.single-featured-image {
    width: 100%;
    border-radius: 24px;
    margin-bottom: 40px;
}

/* Author Box */
.author-box {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 48px 0;
}

.author-box-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.author-box-info {
    flex: 1;
}

.author-box-name {
    margin: 0 0 4px;
    font-size: 1.1rem;
    color: var(--text-primary);
    display: block;
}

.author-box-role {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.author-box-bio {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.author-box-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.author-box-link:hover {
    background: #0a684d;
    transform: translateY(-2px);
}

/* Single Post CTA Section */
.single-post-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #0a684d 100%);
    color: white;
    padding: 48px;
    border-radius: 24px;
    text-align: center;
    margin-top: 60px;
}

.single-post-cta .cta-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: white;
    display: block;
}

.single-post-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Related Posts Grid */
.related-posts {
    margin-top: 80px;
}

.related-posts-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
    display: block;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-post-card {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.related-post-card:hover {
    transform: translateY(-4px);
}

.related-post-image {
    height: 150px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-card .related-post-title {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
    display: block;
}

/* WordPress Entry Content Styles */
.entry-content h2 {
    font-size: 1.75rem;
    margin: 32px 0 16px;
}

.entry-content h3 {
    font-size: 1.5rem;
    margin: 24px 0 12px;
}

.entry-content p {
    margin-bottom: 16px;
}

.entry-content ul,
.entry-content ol {
    margin: 16px 0 16px 24px;
    padding-left: 20px;
}

.entry-content ul {
    list-style-type: disc !important;
    list-style-position: outside;
}

.entry-content ol {
    list-style-type: decimal !important;
    list-style-position: outside;
}

.entry-content li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.entry-content img {
    border-radius: 16px;
    margin: 24px 0;
}

/* ==========================================================================
   RESPONSIVE EMBEDS (YouTube, oEmbed, iframes)
   Prevents horizontal scroll on mobile
   ========================================================================== */

/* WordPress block embeds */
.entry-content .wp-block-embed,
.entry-content .wp-block-video {
    margin: 24px 0;
}

.entry-content .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
}

/* Make all iframes responsive */
.entry-content iframe,
.uni-description iframe,
.uni-accordion-content iframe,
.uni-full-content iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
}

/* WordPress oEmbed wrapper (automatic from the_content) */
.entry-content .wp-embed-responsive .wp-block-embed__wrapper::before,
.entry-content .wp-has-aspect-ratio .wp-block-embed__wrapper::before {
    content: '';
    display: block;
    padding-top: 56.25%;
    /* 16:9 */
}

.entry-content .wp-embed-responsive .wp-block-embed__wrapper iframe,
.entry-content .wp-has-aspect-ratio .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Legacy embed wrapper (for apply_filters content) */
.entry-content .embed-youtube,
.entry-content .embed-vimeo,
.entry-content .embed-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    margin: 24px 0;
    border-radius: 12px;
}

.entry-content .embed-youtube iframe,
.entry-content .embed-vimeo iframe,
.entry-content .embed-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video elements */
.entry-content video {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

/* Figure elements (Gutenberg) */
.entry-content figure.wp-block-embed {
    margin: 24px 0;
}

.entry-content figure.wp-block-embed figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 12px;
}
/**
 * Accessibility Styles
 * Skip links, screen-reader-text, focus states
 * @package TugasinWP
 * @since 2.9.0
 */

/* Skip Link - Hidden until focused */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 100000;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Screen Reader Text (Visually Hidden) */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--primary);
    clip: auto !important;
    clip-path: none;
    color: white;
    display: block;
    font-size: 1rem;
    font-weight: 600;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Focus Visible Styles for Keyboard Navigation */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}
/**
 * Animations & Keyframes
 * Skeleton loaders, floating animations
 * @package TugasinWP
 * @since 2.9.0
 */

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton-card {
    background: #f0f0f0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.skeleton-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-image {
    height: 180px;
    background: #e0e0e0;
}

.skeleton-content {
    padding: 20px;
}

.skeleton-line {
    height: 16px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 12px;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-line.medium {
    width: 80%;
}

/* Archive grid loading state */
#archive-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Floating animation for hero cards */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Bounce animation for floating cards */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    60% {
        opacity: 1;
        transform: scale(1.05) translateY(-5px);
    }

    100% {
        transform: scale(1) translateY(0);
    }
}
