/*
Theme Name: ISPOBEN Custom Theme
Theme URI: https://ispoben.ac.mz/
Description: Tema institucional personalizado premium para o ISPOBEN, com foco em usabilidade, performance e interface profissional.
Version: 1.0.0
Author: Seja Criativo
Author URI: https://google.com/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ispoben
*/

/* ----------------------------------------------------
   DESIGN SYSTEM & VARIABLES
---------------------------------------------------- */
:root {
    /* Harmonious Color Palette */
    --primary: #047857;
    --primary-hover: #065f46;
    --primary-light: #d1fae5;
    --accent: #fcb900;
    --accent-dark: #d97706;
    
    /* Semantic Neutrals */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-white: #ffffff;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-footer: #0f172a;
    --border-color: #e2e8f0;
    
    /* Layout Variables */
    --max-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-glass: 0 8px 32px 0 rgba(4, 120, 87, 0.05);
    
    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------------------
   BASE STYLES
---------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.2);
}

.btn-secondary {
    background-color: var(--primary-light);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--text-white);
    color: var(--primary);
}

.btn-white:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 12px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 12px auto 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

/* ----------------------------------------------------
   HEADER & NAVIGATION
---------------------------------------------------- */
.top-bar {
    background-color: var(--primary);
    color: var(--text-white);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-socials {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-socials a {
    color: var(--text-white);
    opacity: 0.8;
}

.top-bar-socials a:hover {
    opacity: 1;
}

.main-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.header-container {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    width: auto;
}

.main-nav > ul,
.main-nav > div > ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-main);
    font-size: 15px;
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav ul li {
    position: relative;
}

/* Dropdown Menu CSS */
.main-nav .menu-item-has-children > a {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 6px;
}

.main-nav .menu-item-has-children > a::before {
    content: '\f078'; /* FontAwesome chevron-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.main-nav .menu-item-has-children:hover > a::before {
    transform: rotate(180deg);
}

.main-nav .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-card);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    min-width: 220px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.main-nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .sub-menu li {
    width: 100%;
}

.main-nav .sub-menu li a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    padding: 10px 20px;
    display: block;
    text-align: left;
    transition: var(--transition-smooth);
    border-bottom: none;
}

.main-nav .sub-menu li a::after {
    display: none !important;
}

.main-nav .sub-menu li a:hover {
    background-color: var(--bg-main);
    color: var(--primary);
    padding-left: 24px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-main);
}

/* ----------------------------------------------------
   HERO / SLIDER
---------------------------------------------------- */
.hero {
    color: var(--text-white);
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: center;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg-media.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 120, 87, 0.75), rgba(15, 23, 42, 0.85));
    z-index: 2;
}

.hero-container-relative {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(15px);
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero h1 {
    font-size: 48px;
    color: var(--text-white);
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.hero p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.7;
    color: #f1f5f9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Dots Navigation */
.hero-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 35px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
    background-color: var(--accent);
    transform: scale(1.2);
}

/* ----------------------------------------------------
   INSCRIÇÕES BANNER
---------------------------------------------------- */
.admissions-banner {
    background-color: var(--text-white);
    padding: 50px 0;
    box-shadow: var(--shadow-md);
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border-radius: var(--border-radius-md);
}

.admissions-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.admissions-text h2 {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 12px;
}

.admissions-text p {
    color: var(--text-muted);
}

.admissions-image img {
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
}

/* ----------------------------------------------------
   CURSOS (COURSES)
---------------------------------------------------- */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-glass);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(4, 120, 87, 0.1), 0 10px 10px -5px rgba(4, 120, 87, 0.04);
    border-color: rgba(4, 120, 87, 0.2);
}

.course-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
}

.course-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.course-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.course-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.course-link:hover {
    color: var(--primary-hover);
}

/* ----------------------------------------------------
   MISSAO, VISAO E VALORES
---------------------------------------------------- */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-feature-item {
    display: flex;
    gap: 20px;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: var(--text-white);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.about-feature-text h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.about-feature-text p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ----------------------------------------------------
   NOTÍCIAS & EVENTOS
---------------------------------------------------- */
.news-events-split {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 50px;
}

.news-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-thumbnail {
    height: 200px;
    overflow: hidden;
    background-color: var(--border-color);
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.news-card:hover .news-thumbnail img {
    transform: scale(1.05);
}

.news-info {
    padding: 24px;
}

.news-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.news-info h3 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.35;
}

.news-excerpt {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-item {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    transition: var(--transition-smooth);
}

.event-item:hover {
    transform: translateX(4px);
}

.event-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    min-width: 70px;
    font-weight: 700;
}

.event-date-day {
    font-size: 20px;
    line-height: 1;
}

.event-date-month {
    font-size: 12px;
    text-transform: uppercase;
}

.event-details h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.event-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 15px;
}

/* ----------------------------------------------------
   BIBLIOTECA (LIBRARY ARCHIVE)
---------------------------------------------------- */
.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.book-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.book-cover {
    height: 240px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.book-author {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.book-year {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.book-download {
    margin-top: auto;
    font-size: 13px;
    padding: 8px 16px;
    width: 100%;
}

/* ----------------------------------------------------
   CONTACT & FORMS
---------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-text h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-info-text p {
    color: var(--text-muted);
    font-size: 15px;
}

.contact-form {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.1);
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
.main-footer {
    background-color: var(--bg-footer);
    color: #94a3b8;
    padding: 80px 0 30px 0;
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 55px;
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-title {
    color: var(--text-white);
    font-size: 18px;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
}

/* Responsive Grid Classes */
.two-column-layout {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 40px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

/* ----------------------------------------------------
   RESPONSIVE DESIGN
---------------------------------------------------- */
@media (max-width: 1024px) {
    .news-events-split {
        grid-template-columns: 1fr;
    }
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: -20px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .admissions-grid,
    .about-split,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .news-list {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 30px;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        background-color: var(--bg-card);
        position: absolute;
        top: var(--header-height);
        left: 0;
        border-bottom: 2px solid var(--primary);
        box-shadow: var(--shadow-md);
        z-index: 1000;
        padding: 10px 0;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
    }
    
    .main-nav ul li {
        width: 100%;
        margin: 0;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 15px 24px;
        border-bottom: 1px solid var(--border-color);
        text-align: left;
    }
    
    .main-nav .menu-item-has-children > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .main-nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: rgba(0, 0, 0, 0.02);
        padding: 0;
        margin: 0;
        display: none;
        min-width: auto;
        border-radius: 0;
    }

    .main-nav li.active-submenu > .sub-menu {
        display: block;
    }

    .main-nav li.active-submenu > a::before {
        transform: rotate(180deg);
    }

    .main-nav .sub-menu li a {
        padding: 12px 36px;
        font-size: 14px;
        background-color: rgba(0, 0, 0, 0.02);
        font-weight: 500;
    }

    .menu-toggle {
        display: block;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ----------------------------------------------------
   ANIMATIONS
---------------------------------------------------- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----------------------------------------------------
   GUTENBERG BLOCK STYLING REFINEMENTS
---------------------------------------------------- */
.page-entry-content,
.post-entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-main);
}

.page-entry-content p,
.post-entry-content p {
    margin-bottom: 20px;
}

.page-entry-content h2,
.post-entry-content h2 {
    font-size: 24px;
    margin: 40px 0 20px 0;
    color: var(--primary);
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 8px;
}

.page-entry-content h2::after,
.post-entry-content h2::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.page-entry-content h3,
.post-entry-content h3 {
    font-size: 20px;
    margin: 30px 0 15px 0;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.page-entry-content ul,
.post-entry-content ul,
.page-entry-content ol,
.post-entry-content ol {
    margin: 0 0 25px 25px;
}

.page-entry-content li,
.post-entry-content li {
    margin-bottom: 10px;
}

.page-entry-content blockquote,
.post-entry-content blockquote {
    background-color: var(--bg-main);
    border-left: 4px solid var(--primary);
    padding: 20px 25px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-muted);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.page-entry-content table,
.post-entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 15px;
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.page-entry-content th,
.post-entry-content th {
    background-color: var(--primary);
    color: var(--text-white);
    text-align: left;
    font-weight: 600;
    padding: 14px 18px;
}

.page-entry-content td,
.post-entry-content td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-card);
}

.page-entry-content tr:hover td,
.post-entry-content tr:hover td {
    background-color: var(--bg-main);
}

