/* ========================================
   VRYNO WORDPRESS THEME STYLES
   ======================================== */

/* ========================================
   UTILITY CLASSES
   ======================================== */

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ========================================
   PRELOADER
   ======================================== */

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.loading {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

#loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

#loading-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   TOP NAVIGATION
   ======================================== */

.top-nav img {
    display: inline-block;
}

/* ========================================
   NAVIGATION MENU
   ======================================== */

.mi-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mi-label {
    font-weight: 600;
    font-size: 14px;
}

/* ========================================
   MOBILE MENU
   ======================================== */

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    padding-bottom: 16px;
}

.mobile-nav-menu {
    list-style: none;
}

.mobile-nav-menu li {
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li a {
    display: block;
    padding: 12px 0;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-menu li a:hover {
    color: var(--color-primary);
}

/* ========================================
   SECTION STYLES
   ======================================== */

.section-header {
    margin-bottom: 48px;
}

.section-header h2 {
    margin-bottom: 16px;
}

/* ========================================
   CARDS
   ======================================== */

.post-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card-image {
    width: 100%;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    display: inline-block;
    transition: all 0.3s ease;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-secondary {
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-bg);
}

/* ========================================
   ANIMATIONS WITH AOS
   ======================================== */

[data-aos] {
    opacity: 0;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .mega-menu-grid {
        grid-template-columns: 1fr;
    }

    .mega-panel {
        min-width: 300px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .section-header {
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }

    .section-container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.footer-column {
    margin-bottom: 32px;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin: 0 0 12px 0;
    padding: 0;
}

.footer-nav a {
    color: var(--text-light);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--text-white);
}

/* ========================================
   PAGINATION
   ======================================== */

.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.page-numbers {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-numbers a,
.page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.page-numbers a:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-bg);
    color: var(--color-primary);
}

.page-numbers .current {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* ========================================
   SINGLE POST STYLES
   ======================================== */

.single-post-content {
    background: white;
}

.post-header {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 32px;
}

.post-meta {
    color: var(--text-muted);
    font-size: 14px;
}

.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}

.post-content p {
    margin-bottom: 24px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.post-content ul,
.post-content ol {
    margin-left: 24px;
    margin-bottom: 24px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 32px 0;
    border-radius: 12px;
}

.post-tags {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 768px) {
    .post-navigation {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FAQ ACCORDION
   ======================================== */

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question {
    background: white;
}

.faq-answer {
    display: none;
}

/* ========================================
   CUSTOM UTILITIES
   ======================================== */

.gradient-text {
    background: linear-gradient(135deg, var(--grad-start) 0%, var(--grad-mid) 55%, var(--grad-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-elevated {
    box-shadow: var(--shadow-card-lg);
}

/* ========================================
   WORDPRESS SPECIFIC
   ======================================== */

.wp-caption {
    max-width: 100%;
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
}

.wp-caption-text {
    padding: 12px;
    background: var(--surface-subtle);
    font-size: 14px;
    color: var(--text-muted);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.alignleft {
    float: left;
    margin-right: 24px;
    margin-bottom: 24px;
}

.alignright {
    float: right;
    margin-left: 24px;
    margin-bottom: 24px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {

    .top-nav,
    nav,
    footer,
    .pagination-wrapper {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    a {
        color: black;
    }
}



@media(max-width:768px) {
}

/* Sidebar */

/* Content */

/* Hero */

/* Stats */

/* Articles */

.module-stats.single-stat{
    grid-template-columns:1fr;
    max-width:220px;
}

/* Article Body */

.article-body{
    color:#374151;
    line-height:1.8;
    font-size:16px;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4{
    color:#111827;
    font-weight:600;
    margin:28px 0 14px;
}

.article-body p{
    margin-bottom:16px;
}

.article-body ul,
.article-body ol{
    margin:0 0 16px 22px;
}

.article-body li{
    margin-bottom:8px;
}

.article-body img{
    max-width:100%;
    height:auto;
    border-radius:12px;
    margin:16px 0;
}

.article-body a{
    color:#844DFA;
}

/* Navigation */

/* Feedback */

/* Support */

@media(max-width:991px){

}


