/* PAGE HERO — search bar removed */

.page-hero {
    background: #20208f;
    background-image: radial-gradient(circle at 85% 18%, rgba(45, 212, 191, 0.28) 0%, transparent 46%), radial-gradient(circle at 12% 92%, rgba(124, 58, 199, 0.45) 0%, transparent 52%), var(--ss-grad);
    position: relative;
    padding: 64px 0 56px;
    overflow: hidden;
    text-align: center;
}
.page-hero::before {
    content: "";
    position: absolute;
    top: -160px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient( circle, rgba(91, 91, 255, 0.35) 0%, transparent 65%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: float1 14s ease-in-out infinite;
}
.blog-card-img {
    height: 100%;
}
.page-hero::after {
    content: "";
    position: absolute;
    top: 50px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient( circle, rgba(139, 92, 246, 0.3) 0%, transparent 65%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: float2 18s ease-in-out infinite;
}

.page-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient( rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient( ellipse at center, black 40%, transparent 85%);
    pointer-events: none;
}

.newsletter-form .wpcf7-form-control-wrap {
    display: block;
}

.newsletter-form br {
    display: none;
}

.newsletter-form .wpcf7-form-control.wpcf7-submit {
    margin-top: 8px;
}

.newsletter-form .wpcf7-spinner {
    display: none;
}

.newsletter-form p {
    margin-bottom: 0;
}

@keyframes float1 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(40px, 25px) scale(1.08);
    }
}

@keyframes float2 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-30px, 40px) scale(1.12);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.hero-chip {
   font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 10px;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.30) !important;
    border-radius: 980px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-chip::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ai-cyan);
    box-shadow: 0 0 10px var(--ai-cyan);
    animation: pulse 1.6s infinite;
}

.page-hero h1 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 12px;
}

.page-hero h1 em {
    font-style: normal;
    background: linear-gradient( 135deg, #c4b5fd 0%, var(--ai-violet) 40%, var(--ai-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 17px;
    font-weight: 300;
    color: var(--white);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.65;
}


/* LAYOUT */

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 52px;
    padding: 64px 0 96px;
    align-items: start;
}

@media (max-width: 960px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}


/* BLOG SECTION LABEL */

.blog-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ai-indigo);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-section-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(91, 91, 255, 0.3), transparent);
}


/* BLOG CARD — BLOG label in body meta row, not on image */

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 260px 1fr;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    box-shadow: var(--shadow-ai);
    border-color: rgba(91, 91, 255, 0.25);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .blog-card {
        grid-template-columns: 1fr;
    }
}

.blog-card-img {
    position: relative;
    overflow: hidden;
    background: var(--dark);
    min-height: 180px;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 22px 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* Meta row: [BLOG pill] [date] · [author] — all inline in card body, no overlay on image */

.blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--body);
    margin-bottom: 9px;
    flex-wrap: wrap;
}

.blog-cat-pill {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--ai-indigo), var(--ai-violet));
    padding: 3px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(91, 91, 255, 0.3);
    flex-shrink: 0;
    line-height: 1.6;
}

.meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
}

.meta-author {
    color: var(--ai-indigo);
    font-weight: 500;
}

.blog-card h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    transition: color 0.15s;
}

.blog-card:hover h2 {
    color: var(--ai-indigo);
}

.blog-card p {
    font-size: 13px;
    color: var(--body);
    line-height: 1.65;
    margin-bottom: 16px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ai-indigo);
    transition: gap 0.2s, color 0.15s;
}

.blog-card:hover .read-more {
    gap: 10px;
    color: var(--ai-violet);
}

.read-more-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ai-indigo-lt);
    font-size: 11px;
    transition: background 0.15s;
}

.blog-card:hover .read-more-arrow {
    background: rgba(91, 91, 255, 0.2);
}


/* Placeholder image for posts without thumbnails */

.img-placeholder {
    background: linear-gradient(135deg, #0a0a14, #12102a);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}


/* PAGINATION */

.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 36px;
    flex-wrap: wrap;
    border: 0;
}

.page-numbers {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--body);
    border: 1px solid var(--border);
    background: #fff;
    text-decoration: none;
    transition: all 0.15s;
}

/* .page-numbers:hover {
    border-color: var(--ai-indigo);
    color: var(--ai-indigo);
    background: var(--ai-indigo-lt);
} */

.page-numbers.current {
    background: linear-gradient(135deg, var(--ai-indigo), var(--ai-violet));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 8px rgba(91, 91, 255, 0.35);
}

.page-ellipsis {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--body);
}

.next,
.page-numbers.prev {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--ai-indigo), var(--ai-violet));
    padding: 8px 18px;
    border-radius: 980px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(91, 91, 255, 0.3);
    margin-left: 4px;
    white-space: nowrap;
    width: auto;
    border:0;
}

.next:hover,
.page-numbers.prev:hover {
    box-shadow: 0 4px 16px rgba(91, 91, 255, 0.5);
    transform: translateY(-1px);
}


/* SIDEBAR */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ai-indigo-lt);
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title::before {
    content: "";
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--ai-indigo), var(--ai-violet));
    flex-shrink: 0;
}

#blog-list-form {
    display: flex;
    background: var(--mist);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.widget-search input {
    flex: 1;
    border: none;
    background: none;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--ink);
    outline: none;
    line-height: normal;
}

.widget-search input::placeholder {
    color: var(--body);
}

.widget-search button {
    background: var(--amber);
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 13px;
    padding: 10px 16px;
    transition: opacity 0.15s;
    line-height: normal;
    border-radius: 0;
}

.widget-search button:hover {
    opacity: 0.85;
}

.most-read-list {
    display: flex;
    flex-direction: column;
}

.most-read-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    align-items: start;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s;
}

.most-read-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.most-read-item:first-child {
    padding-top: 0;
}

.most-read-item:hover {
    opacity: 0.72;
}

.most-read-num {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: var(--ai-indigo-lt);
    color: var(--ai-indigo);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.most-read-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}

.most-read-date {
    font-size: 11px;
    color: var(--body);
}

.newsletter-widget {
    background: #20208f;
    background-image: radial-gradient(circle at 85% 18%, rgba(45, 212, 191, 0.28) 0%, transparent 46%), radial-gradient(circle at 12% 92%, rgba(124, 58, 199, 0.45) 0%, transparent 52%), var(--ss-grad);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.newsletter-widget::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient( circle, rgba(139, 92, 246, 0.25) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-widget .widget-title {
    color: #fff;
    border-bottom-color: rgba(91, 91, 255, 0.2);
}

.newsletter-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 1);
    line-height: 1.6;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.newsletter-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 1);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 1;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 9px;
    padding: 10px 14px;
    font-size: 13px;
    color: #fff;
    outline: none;
    transition: border-color 0.15s;
    width: 100%;
    line-height: normal;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    border-color: rgba(91, 91, 255, 0.8);
    color: #fff;
}

.newsletter-form input.wpcf7-submit {
    background: var(--amber);
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px;
    border-radius: 9px;
    transition: all 0.2s;
    box-shadow: 0 2px 10px rgba(91, 91, 255, 0.35);
}

.newsletter-form input.wpcf7-submit:hover {
    box-shadow: 0 4px 16px rgba(91, 91, 255, 0.5);
    transform: translateY(-1px);
}

.wpcf7-not-valid-tip {
    font-size: 13px;
}

.wpcf7 form .wpcf7-response-output {
    color: #fff;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 9px;
    border-width: 1px;
}

.wpcf7 form.sent .wpcf7-response-output {
    color: #46b450;
}