/* 
  KenStack AI News - Pixel Perfect CSS
  Based on provided requirements
*/

:root {
    --primary-blue: #1d4ed8;
    --dark-blue: #0d2b75;
    --purple: #6c4cff;
    --yellow: #ffd633;
    --white: #ffffff;
    --gray-bg: #f5f7fb;
    --text-color: #222222;
    --nav-gradient-1: #111c72;
    --nav-gradient-2: #182f96;
    --hero-gradient-1: #0d2b75;
    --hero-gradient-2: #1239b6;
    --hero-gradient-3: #1b58db;
    --card-shadow: 0 12px 30px rgba(0,0,0,.08);
    --card-hover-shadow: 0 18px 40px rgba(0,0,0,.15);
    --radius-hero: 24px;
    --radius-card: 18px;
    --radius-btn: 50px;
    --radius-img: 16px;
    --transition: .35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background-color: #e8eaef;
    color: var(--text-color);
    line-height: 1.5;
}

/* Container */
.main-content {
    max-width: 1380px;
    margin: 0 auto;
    padding: 20px 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(to right, var(--nav-gradient-1), var(--nav-gradient-2));
    height: 70px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    color: var(--white);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: auto;
    height: 40px;
    background: transparent;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
}

.logo-icon img {
    width: 100%;
    height: 35px;
    border-radius: 8px;
    filter: invert(1.2) hue-rotate(190deg) brightness(2.5);
}

.brand h1 {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    font-family: sans-serif;
}

.brand h1 span {
    color: #f0d90b;
}

.brand p {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.nav-center ul {
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav-center a {
    padding: 8px 16px;
    border-radius: var(--radius-btn);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
}

.nav-center a:hover, .nav-center a.active {
    background-color: var(--purple);
    color: var(--white);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    background: transparent;
    color: var(--white);
    font-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-btn:hover {
    background: rgba(255,255,255,0.1);
}

.btn-subscribe {
    background-color: var(--purple);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 14px;
}

.btn-subscribe:hover {
    background-color: #5b3ce6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 76, 255, 0.3);
}

.profile-btn {
    background: rgba(255,255,255,0.15);
}

/* Grid Layouts */
.top-row {
    display: grid;
    grid-template-columns: 70% calc(30% - 20px);
    gap: 20px;
    margin-bottom: 20px;
}

.bottom-row {
    display: grid;
    grid-template-columns: 65% calc(35% - 20px);
    gap: 20px;
}

/* When Latest News is removed, make it a simple flex row */
.bottom-row--wide {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.bottom-row--wide .categories-card {
    flex: 1 1 60%;
}
.bottom-row--wide .ad-card {
    flex: 1 1 280px;
}

/* Hero Section */
.hero-card {
    height: 320px;
    border-radius: var(--radius-hero);
    position: relative;
    overflow: hidden;
    color: var(--white);
    box-shadow: var(--card-shadow);

    display: flex;
    align-items: center;
    padding: 0 50px;

    /* Gradient + Robot Background */
    background:
        linear-gradient(135deg,
            rgba(8, 32, 83, 0.95),
            rgba(10, 54, 150, 0.192),
            rgba(0, 110, 255, 0.034)
        ),
        url("../assets/images/background_img.png");

    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover, auto 115%;
}

/* Subtle background overlay (circuit pattern approximation) */
.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at center,
            rgba(255,255,255,.10) 1px,
            transparent 1px);

    background-size: 20px 20px;
    opacity: .45;
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.hero-content h2 {
    font-size: 46px; /* slightly smaller than 54 to fit */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
}

.hero-content h2 span {
    color: var(--yellow);
}

.hero-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 25px;
}

.btn-yellow {
    background-color: var(--yellow);
    color: #000;
    padding: 12px 28px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-yellow:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 214, 51, 0.4);
}

.hero-image-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
    max-width: 50%;
}

.hero-robot {
    padding-right: 0;
    height: 120%;
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    margin-bottom: -20px;

    /* Left-side fade */
    -webkit-mask-image: linear-gradient(to right,
        transparent 0%,
        rgba(0,0,0,0.2) 10%,
        rgba(0,0,0,0.6) 20%,
        rgba(0,0,0,1) 35%,
        rgba(0,0,0,1) 100%);
    mask-image: linear-gradient(to right,
        transparent 0%,
        rgba(0,0,0,0.2) 10%,
        rgba(0,0,0,0.6) 20%,
        rgba(0,0,0,1) 35%,
        rgba(0,0,0,1) 100%);
}

/* Trending Panel */
.trending-panel {
    background-color: var(--nav-gradient-2);
    border-radius: var(--radius-card);
    padding: 24px;
    color: var(--white);
    box-shadow: var(--card-shadow);
    height: 320px;
    display: flex;
    flex-direction: column;
}

.trending-header {
    margin-bottom: 15px;
}

.trending-header h3 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge {
    background-color: rgba(255,255,255,0.15);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 14px;
}

.trending-list{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trending-list:hover{
    animation-play-state:paused;
}

.trending-wrapper{
    height: 420px;
    overflow: hidden;
    position: relative;
}


.trending-card{
    display:flex;
    align-items:center;
    gap:15px;
    padding:10px;
    border-radius:12px;
    background:rgba(255, 255, 255, 0.801);
    border:1px solid rgba(255,255,255,.1);
    transition:.4s;
}

.trending-list.move{
    transition: transform .8s ease;
}

.trending-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2), 0 0 15px rgba(29, 78, 216, 0.5); /* Blue glow */
    background:linear-gradient(135deg, #d1d1d1, #b8b8b8);
}

@keyframes scrollNews{
    0%{
        transform:translateY(0);
    }
    100%{
        transform:translateY(calc(-50%));
    }
}

.trending-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.trending-info h4 {
    color: black;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 5px;
}

.trending-info p {
    font-size: 12px;
    color: rgba(29, 29, 29, 0.6);
}

/* Latest News & Categories Common */
.latest-news-card, .categories-card, .ad-card {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    padding: 30px;
}

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

.ad-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 250px;
    border: 2px dashed #cbd5e1;
}

.ad-content span {
    font-size: 12px;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

.ad-content h3 {
    font-size: 20px;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.ad-content p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-left h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-blue);
}

.purple-icon {
    color: var(--purple);
    font-size: 24px;
}

.yellow-icon {
    color: #eab308; /* slightly darker yellow for visibility on white */
    font-size: 24px;
}

.view-all {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
}

.view-all:hover {
    text-decoration: underline;
}

/* Latest News Grid */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.news-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    cursor: pointer;
    padding: 15px;
    border-radius: 16px;
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.news-img {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-img);
    object-fit: cover;
}

.news-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-blue);
}

.news-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #888;
}

.news-meta span:first-child {
    color: var(--primary-blue);
    font-weight: 500;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.category-pill {
    background-color: #f1f5f9;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.category-pill i {
    color: var(--primary-blue);
}

.category-pill:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: scale(1.03);
}

.category-pill:hover i {
    color: var(--white);
}

/* Responsive styles are in css/responsive.css */


/* --- NEW SECTIONS STYLES --- */

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--nav-gradient-1), var(--nav-gradient-2));
    border-radius: var(--radius-card);
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}
.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}
.newsletter-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}
.newsletter-section p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius-btn);
    border: none;
    outline: none;
    font-size: 15px;
    font-family: inherit;
}
.btn-subscribe-large {
    background-color: var(--yellow);
    color: #000;
    padding: 14px 30px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
}
.btn-subscribe-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 214, 51, 0.4);
}
.privacy-note {
    font-size: 12px !important;
    margin-bottom: 0 !important;
    color: rgba(255,255,255,0.6) !important;
}
.privacy-note a {
    color: var(--yellow);
    text-decoration: underline;
}
.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    z-index: 1;
}
.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}
.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
}

#newsletter {
    scroll-margin-top: 90px; /* Adjust to your navbar height */
}

/* Events Timeline */
.events-section {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    padding: 40px;
    margin-top: 40px;
}
.timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    padding-left: 20px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e2e8f0;
}
.timeline-item {
    display: flex;
    gap: 30px;
    position: relative;
}
.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    border: 3px solid #bfdbfe;
    z-index: 2;
}
.timeline-content {
    background: var(--gray-bg);
    border-radius: var(--radius-card);
    padding: 20px;
    display: flex;
    gap: 20px;
    width: 100%;
    transition: var(--transition);
}
.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    background: var(--white);
}
.event-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
}
.event-details {
    flex: 1;
}
.event-details h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 10px;
}
.event-meta {
    display: flex;
    gap: 15px;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 15px;
}
.event-meta i {
    color: var(--primary-blue);
}
.event-details p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 15px;
}
.btn-primary-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 8px 24px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 14px;
}
.btn-primary-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* FAQ Section */
.faq-section {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    padding: 40px;
    margin-top: 40px;
}
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: #f8fafc;
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.faq-question:hover {
    background: #f1f5f9;
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--white);
}
.faq-answer p {
    padding: 20px;
    color: #475569;
    font-size: 15px;
    border-top: 1px solid #e2e8f0;
}

/* Contact Section */
.contact-section {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    padding: 40px;
    margin-top: 40px;
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}
.contact-left h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
}
.contact-left p {
    color: #475569;
    margin-bottom: 30px;
    font-size: 15px;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.info-item i {
    font-size: 20px;
    color: var(--purple);
    background: #f1f5f9;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.info-item h5 {
    font-size: 16px;
    color: var(--dark-blue);
    margin-bottom: 5px;
}
.info-item span {
    font-size: 14px;
    color: #64748b;
}
.contact-socials {
    display: flex;
    gap: 15px;
}
.contact-socials a {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.contact-socials a:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
}
.contact-form {
    background: var(--gray-bg);
    padding: 30px;
    border-radius: 16px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-blue);
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-blue);
}
.btn-primary {
    background: linear-gradient(135deg, var(--nav-gradient-1), var(--primary-blue));
    color: var(--white);
    padding: 14px 30px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
    width: 100%;
}
.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.4);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--nav-gradient-1);
    color: rgba(255,255,255,0.8);
    padding: 60px 20px 20px;
    margin-top: 60px;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.footer-brand .logo-icon,
.footer-brand .logo-icon--footer {
    width: auto;
    height: 36px;
    display: flex;
    align-items: center;
}
.footer-brand .logo-icon img,
.footer-brand .logo-icon--footer img {
    height: 34px;
    width: auto;
    border-radius: 4px;
    display: block;
    filter: invert(1.2) hue-rotate(190deg) brightness(2.5);
}
.footer-brand h2,
.footer-brand .footer-brand-name {
    font-size: 25px;
    font-weight: 600;
    font-style: italic;
    color: #ffffff !important;
    letter-spacing: -0.3px;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
    top: 8px;
}
.footer-brand h2 span,
.footer-brand .footer-brand-name span {
    color: #ffffff !important;
    font-weight: 700;
    margin-right: 3px;
}
.footer-col p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}
.footer-socials {
    display: flex;
    gap: 10px;
}
.footer-socials a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.footer-socials a:hover {
    background: var(--yellow);
    color: #000;
}
.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col ul a {
    font-size: 14px;
    transition: var(--transition);
}
.footer-col ul a:hover {
    color: var(--yellow);
    padding-left: 5px;
}
.mini-newsletter {
    display: flex;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-btn);
    overflow: hidden;
}
.mini-newsletter input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 15px;
    color: var(--white);
    outline: none;
    font-family: inherit;
}
.mini-newsletter input::placeholder {
    color: rgba(255,255,255,0.5);
}
.mini-newsletter button {
    background: var(--yellow);
    color: #000;
    padding: 0 20px;
}
.mini-newsletter button:hover {
    background: var(--white);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    gap: 10px;
}
.footer-bottom p {
    margin-bottom: 0;
}
.footer-admin-link {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    transition: var(--transition);
}
.footer-admin-link:hover {
    color: var(--yellow);
}

/* Scroll To Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
}

/* Events & newsletter responsive styles are in css/responsive.css */


/* --- MEGA MENU STYLES --- */
.dropdown-item {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.dropdown-item.show .dropdown-toggle i, 
.dropdown-item:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 200;
    margin-top: 15px; /* space between nav and dropdown */
    text-align: left;
}

/* Pseudo-element bridge for hover gap */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

/* Override nav-center styles for mega menu links */
.nav-center .mega-menu a {
    display: block;
    font-size: 14px;
    font-weight: 400;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    color: inherit;
    text-decoration: none;
}

.dropdown-item.show .mega-menu, .dropdown-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.categories-mega-menu {
    width: 1200px;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.mega-menu-heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.mega-menu-heading i {
    color: var(--primary-blue);
}

a.mega-menu-link {
    text-decoration: none;
    color: var(--dark-blue) !important;
    transition: color 0.2s ease, background 0.2s ease;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 0;
    border-bottom: none;
}

a.mega-menu-link:hover {
    color: var(--primary-blue);
}

.mega-menu-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-center .mega-menu .mega-menu-list a {
    color: #475569 !important;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-center .mega-menu .mega-menu-list a:hover, 
.nav-center .mega-menu .mega-menu-list a:focus {
    background-color: #eef4ff !important;
    color: var(--primary-blue) !important;
    outline: none;
    text-decoration: underline;
}

.events-dropdown {
    width: 300px;
}

.events-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-center .mega-menu .events-list a {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.2s ease;
    color: var(--text-color) !important;
}

.nav-center .mega-menu .events-list a:hover, 
.nav-center .mega-menu .events-list a:focus {
    background-color: #eef4ff !important;
    outline: none;
}

.nav-center .mega-menu .events-list a i {
    font-size: 18px;
    color: var(--primary-blue);
    margin-top: 3px;
    transition: transform 0.2s ease;
}

.nav-center .mega-menu .events-list a:hover i {
    transform: rotate(-10deg) scale(1.1);
}



.nav-center .mega-menu .events-list a .event-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-blue);
    margin-bottom: 3px;
    transition: color 0.2s ease;
}

.nav-center .mega-menu .events-list a:hover .event-title {
    color: var(--primary-blue);
}

.event-desc {
    display: block;
    font-size: 12px;
    color: #666;
}

.mt-4 {
    margin-top: 24px;
}

/* Mega menu responsive overrides are in css/responsive.css */


/* --- AI NEWS LISTING PAGE STYLES --- */
.ai-news-page {
    padding-top: 20px;
}
.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 20px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #64748b;
}
.breadcrumb a {
    color: var(--primary-blue);
    font-weight: 500;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb .active {
    color: var(--dark-blue);
    font-weight: 600;
}
.page-header {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 70px 50px;
    background: linear-gradient(135deg, #061040 0%, #0d2058 40%, #102880 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-card);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(10, 26, 92, 0.25);
}
.header-bg-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(108, 76, 255, 0.4) 0%, transparent 60%),
                radial-gradient(circle at 90% 80%, rgba(29, 78, 216, 0.3) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.header-content h1 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}
.header-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 35px;
    line-height: 1.6;
}
.header-stats {
    display: flex;
    gap: 30px;
    background: rgba(255, 255, 255, 0.08);
    padding: 20px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    width: fit-content;
}
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--yellow);
}
.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.search-filters-section {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 20px;
}
.search-bar-wrapper {
    margin-bottom: 20px;
}
.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    padding: 5px 25px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-bar:focus-within {
    border-color: #cbd5e1;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}
.search-icon {
    color: #94a3b8;
    font-size: 18px;
    margin-right: 15px;
}
.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 0;
    font-size: 16px;
    font-family: inherit;
    color: var(--dark-blue);
}
.clear-search-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    display: none;
}
.clear-search-btn:hover {
    color: #ef4444;
}
.news-filters {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.topic-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-pill {
    background: #f8fafc;
    border: 1px solid transparent;
    color: #475569;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-pill:hover {
    background: #f1f5f9;
    color: var(--dark-blue);
}
.filter-pill.active {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}
.secondary-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.filter-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
}
.filter-dropdown label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-blue);
}
.filter-dropdown select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: var(--white);
    font-family: inherit;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    outline: none;
}
.filter-dropdown select:focus {
    border-color: var(--primary-blue);
}
.content-type-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.type-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}
.type-btn:hover {
    color: var(--primary-blue);
    background: #f1f5f9;
}
.type-btn.active {
    color: var(--primary-blue);
    background: #eef2ff;
}

.ai-news-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}
.featured-news-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.featured-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
    border-color: rgba(203, 213, 225, 1);
}
.featured-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.featured-content {
    padding: 40px;
}
.featured-content .category-badge {
    margin-bottom: 15px;
    display: inline-block;
}
.featured-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 15px;
    line-height: 1.3;
}
.featured-content p {
    font-size: 16px;
    color: #475569;
    margin-bottom: 25px;
    line-height: 1.6;
}
.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.author-details {
    display: flex;
    flex-direction: column;
}
.author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-blue);
}
.publish-date {
    font-size: 12px;
    color: #64748b;
}
.article-stats {
    display: flex;
    gap: 15px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}
.article-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: var(--white);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.action-btn:hover {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    background: #f1f5f9;
}
.read-more-btn {
    padding: 8px 20px;
    font-size: 14px;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.news-list-item {
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.news-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(10, 26, 92, 0.12);
    border-color: rgba(203, 213, 225, 0.8);
}
.news-list-item .img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.news-list-item .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-list-item:hover .img-wrapper img {
    transform: scale(1.05);
}
.news-list-item .category-badge.small {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 11px;
    padding: 4px 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: rgba(59, 131, 246, 0.5); /* Transparent blue */
    color: #ffffff;
    font-weight: 700;
    border-radius: 10px;
}
.news-list-item .item-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-list-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 10px;
    line-height: 1.4;
}
.news-list-item p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-list-item .item-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 15px;
    margin-top: auto;
}
.news-list-item .item-meta .author {
    font-weight: 600;
    color: var(--dark-blue);
}
.news-list-item .item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}
.news-list-item .stats {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #94a3b8;
}
.news-list-item .actions {
    display: flex;
    gap: 8px;
}
.news-list-item .icon-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s;
}
.news-list-item .icon-btn:hover {
    color: var(--primary-blue);
}

.pagination-wrapper {
    text-align: center;
    margin-bottom: 40px;
}
.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    font-size: 16px;
}
.ai-news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 30px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
}
.sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--purple) 100%);
}
.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}
.compact-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.compact-news-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.compact-news-list .rank {
    font-size: 24px;
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1;
}
.compact-info a {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-blue);
    line-height: 1.4;
    display: block;
    margin-bottom: 5px;
    transition: color 0.2s;
}
.compact-info a:hover {
    color: var(--primary-blue);
}
.compact-info .time {
    font-size: 12px;
    color: #94a3b8;
}
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
}
.tag:hover {
    background: var(--primary-blue);
    color: var(--white);
}
.mini-newsletter-widget {
    background: linear-gradient(145deg, #0a1a5c 0%, #1239b6 60%, #1b58db 100%);
    border: none;
    color: #fff;
}
.mini-newsletter-widget::before {
    display: none;
}
.mini-newsletter-widget .widget-title {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mini-newsletter-widget p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 15px;
}
.mini-newsletter-widget form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mini-newsletter-widget input {
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}
.mini-newsletter-widget input:focus {
    border-color: var(--primary-blue);
}
.ad-widget {
    text-align: center;
    background: #f8fafc;
}
.ad-label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.ad-placeholder {
    width: 100%;
    height: 250px;
    background: #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    border-radius: 8px;
    font-weight: 600;
}
.ad-placeholder .small {
    font-size: 12px;
    font-weight: 400;
    margin-top: 5px;
}

/* AI News page responsive styles are in css/responsive.css */

/* ============================================================
   LIGHT NAVBAR  (matches the reference "AI NewsBlog" design)
   ============================================================ */
.navbar--light {
    background: #fafafa;
    border-bottom: 1px solid #e8eaef;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    height: 72px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

/* Brand in light mode */
.brand--light .brand-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon--light {
    width: auto;
    height: 36px;
    display: flex;
    align-items: center;
}

.logo-icon--light img {
    height: 34px;
    width: auto;
    border-radius: 4px;
    display: block;
    filter: none; /* show the original colour */
}

.brand--light .brand-name--light,
.brand--light h1,
.brand-name--light {
    font-size: 25px;
    font-weight: 600;
    font-style: italic;
    color: #0f172a !important;
    letter-spacing: -0.3px;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
    top: 8px;
}
.brand--light .brand-name--light span,
.brand--light h1 span,
.brand-name--light span {
    color: #0f172a !important;
    font-weight: 700;
    margin-right: 3px;
}

@media (max-width: 576px) {
    .logo-icon--light img {
        height: 28px;
    }
    .brand--light .brand-name--light,
    .brand--light h1,
    .brand-name--light {
        font-size: 16px;
    }
}

/* Pill nav container (Desktop only) */
@media (min-width: 993px) {
    .nav-center--pill {
        background: #f1f3f8;
        border-radius: 50px;
        padding: 6px 8px;
    }

    .nav-center--pill ul {
        gap: 2px;
    }

    .nav-center--pill a {
        color: #374151;
        font-weight: 500;
        font-size: 14px;
        padding: 8px 18px;
        border-radius: 50px;
        transition: background .2s, color .2s;
    }

    .nav-center--pill a:hover,
    .nav-center--pill a.active {
        background: #ffffff;
        color: #0f172a;
        box-shadow: 0 1px 6px rgba(0,0,0,.12);
    }
}

/* "Join Newsletter" CTA button */
.btn-join-newsletter {
    background: #0f172a;
    color: #fff;
    padding: 11px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: background .25s, transform .2s, box-shadow .2s;
    white-space: nowrap;
}

.btn-join-newsletter:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15,23,42,.2);
}

/* Hamburger in light mode */
.hamburger-btn--light .bar {
    background: #0f172a;
}

/* ============================================================
   MAGAZINE HERO  — 3-column layout
   ============================================================ */
.magazine-hero {
    display: grid;
    grid-template-columns: 210px 1fr 220px;
    gap: 16px;
    min-height: 520px;
    margin-bottom: 20px;
    align-items: stretch;
}

/* ── LEFT & RIGHT aside ── */
.mh-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Side article cards ── */
.mh-side-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
    min-height: 220px;
    text-decoration: none;
    cursor: pointer;
    transition: transform .35s ease, box-shadow .35s ease;
}

.mh-side-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

/* Full-cover background image */
.mh-side-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Dark gradient overlay */
.mh-side-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8,20,60,.1) 0%,
        rgba(8,20,60,.5) 50%,
        rgba(5,10,35,.92) 100%
    );
    z-index: 1;
}

/* Badge row */
.mh-side-badges {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding: 14px 14px 0;
}

.mh-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: .3px;
}

.mh-badge--glass {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
}

.mh-badge--time {
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.9);
}

/* Card body text */
.mh-side-body {
    position: relative;
    z-index: 2;
    padding: 10px 14px 40px;
}

.mh-side-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* Arrow button (bottom-right) */
.mh-side-arrow {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 3;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,.3);
    transition: background .25s, transform .2s;
    overflow: hidden;
}

.mh-author-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.mh-side-card:hover .mh-side-arrow {
    background: rgba(255,255,255,.35);
}

.mh-side-card:hover .mh-side-arrow i {
    transform: rotate(45deg);
}

.mh-side-arrow i {
    transition: transform .2s ease;
}

/* ── CENTER hero feature ── */
.mh-center {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mh-hero-img-wrap {
    position: relative;
    flex: 1;
    min-height: 320px;
    border-radius: 20px;
    overflow: hidden;
}

.dn-slide {
    height: 100% !important;
    border-radius: 20px;
    overflow: hidden;
}

.mh-hero-img {
    width: 100%;
    height: 340px;
    background-size: cover;
    background-position: center;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.mh-hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.35) 100%);
    border-radius: inherit;
}

/* Caption below the image (white section) */
.mh-hero-caption {
    background: #fff;
    padding: 22px 24px 24px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

.mh-hero-caption h2 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 14px;
}

.mh-hero-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mh-hero-avatars {
    display: flex;
}

.mh-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    margin-left: -8px;
}

.mh-avatar:first-child {
    margin-left: 0;
}

.mh-hero-meta p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

/* Slider dots inside center */
.mh-slider-dots {
    position: absolute;
    bottom: 80px; /* above caption */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.mh-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    transition: background .25s, transform .2s;
    display: block;
}

.mh-dot.active {
    background: #fff;
    transform: scale(1.4);
}

/* ── RIGHT info panel ── */
.mh-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mh-right-desc {
    font-size: 14px;
    color: #374151;
    line-height: 1.7;
    padding-top: 4px;
}

.mh-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* "Read More" button */
.mh-btn-read {
    background: #0f172a;
    color: #fff;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s, transform .2s;
    white-space: nowrap;
}

.mh-btn-read:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

/* Social icon row */
.mh-socials {
    display: flex;
    gap: 8px;
}

.mh-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    font-size: 13px;
    text-decoration: none;
    transition: border-color .2s, color .2s, transform .2s;
}

.mh-social-icon:hover {
    border-color: #0f172a;
    color: #0f172a;
    transform: translateY(-2px);
}

/* Right side card (fills remaining height) */
.mh-right-card {
    flex: 1;
    min-height: 200px;
}

/* ============================================================
   TRENDING CHIP BAR  (below the magazine hero)
   ============================================================ */
.mh-trending-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 18px rgba(0,0,0,.07);
    padding: 10px 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.mh-trending-label {
    font-size: 13px;
    font-weight: 700;
    color: #ef4444;
    white-space: nowrap;
    padding-right: 18px;
    border-right: 1.5px solid #e5e7eb;
    margin-right: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mh-trending-track-wrap {
    flex: 1;
    overflow: hidden;
}

.mh-trending-track {
    display: flex;
    gap: 12px;
    animation: trendScroll 35s linear infinite;
}

.mh-trending-track:hover {
    animation-play-state: paused;
}

@keyframes trendScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.mh-trend-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border-radius: 50px;
    padding: 6px 14px 6px 6px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}

.mh-trend-chip:hover {
    background: #1e40af;
    color: #fff;
}

.mh-trend-chip-img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

/* ============================================================
   HOME PAGE REDESIGNED SECTIONS
   ============================================================ */

/* ── Shared hp-row layout ── */
.hp-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: stretch;
}

/* ── Shared panel tokens ── */
.hp-panel-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--purple);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hp-panel-label::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 2px;
    background: var(--purple);
    border-radius: 2px;
}
.hp-panel-label--light {
    color: rgba(99, 99, 99, 0.658);
}
.hp-panel-label--light::before {
    background: rgba(110, 110, 110, 0.384);
}

.hp-panel-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 6px;
    line-height: 1.2;
}
.hp-panel-sub {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}
.hp-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 16px;
}

/* Dark pill button (shared) */
.hp-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--dark-blue);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}
.hp-btn-dark:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

/* ── Row 1: Categories + Newsletter ── */
.hp-row--cat-news {
    align-items: stretch;
}
.hp-categories-panel {
    flex: 1 1 62%;
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    padding: 28px 28px 24px;
}
.hp-newsletter-panel {
    flex: 1 1 35%;
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    color: #000 !important;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

/* Category image cards grid */
.hp-cat-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;

    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    padding: 6px 2px 14px;

    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

    /* Horizontal scrollbar styling */
}

@supports not selector(::-webkit-scrollbar) {
    .hp-cat-grid {
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }
}

.hp-cat-grid::-webkit-scrollbar {
    height: 6px;
}

.hp-cat-grid::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 999px;
    margin: 0 4px;
}

.hp-cat-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.hp-cat-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue, #1d4ed8);
}

.hp-cat-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    flex: 0 0 160px;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
}
.hp-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.hp-cat-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hp-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,15,50,.1) 0%, rgba(5,15,50,.55) 50%, rgba(3,8,30,.93) 100%);
    z-index: 1;
}
.hp-cat-body {
    position: relative;
    z-index: 2;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #fff;
}
.hp-cat-tag {
    font-size: 10px;
    font-weight: 700;
    background: rgba(108, 76, 255, 0.85);
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
    letter-spacing: .5px;
    width: fit-content;
}
.hp-cat-body strong {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}
.hp-cat-count {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    gap: 5px;
}
.hp-cat-arrow {
    margin-left: auto;
    font-size: 10px;
}

.hp-cat-card--more {
    background: var(--dark-blue);
    justify-content: center;
    align-items: center;
}
.hp-cat-card--more:hover {
    background: var(--primary-blue);
}
.hp-cat-more-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
.hp-cat-more-content i {
    font-size: 24px;
    background: rgba(255,255,255,0.1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 5px;
    transition: transform .3s ease;
}
.hp-cat-card--more:hover .hp-cat-more-content i {
    transform: translateX(5px);
}

/* Newsletter panel inner */
.hp-nl-body {
    padding: 28px 24px 20px;
    position: relative;
    z-index: 2;
    flex: 1;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}
.hp-nl-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 8px;
}
.hp-nl-sub {
    font-size: 13px;
    color: #09122c;
    margin-bottom: 20px;
    line-height: 1.6;
}
.hp-nl-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.hp-nl-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(139, 158, 187, 0.5);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 12px 16px;
    backdrop-filter: blur(8px);
}
.hp-nl-input-wrap i {
    color: rgba(10, 10, 10, 0.6);
    font-size: 14px;
    flex-shrink: 0;
}
.hp-nl-input-wrap input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #000000;
    font-size: 14px;
    font-family: inherit;
}
.hp-nl-input-wrap input::placeholder {
    color: rgba(255, 253, 253, 0.918);
}
.hp-nl-btn {
    background: #fff;
    color: var(--dark-blue);
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}
.hp-nl-btn:hover {
    background: var(--yellow);
    transform: translateY(-2px);
}
.hp-nl-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none !important;
}

/* Dynamic subscribe input states */
.hp-nl-input-wrap {
    position: relative;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.hp-nl-input-wrap:focus-within {
    border-color: rgb(247, 223, 15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.18);
}
.hp-nl-input-wrap.is-valid {
    border-color: rgba(74, 222, 128, 0.7);
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}
.hp-nl-input-wrap.is-invalid {
    border-color: rgba(248, 113, 113, 0.7);
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}
.nl-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 13px;
    flex-shrink: 0;
    transition: all .2s ease;
}
.hp-nl-feedback {
    display: none;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 10px;
    line-height: 1.45;
    animation: nlFadeIn .25s ease forwards;
}
.hp-nl-feedback.show {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hp-nl-feedback.success {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border: 1px solid rgba(74, 222, 128, 0.35);
}
.hp-nl-feedback.error {
    background: rgba(239, 68, 68, 0.22);
    color: #fca5a5;
    border: 1px solid rgba(248, 113, 113, 0.35);
}
@keyframes nlFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes nlShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
.hp-nl-form.shake {
    animation: nlShake .4s ease;
}
.hp-nl-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.hp-nl-pill {
    display: flex;
    align-items: center;
    padding: 0 12px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.12);
    cursor: default;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.hp-nl-pill:hover {
    padding: 0 20px 0 12px;
    background: rgba(255,255,255,0.15);
}
.hp-nl-pill > i {
    font-size: 16px;
    color: var(--yellow);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hp-nl-pill div {
    display: flex;
    flex-direction: column;
    gap: 1px;
    max-width: 0;
    opacity: 0;
    margin-left: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.hp-nl-pill:hover div {
    max-width: 160px;
    opacity: 1;
    margin-left: 10px;
}
.hp-nl-pill strong {
    font-size: 13px;
    color: #fff;
}
.hp-nl-pill span {
    font-size: 11px;
    color: rgba(255,255,255,.55);
}
.hp-nl-img-decor {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60%;
    overflow: hidden;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}
.hp-nl-decor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(1.5) contrast(1.2);
}

/* ── Row 2: Events + FAQ ── */
.hp-row--events-faq {
    align-items: stretch;
}
.hp-events-panel,
.hp-faq-panel {
    flex: 1 1 48%;
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    padding: 28px;
}

/* Events list */
.hp-events-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.hp-event-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: var(--transition);
}
.hp-event-item:last-child { border-bottom: none; }
.hp-event-item:hover { background: #f8fafc; border-radius: 12px; padding-left: 8px; }

.hp-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 56px;
    background: var(--dark-blue);
    border-radius: 10px;
    color: #fff;
    flex-shrink: 0;
}
.hp-event-day {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}
.hp-event-month {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.75;
    text-transform: uppercase;
}
.hp-event-img {
    width: 64px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.hp-event-info {
    flex: 1;
    min-width: 0;
}
.hp-event-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hp-event-info p {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hp-event-info p + p { margin-top: 2px; }
.hp-event-info p i { color: var(--primary-blue); font-size: 11px; flex-shrink: 0; }

.hp-event-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: transparent;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}
.hp-event-arrow:hover {
    background: var(--dark-blue);
    color: #fff;
    border-color: var(--dark-blue);
}

/* FAQ in side-by-side panel */
.hp-faq-panel .faq-container {
    gap: 8px;
}
.hp-faq-panel .faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
.hp-faq-panel .faq-question {
    padding: 14px 16px;
    font-size: 14px;
    background: #f8fafc;
}
.hp-faq-panel .faq-question i {
    font-size: 12px;
    transition: transform .3s;
}
.hp-faq-panel .faq-item.active .faq-question i {
    transform: rotate(45deg);
}
.hp-faq-panel .faq-answer p {
    padding: 12px 16px;
    font-size: 13px;
}

/* ── Contact Banner ── */
.hp-contact-banner {
    position: relative;
    background: linear-gradient(135deg, #061040 0%, #0d2058 40%, #102880 100%);
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    margin-bottom: 0;
    padding: 40px 24px;
}
.hp-contact-decor {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 260px;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    pointer-events: none;
}
.hp-contact-decor--left {
    left: 0;
    background: radial-gradient(ellipse at left, rgba(108,76,255,0.6) 0%, transparent 70%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.3)" stroke-width="0.5"/><circle cx="50" cy="20" r="40" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="0.5"/></svg>');
}
.hp-contact-decor--right {
    right: 0;
    background: radial-gradient(ellipse at right, rgba(29,78,216,0.5) 0%, transparent 70%);
}
.hp-contact-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
}
.hp-contact-text {
    flex: 0 0 auto;
    max-width: 260px;
}
.hp-contact-text h2 {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.hp-contact-text p {
    font-size: 13px;
    color: rgba(255,255,255,.65);
    line-height: 1.6;
}
.hp-contact-items {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: center;
}
.hp-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}
.hp-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.hp-contact-item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
}
.hp-contact-item span {
    font-size: 11px;
    color: rgba(255,255,255,.55);
}
.hp-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--dark-blue);
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    flex-shrink: 0;
    transition: var(--transition);
    white-space: nowrap;
}
.hp-contact-btn:hover {
    background: var(--yellow);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,214,51,.3);
}

/* ============================================================
   ALL AI NEWS PORTAL — MODERN EDITORIAL ENHANCEMENTS
   ============================================================ */

.ai-news-portal-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 36px 24px 60px;
}

/* Page Intro Header */
.ai-portal-hero {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 36px;
    position: relative;
}

.ai-portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(22, 189, 235, 0.12);
    color: #0284c7;
    border: 1px solid rgba(22, 189, 235, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ai-portal-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #10182d;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.ai-portal-hero p {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Smart Search & Filter Card */
.ai-discovery-panel {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 4px 24px rgba(16, 24, 45, 0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 40px;
}

.ai-search-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: center;
}

.ai-search-input-wrap {
    position: relative;
    flex: 1;
}

.ai-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
}

.ai-search-input {
    width: 100%;
    height: 50px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 0 46px 0 48px;
    font-size: 15px;
    font-family: inherit;
    color: #10182d;
    outline: none;
    transition: all 0.25s ease;
}

.ai-search-input:focus {
    background: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}

.ai-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: #e2e8f0;
    color: #475569;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.ai-search-clear:hover {
    background: #cbd5e1;
    color: #0f172a;
}

/* Category Filter Chips */
.ai-categories-container {
    position: relative;
    margin-bottom: 16px;
    width: 100%;
    min-width: 0;
}

.ai-filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
}

@supports not selector(::-webkit-scrollbar) {
    .ai-filter-chips {
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }
}

.ai-filter-chips::-webkit-scrollbar {
    height: 5px;
}

.ai-filter-chips::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 999px;
    margin: 0 4px;
}

.ai-filter-chips::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.ai-filter-chips::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue, #1d4ed8);
}

.ai-category-chip {
    flex-shrink: 0;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.ai-category-chip:hover {
    background: #f1f5f9;
    color: #10182d;
    border-color: #cbd5e1;
}

.ai-category-chip.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.2);
}

/* Grid Controls Row: count & sort */
.ai-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 12px;
}

.ai-results-count {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.ai-results-count strong {
    color: #10182d;
    font-weight: 700;
}

.ai-sort-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-sort-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.ai-sort-select {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 7px 14px;
    font-size: 13.5px;
    font-family: inherit;
    color: #10182d;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.ai-sort-select:focus {
    border-color: #0f172a;
}

/* ── Section Headings ── */
.ai-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.ai-section-heading-text h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #10182d;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-section-heading-text p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 0;
}

/* ── Editor's Picks Curated Section ── */
.ai-editors-section {
    margin-bottom: 52px;
}

.ai-editors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ai-editor-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(16, 24, 45, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

.ai-editor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16bdeb, #6c4cff);
    z-index: 3;
}

.ai-editor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(16, 24, 45, 0.12);
}

.ai-editor-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

.ai-editor-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ai-editor-card:hover .ai-editor-img-wrap img {
    transform: scale(1.05);
}

.ai-editor-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #0f172a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    z-index: 2;
}

.ai-editor-pick-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(22, 189, 235, 0.95);
    color: #0f172a;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.ai-editor-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ai-editor-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.ai-editor-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #10182d;
    line-height: 1.4;
    margin-bottom: 12px;
}

.ai-editor-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.ai-editor-title a:hover {
    color: #2563eb;
}

.ai-editor-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ai-editor-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

/* ── Latest Updates Compact Strip ── */
.ai-latest-strip-wrap {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 26px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(16, 24, 45, 0.04);
    margin-bottom: 44px;
}

.ai-latest-strip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.ai-latest-strip-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #10182d;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-latest-strip-header h3 i {
    color: #2563eb;
}

.ai-latest-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ai-latest-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    padding: 8px;
    border-radius: 12px;
    transition: background 0.2s;
}

.ai-latest-item:hover {
    background: #f8fafc;
}

.ai-latest-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e2e8f0;
}

.ai-latest-info {
    flex: 1;
    min-width: 0;
}

.ai-latest-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 3px;
}

.ai-latest-headline {
    font-size: 13px;
    font-weight: 600;
    color: #10182d;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ai-latest-time {
    font-size: 11.5px;
    color: #94a3b8;
}

/* ── Main Article Card Improvements ── */
.news-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 40px;
}

.reading-time-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.item-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #10182d;
    line-height: 1.4;
    margin-bottom: 10px;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.card-title a:hover {
    color: #2563eb;
}

.card-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-views-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 4px 11px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    user-select: none;
}

.card-views-badge i {
    color: #2563eb;
    font-size: 11.5px;
}

.news-list-item:hover .card-views-badge {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.news-list-item:hover .card-views-badge i {
    color: #1d4ed8;
}

.footer-newsletter-feedback {
    font-size: 12px;
    font-weight: 500;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    display: none;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.footer-newsletter-feedback.success {
    display: block;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.footer-newsletter-feedback.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.dest-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dest-badge--internal {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
}

.dest-badge--external {
    background: rgba(2, 132, 199, 0.08);
    color: #0284c7;
}

.btn-card-share {
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 7px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-card-share:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-card-share.copied {
    background: #10b981;
    color: #ffffff;
}

.btn-read-more {
    background: #0f172a;
    color: #ffffff;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, transform 0.2s;
}

.btn-read-more:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-1px);
}

/* ── Pagination / Load More ── */
.ai-load-more-wrap {
    text-align: center;
    margin: 36px 0 60px;
}

.ai-load-more-btn {
    background: #ffffff;
    color: #10182d;
    border: 1.5px solid #cbd5e1;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(16, 24, 45, 0.06);
    transition: all 0.25s ease;
    font-family: inherit;
}

.ai-load-more-btn:hover:not(:disabled) {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
}

.ai-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Stay Ahead of AI Newsletter Section ── */
.ai-newsletter-section {
    background: linear-gradient(135deg, #09122c 0%, #0d1e4e 50%, #152b75 100%);
    border-radius: 24px;
    padding: 56px 40px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(9, 18, 44, 0.18);
    margin-bottom: 60px;
}

.ai-newsletter-decor {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 189, 235, 0.2) 0%, transparent 70%);
    top: -100px;
    right: -80px;
    pointer-events: none;
}

.ai-newsletter-decor-left {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 76, 255, 0.18) 0%, transparent 70%);
    bottom: -80px;
    left: -60px;
    pointer-events: none;
}

.ai-newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.ai-newsletter-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: #38bdf8;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ai-newsletter-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.ai-newsletter-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 28px;
}

.ai-newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto 16px;
}

.ai-newsletter-input {
    flex: 1;
    height: 52px;
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid transparent;
    border-radius: 50px;
    padding: 0 24px;
    font-size: 15px;
    font-family: inherit;
    color: #10182d;
    outline: none;
    transition: all 0.2s;
}

.ai-newsletter-input:focus {
    background: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25);
}

.ai-newsletter-btn {
    background: #38bdf8;
    color: #0f172a;
    border: none;
    padding: 0 28px;
    height: 52px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ai-newsletter-btn:hover:not(:disabled) {
    background: #7dd3fc;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.ai-newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.ai-newsletter-feedback {
    font-size: 13.5px;
    min-height: 22px;
    font-weight: 600;
}

.ai-newsletter-feedback.success {
    color: #34d399;
}

.ai-newsletter-feedback.error {
    color: #f87171;
}

/* ── Share Toast Notification ── */
.ai-share-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0f172a;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-share-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.ai-share-toast i {
    color: #34d399;
}

/* ── Responsive Adaptations ── */
@media (max-width: 1024px) {
    .ai-editors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ai-latest-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ai-portal-hero h1 {
        font-size: 2.1rem;
    }
    .ai-discovery-panel {
        padding: 18px 18px;
    }
    .ai-editors-grid {
        grid-template-columns: 1fr;
    }
    .ai-latest-items-grid {
        grid-template-columns: 1fr;
    }
    .news-list-grid {
        grid-template-columns: 1fr;
    }
    .ai-newsletter-section {
        padding: 40px 24px;
    }
    .ai-newsletter-form {
        flex-direction: column;
    }
    .ai-newsletter-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ═══════════════════════════════════════════════════════════════
   AUTHOR AVATAR — replaces arrow icon inside mh-side-arrow
   ═══════════════════════════════════════════════════════════════ */
.mh-side-arrow {
    width: 38px;
    height: 38px;
    padding: 0;
    overflow: hidden;
}
.mh-author-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.mh-side-card:hover .mh-side-arrow {
    transform: none;
    background: rgba(255,255,255,.28);
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════════ */
.hp-about-section {
    padding: 72px 40px;
    background: #fff;
}
.hp-about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}
.hp-about-lead {
    font-size: 17px;
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.65;
    margin-bottom: 16px;
}
.hp-about-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 28px;
}
.hp-about-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.hp-about-pillar {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f6f8ff;
    border-radius: 14px;
    padding: 16px;
    border: 1px solid #e8ecff;
    transition: box-shadow .2s;
}
.hp-about-pillar:hover {
    box-shadow: 0 6px 20px rgba(62,99,221,.08);
}
.hp-about-pillar > i {
    font-size: 20px;
    color: #3e63dd;
    margin-top: 2px;
    flex-shrink: 0;
}
.hp-about-pillar div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hp-about-pillar strong {
    font-size: 13.5px;
    font-weight: 700;
    color: #1a1a2e;
}
.hp-about-pillar span {
    font-size: 12.5px;
    color: #666;
    line-height: 1.5;
}
.hp-about-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.10);
    background: #1a1a2e;
}
.hp-about-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    opacity: .85;
}
.hp-about-card-body {
    padding: 24px;
}
.hp-about-stat-row {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}
.hp-about-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hp-about-stat strong {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hp-about-stat span {
    font-size: 12px;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.hp-about-card-desc {
    font-size: 13.5px;
    color: rgba(255,255,255,.7);
    line-height: 1.65;
    margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   EVENTS EMPTY STATE
   ═══════════════════════════════════════════════════════════════ */
.hp-events-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 48px 24px;
    text-align: center;
    background: #f6f8ff;
    border-radius: 16px;
    border: 2px dashed #d0d8f0;
}
.hp-events-empty i {
    font-size: 36px;
    color: #a0aac8;
}
.hp-events-empty p {
    font-size: 15px;
    font-weight: 600;
    color: #444;
    margin: 0;
}
.hp-events-empty span {
    font-size: 13px;
    color: #888;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — About section
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .hp-about-inner {
        grid-template-columns: 1fr;
    }
    .hp-about-card {
        max-width: 480px;
    }
    .hp-about-pillars {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .hp-about-section {
        padding: 48px 20px;
    }
    .hp-about-stat strong {
        font-size: 22px;
    }
}
