/* ==========================================================================
   PAULA BLOG — STYLES
   ========================================================================== */
:root {
    --ag-violet: #2E1065;
    --ag-indigo: #312E81;
    --ag-gold: #F5DFA0;
    --ag-light: #F8FAFC;
    --ag-green: #A7F3D0;
    --ag-sky: #E0F2FE;
    --ag-font-heading: 'Cormorant Garamond', serif;
    --ag-font-body: 'Source Sans Pro', sans-serif;
    --ag-glass-bg: rgba(255, 255, 255, 0.05);
    --ag-glass-border: rgba(245, 223, 160, 0.2);
}

/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.ag-portal-wrapper {
    font-family: var(--ag-font-body);
    color: var(--ag-light);
    background-color: var(--ag-violet);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--ag-font-heading);
    font-weight: 400;
    color: var(--ag-gold);
}

p {
    margin: 0 0 20px;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--ag-light);
    opacity: 0.9;
}

a {
    text-decoration: none;
    color: var(--ag-gold);
    transition: all 0.3s ease;
}

.ag-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.ag-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(46, 16, 101, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(245, 223, 160, 0.08);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.ag-navbar.scrolled {
    background: rgba(46, 16, 101, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.ag-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.ag-nav-logo {
    font-family: var(--ag-font-heading);
    font-size: 2rem;
    color: var(--ag-gold);
    letter-spacing: 0.05em;
}

.ag-nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.ag-nav-links a {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    position: relative;
    padding: 5px 0;
}

.ag-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ag-gold);
    transition: width 0.3s ease;
}

.ag-nav-links a:hover,
.ag-nav-links a.active {
    color: var(--ag-gold);
}

.ag-nav-links a:hover::after,
.ag-nav-links a.active::after {
    width: 100%;
}

.ag-search-toggle {
    background: none;
    border: 1px solid rgba(245, 223, 160, 0.2);
    color: var(--ag-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ag-search-toggle:hover {
    background: rgba(245, 223, 160, 0.1);
}

.ag-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.ag-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ag-gold);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.ag-hamburger span:nth-child(1) {
    top: 0;
}

.ag-hamburger span:nth-child(2) {
    top: 11px;
}

.ag-hamburger span:nth-child(3) {
    top: 22px;
}

.ag-hamburger.open span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.ag-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.ag-hamburger.open span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

/* Search Overlay */
.ag-search-overlay {
    display: none;
    padding: 20px 0;
    background: rgba(30, 10, 60, 0.98);
    border-top: 1px solid rgba(245, 223, 160, 0.1);
}

.ag-search-overlay.open {
    display: block;
}

.ag-search-input {
    width: 100%;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 223, 160, 0.2);
    border-radius: 50px;
    color: var(--ag-light);
    font-family: var(--ag-font-body);
    font-size: 1.1rem;
}

.ag-search-input:focus {
    outline: none;
    border-color: var(--ag-gold);
}

/* PROGRESS BAR (post page) */
.ag-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--ag-gold), var(--ag-green));
    z-index: 1001;
    transition: width 0.1s linear;
}

/* ==========================================================================
   BLOG HERO (compact)
   ========================================================================== */
.ag-blog-hero {
    position: relative;
    width: 100%;
    height: 65vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.ag-hero-video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.ag-hero-video-wrapper iframe,
.ag-hero-video-wrapper video {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.ag-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46, 16, 101, 0.88) 0%, rgba(49, 46, 129, 0.55) 100%);
    z-index: 2;
}

.ag-hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(245, 223, 160, 0.12) 0%, transparent 60%);
    z-index: 3;
    animation: ag-pulse 8s infinite alternate ease-in-out;
}

#ag-particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.ag-blog-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 800px;
    padding: 100px 20px 40px;
}

.ag-hero-label {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ag-gold);
    opacity: 0.8;
    margin-bottom: 20px;
}

.ag-blog-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    color: var(--ag-light);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.ag-blog-hero-sub {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    max-width: 600px;
    margin: 0 auto;
    color: rgba(248, 250, 252, 0.8);
    letter-spacing: 0.02em;
}

.ag-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 45px;
    border: 1px solid rgba(245, 223, 160, 0.3);
    border-radius: 20px;
    z-index: 5;
}

.ag-scroll-dot {
    width: 4px;
    height: 6px;
    background: var(--ag-gold);
    border-radius: 50%;
    margin: 8px auto 0;
    animation: ag-scroll-drop 2s infinite ease-in-out;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.ag-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(to bottom, var(--ag-violet), var(--ag-indigo));
}

.ag-section-alt {
    background: linear-gradient(to bottom, var(--ag-indigo), #1c0a3d);
}

.ag-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.ag-section-title {
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.ag-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background: var(--ag-gold);
}

/* ==========================================================================
   FEATURED POSTS GRID
   ========================================================================== */
.ag-featured-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

.ag-featured-main {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: var(--ag-glass-bg);
    border: 1px solid var(--ag-glass-border);
    transition: all 0.4s ease;
    text-decoration: none;
}

.ag-featured-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(245, 223, 160, 0.4);
}

.ag-featured-img {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
}

.ag-featured-body {
    padding: 30px;
}

.ag-featured-body .ag-post-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.ag-featured-body p {
    font-size: 1rem;
}

.ag-featured-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ag-featured-small {
    display: flex;
    gap: 20px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--ag-glass-bg);
    border: 1px solid var(--ag-glass-border);
    transition: all 0.4s ease;
    text-decoration: none;
    flex: 1;
}

.ag-featured-small:hover {
    transform: translateX(5px);
    border-color: rgba(245, 223, 160, 0.4);
}

.ag-featured-small-img {
    width: 180px;
    min-height: 100%;
    flex-shrink: 0;
    position: relative;
}

.ag-featured-small-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ag-featured-small-body .ag-post-title {
    font-size: 1.3rem;
    margin-bottom: 0;
}

/* ==========================================================================
   POST CARDS (shared between index/post)
   ========================================================================== */
.ag-post-card {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow: hidden;
    background: var(--ag-glass-bg);
    border: 1px solid var(--ag-glass-border);
    transition: all 0.4s ease;
    text-decoration: none;
}

.ag-post-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 223, 160, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.ag-post-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
}

.ag-post-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(46, 16, 101, 0.9), transparent);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.ag-post-card:hover .ag-post-thumb::after {
    opacity: 0.2;
}

.ag-post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    background: rgba(245, 223, 160, 0.85);
    color: var(--ag-violet);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ag-post-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ag-post-date {
    font-size: 0.85rem;
    color: var(--ag-green);
    margin-bottom: 8px;
    display: block;
}

.ag-post-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    transition: color 0.3s;
    line-height: 1.3;
}

.ag-post-card:hover .ag-post-title {
    color: var(--ag-light);
}

.ag-read-more {
    margin-top: auto;
    font-size: 0.9rem;
    color: var(--ag-gold);
    opacity: 0.7;
    transition: opacity 0.3s;
    padding-top: 15px;
}

.ag-post-card:hover .ag-read-more {
    opacity: 1;
}

/* ==========================================================================
   BLOG LAYOUT (posts + sidebar)
   ========================================================================== */
.ag-blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

.ag-posts-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* SIDEBAR */
.ag-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ag-sidebar-widget {
    background: var(--ag-glass-bg);
    border: 1px solid var(--ag-glass-border);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.ag-widget-title {
    font-family: var(--ag-font-heading);
    font-size: 1.4rem;
    color: var(--ag-gold);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(245, 223, 160, 0.15);
}

.ag-sidebar-search {
    border-radius: 50px !important;
    padding: 12px 20px !important;
}

.ag-cat-list {
    list-style: none;
}

.ag-cat-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ag-cat-list li:last-child {
    border: none;
}

.ag-cat-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.95rem;
}

.ag-cat-list a:hover {
    color: var(--ag-gold);
}

.ag-cat-count {
    background: rgba(245, 223, 160, 0.15);
    color: var(--ag-gold);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.ag-popular-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ag-popular-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.95rem;
    line-height: 1.4;
}

.ag-popular-item:hover {
    color: var(--ag-gold);
}

.ag-popular-num {
    font-family: var(--ag-font-heading);
    font-size: 1.8rem;
    color: rgba(245, 223, 160, 0.3);
    font-weight: 600;
    line-height: 1;
    min-width: 30px;
}

.ag-sidebar-newsletter {
    background: rgba(245, 223, 160, 0.05);
    border-color: rgba(245, 223, 160, 0.25);
}

/* ==========================================================================
   CATEGORY GRID
   ========================================================================== */
.ag-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.ag-cat-card {
    background: var(--ag-glass-bg);
    border: 1px solid var(--ag-glass-border);
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    text-decoration: none;
}

.ag-cat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 223, 160, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.ag-cat-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.ag-cat-card h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.ag-cat-card p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.6;
}

/* ==========================================================================
   ABOUT AVATAR
   ========================================================================== */
.ag-about-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 30px;
    background: rgba(245, 223, 160, 0.1);
    border: 2px solid rgba(245, 223, 160, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

/* ==========================================================================
   NEWSLETTER CTA
   ========================================================================== */
.ag-newsletter-section {
    background: linear-gradient(135deg, #1c0a3d, var(--ag-violet));
}

.ag-newsletter-box {
    background: var(--ag-glass-bg);
    border: 1px solid var(--ag-glass-border);
    border-radius: 25px;
    padding: 60px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    backdrop-filter: blur(15px);
}

.ag-newsletter-form {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.ag-newsletter-form .ag-form-control {
    flex: 1;
    border-radius: 50px;
    padding: 16px 25px;
}

.ag-newsletter-form .ag-btn {
    white-space: nowrap;
    margin: 0;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.ag-contact-box {
    background: rgba(46, 16, 101, 0.6);
    border: 1px solid var(--ag-glass-border);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(15px);
}

.ag-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.ag-form-control {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--ag-light);
    font-family: var(--ag-font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.ag-form-control:focus {
    outline: none;
    border-color: var(--ag-gold);
    background: rgba(255, 255, 255, 0.1);
}

textarea.ag-form-control {
    min-height: 120px;
    resize: vertical;
}

/* BUTTONS */
.ag-btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--ag-font-body);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.ag-btn-primary {
    background: rgba(245, 223, 160, 0.9);
    color: var(--ag-violet);
    box-shadow: 0 0 20px rgba(245, 223, 160, 0.3);
}

.ag-btn-primary:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 223, 160, 0.6);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ag-footer {
    background: #0d0422;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ag-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.ag-footer-logo {
    font-family: var(--ag-font-heading);
    font-size: 2.2rem;
    color: var(--ag-gold);
    display: inline-block;
    margin-bottom: 15px;
}

.ag-footer-heading {
    font-family: var(--ag-font-heading);
    color: var(--ag-gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.ag-footer-links {
    list-style: none;
}

.ag-footer-links li {
    margin-bottom: 10px;
}

.ag-footer-links a {
    color: rgba(248, 250, 252, 0.5);
    font-size: 0.95rem;
}

.ag-footer-links a:hover {
    color: var(--ag-gold);
}

.ag-footer-social {
    display: flex;
    gap: 12px;
}

.ag-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(245, 223, 160, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.6);
}

.ag-footer-social a:hover {
    background: var(--ag-gold);
    color: var(--ag-violet);
}

.ag-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    text-align: center;
}

.ag-footer-copy {
    font-size: 0.85rem;
    opacity: 0.4;
    margin: 0;
}

/* ==========================================================================
   POST HERO (article page)
   ========================================================================== */
.ag-post-hero {
    position: relative;
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
}

.ag-post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(46, 16, 101, 0.95) 0%, rgba(46, 16, 101, 0.3) 100%);
}

.ag-post-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px 50px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.ag-breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.ag-breadcrumbs a {
    color: rgba(248, 250, 252, 0.5);
}

.ag-breadcrumbs a:hover {
    color: var(--ag-gold);
}

.ag-breadcrumbs span {
    color: rgba(248, 250, 252, 0.3);
    margin: 0 8px;
}

.ag-post-hero-content .ag-post-category {
    position: static;
    display: inline-block;
    margin-bottom: 20px;
}

.ag-post-hero-title {
    font-family: var(--ag-font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--ag-light);
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 800px;
}

.ag-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.6);
}

.ag-post-meta strong {
    color: var(--ag-gold);
}

.ag-meta-sep {
    margin: 0 5px;
    opacity: 0.4;
}

/* ==========================================================================
   ARTICLE CONTENT
   ========================================================================== */
.ag-article-section {
    padding-top: 80px;
}

.ag-article-layout {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.ag-share-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: sticky;
    top: 90px;
    height: fit-content;
}

.ag-share-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(248, 250, 252, 0.4);
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    margin-bottom: 10px;
}

.ag-share-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(245, 223, 160, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.5);
}

.ag-share-link:hover {
    background: var(--ag-gold);
    color: var(--ag-violet);
    border-color: var(--ag-gold);
}

.ag-article-content {
    max-width: 750px;
}

.ag-article-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 25px;
}

.ag-article-lead {
    font-size: 1.35rem !important;
    font-weight: 400;
    color: var(--ag-light);
    opacity: 1 !important;
    border-left: 3px solid var(--ag-gold);
    padding-left: 25px;
    margin-bottom: 35px !important;
}

.ag-article-content h2 {
    font-size: 2rem;
    margin: 50px 0 20px;
    color: var(--ag-gold);
}

.ag-article-content blockquote {
    margin: 35px 0;
    padding: 30px 35px;
    background: rgba(245, 223, 160, 0.05);
    border-left: 3px solid var(--ag-gold);
    border-radius: 0 12px 12px 0;
}

.ag-article-content blockquote p {
    font-family: var(--ag-font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--ag-gold);
    opacity: 0.9;
    margin: 0;
    line-height: 1.6;
}

.ag-article-content ul {
    margin: 0 0 25px 20px;
    list-style: none;
}

.ag-article-content ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    font-size: 1.1rem;
    color: rgba(248, 250, 252, 0.85);
}

.ag-article-content ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--ag-gold);
    font-size: 0.8rem;
}

/* Tags */
.ag-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ag-tag {
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    background: rgba(245, 223, 160, 0.08);
    border: 1px solid rgba(245, 223, 160, 0.15);
    color: rgba(248, 250, 252, 0.6);
    text-transform: lowercase;
}

.ag-tag:hover {
    background: rgba(245, 223, 160, 0.15);
    color: var(--ag-gold);
}

/* ==========================================================================
   AUTHOR BOX
   ========================================================================== */
.ag-author-box {
    display: flex;
    gap: 30px;
    align-items: center;
    background: var(--ag-glass-bg);
    border: 1px solid var(--ag-glass-border);
    border-radius: 20px;
    padding: 35px;
    backdrop-filter: blur(10px);
}

.ag-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(245, 223, 160, 0.1);
    border: 2px solid rgba(245, 223, 160, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.ag-author-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.ag-author-info p {
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.ag-author-social {
    display: flex;
    gap: 10px;
}

.ag-author-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(245, 223, 160, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: rgba(248, 250, 252, 0.5);
}

.ag-author-social a:hover {
    background: var(--ag-gold);
    color: var(--ag-violet);
}

/* Related Grid */
.ag-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ==========================================================================
   COMMENTS
   ========================================================================== */
.ag-comments-box {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ag-comment {
    background: var(--ag-glass-bg);
    border: 1px solid var(--ag-glass-border);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(5px);
}

.ag-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.ag-comment-header strong {
    color: var(--ag-gold);
    font-family: var(--ag-font-heading);
    font-size: 1.2rem;
}

.ag-comment p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.85;
}

.ag-comment-form {
    margin-top: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.ag-fade-in {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.ag-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes ag-pulse {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@keyframes ag-scroll-drop {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .ag-featured-grid {
        grid-template-columns: 1fr;
    }

    .ag-featured-side {
        flex-direction: row;
    }

    .ag-blog-layout {
        grid-template-columns: 1fr;
    }

    .ag-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .ag-sidebar-widget {
        flex: 1;
        min-width: 280px;
    }

    .ag-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ag-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ag-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ag-hamburger {
        display: block;
    }

    .ag-nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(46, 16, 101, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        z-index: 1000;
    }

    .ag-nav-links.open {
        display: flex;
    }

    .ag-nav-links a {
        font-size: 1.5rem;
    }

    .ag-blog-hero {
        height: 55vh;
        min-height: 400px;
    }

    .ag-blog-hero-title {
        font-size: 2rem;
    }

    .ag-section {
        padding: 70px 0;
    }

    .ag-posts-main {
        grid-template-columns: 1fr;
    }

    .ag-featured-side {
        flex-direction: column;
    }

    .ag-featured-small {
        flex-direction: column;
    }

    .ag-featured-small-img {
        width: 100%;
        height: 150px;
    }

    .ag-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ag-newsletter-form {
        flex-direction: column;
    }

    .ag-newsletter-box {
        padding: 40px 25px;
    }

    .ag-contact-box {
        padding: 40px 20px;
    }

    .ag-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ag-footer-social {
        justify-content: center;
    }

    /* Post page */
    .ag-article-layout {
        grid-template-columns: 1fr;
    }

    .ag-share-bar {
        flex-direction: row;
        position: static;
        margin-bottom: 20px;
    }

    .ag-share-label {
        writing-mode: horizontal-tb;
        transform: none;
        margin: 0;
    }

    .ag-post-hero {
        min-height: 350px;
    }

    .ag-related-grid {
        grid-template-columns: 1fr;
    }

    .ag-author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.ag-wpp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: ag-wpp-pulse 2s infinite;
}

.ag-wpp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes ag-wpp-pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}