/* ==========================================================================
   Blog / Insights + FAQ + Legal — Shared & Specific Styles
   Templates: template-blog.php, template-faq.php, template-legal.php
   ========================================================================== */

:root {
    --cnt-primary: var(--ntono-color-primary, #faaa14);
    --cnt-red: #8b0000;
    --cnt-bg: #0B090A;
    --cnt-surface: #161A1D;
}

/* ═════════════════════════════════════════
   BLOG / INSIGHTS
   ═════════════════════════════════════════ */

.ntono-blog-hero {
    padding: 10rem 1.5rem 5rem;
    text-align: center;
    background: var(--cnt-bg);
}

.ntono-blog-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
}

.ntono-blog-hero__title .ntono-cs-text-primary {
    color: var(--cnt-primary);
    font-style: italic;
}

.ntono-blog-hero__desc {
    max-width: 640px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Featured Post */
.ntono-blog-featured {
    padding: 3rem 1.5rem;
    background: var(--cnt-bg);
}

.ntono-blog-featured__container {
    max-width: 1280px;
    margin: 0 auto;
}

.ntono-blog-featured__card {
    display: flex;
    flex-direction: row;
    background: var(--cnt-surface);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.ntono-blog-featured__card:hover {
    transform: scale(1.01);
}

.ntono-blog-featured__image-wrap {
    width: 60%;
    overflow: hidden;
}

.ntono-blog-featured__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.ntono-blog-featured__card:hover .ntono-blog-featured__image {
    transform: scale(1.05);
}

.ntono-blog-featured__content {
    width: 40%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ntono-blog-featured__badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--cnt-red);
    color: #fff;
    border-radius: 9999px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    width: max-content;
}

.ntono-blog-featured__title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.ntono-blog-featured__excerpt {
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.ntono-blog-featured__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cnt-primary);
    font-weight: 700;
    text-decoration: none;
}

.ntono-blog-featured__link:hover .material-icons {
    transform: translateX(4px);
}

.ntono-blog-featured__link .material-icons {
    transition: transform 0.3s ease;
}

/* Grid */
.ntono-blog-grid {
    padding: 5rem 1.5rem;
    background: var(--cnt-bg);
}

.ntono-blog-grid__container {
    max-width: 1280px;
    margin: 0 auto;
}

.ntono-blog-grid__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.ntono-blog-grid__tag {
    display: block;
    color: var(--cnt-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
}

.ntono-blog-grid__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.ntono-blog-grid__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ntono-blog-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.ntono-blog-card__image-wrap {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.ntono-blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.5s ease;
}

.ntono-blog-card:hover .ntono-blog-card__image {
    filter: grayscale(0);
}

.ntono-blog-card__cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(11, 9, 10, 0.8);
    backdrop-filter: blur(8px);
    padding: 0.2rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
}

.ntono-blog-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.ntono-blog-card:hover .ntono-blog-card__title {
    color: var(--cnt-primary);
}

/* Blog CTA */
.ntono-blog-cta {
    padding: 6rem 1.5rem;
    background: var(--cnt-bg);
}

.ntono-blog-cta__container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--cnt-red), var(--cnt-bg));
    padding: 1px;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.ntono-blog-cta__inner {
    background: var(--cnt-bg);
    border-radius: 11px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ntono-blog-cta__glow-1 {
    position: absolute;
    top: -6rem;
    right: -6rem;
    width: 16rem;
    height: 16rem;
    background: rgba(139, 0, 0, 0.2);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.ntono-blog-cta__glow-2 {
    position: absolute;
    bottom: -6rem;
    left: -6rem;
    width: 16rem;
    height: 16rem;
    background: rgba(250, 170, 20, 0.1);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.ntono-blog-cta__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.ntono-blog-cta__desc {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
}


/* ═════════════════════════════════════════
   FAQ
   ═════════════════════════════════════════ */

.ntono-faq-hero {
    padding: 8rem 1.5rem 4rem;
    text-align: center;
    background: var(--cnt-bg);
}

.ntono-faq-hero__tag {
    display: block;
    color: var(--cnt-primary);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.7rem;
    margin-bottom: 1rem;
}

.ntono-faq-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.ntono-faq-hero__title .ntono-cs-text-primary {
    color: var(--cnt-primary);
    font-style: italic;
}

.ntono-faq-hero__desc {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.1rem;
    max-width: 360px;
    margin: 0 auto;
}

/* Tabs */
.ntono-faq-tabs {
    position: sticky;
    top: 80px;
    z-index: 40;
    background: rgba(11, 9, 10, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ntono-faq-tabs__inner {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 1.5rem;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.ntono-faq-tabs__inner::-webkit-scrollbar {
    display: none;
}

.ntono-faq-tab-btn {
    white-space: nowrap;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0;
    cursor: pointer;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.ntono-faq-tab-btn:hover {
    color: #fff;
}

.ntono-faq-tab-btn.active {
    color: var(--cnt-primary);
    border-bottom-color: var(--cnt-primary);
    font-weight: 600;
}

/* Accordion */
.ntono-faq-accordion {
    max-width: 768px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    background: var(--cnt-bg);
}

.ntono-faq-category {
    display: none;
}

.ntono-faq-category.active {
    display: block;
}

.ntono-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.ntono-faq-item__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    padding: 1rem 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.ntono-faq-item__btn:hover {
    color: var(--cnt-primary);
}

.ntono-faq-item__btn .material-icons {
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.ntono-faq-item.open .ntono-faq-item__btn .material-icons {
    transform: rotate(180deg);
    color: var(--cnt-primary);
}

.ntono-faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    font-size: 1rem;
}

.ntono-faq-item.open .ntono-faq-item__answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

/* FAQ CTA */
.ntono-faq-cta {
    padding: 5rem 1.5rem;
    background: var(--cnt-bg);
    position: relative;
    overflow: hidden;
}

.ntono-faq-cta__glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    width: 600px;
    height: 300px;
    background: rgba(102, 7, 8, 0.1);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.ntono-faq-cta__container {
    max-width: 560px;
    margin: 0 auto;
    background: var(--cnt-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ntono-faq-cta__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.ntono-faq-cta__desc {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.ntono-faq-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    background: var(--cnt-primary);
    color: var(--cnt-bg);
    padding: 1rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ntono-faq-cta__btn:hover {
    transform: scale(1.02);
}

.ntono-faq-cta__note {
    margin-top: 1rem;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
}


/* ═════════════════════════════════════════
   LEGAL
   ═════════════════════════════════════════ */

.ntono-legal-hero {
    padding: 8rem 1.5rem 3rem;
    background: var(--cnt-bg);
}

.ntono-legal-hero__container {
    max-width: 1280px;
    margin: 0 auto;
}

.ntono-legal-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(250, 170, 20, 0.1);
    border: 1px solid rgba(250, 170, 20, 0.2);
    margin-bottom: 1.5rem;
}

.ntono-legal-hero__tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cnt-primary);
}

.ntono-legal-hero__tag-text {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--cnt-primary);
}

.ntono-legal-hero__title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.ntono-legal-hero__subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
}

/* Navigation */
.ntono-legal-nav {
    position: sticky;
    top: 80px;
    z-index: 40;
    background: rgba(11, 9, 10, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.ntono-legal-nav::-webkit-scrollbar {
    display: none;
}

.ntono-legal-nav__inner {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 500;
}

.ntono-legal-nav__link {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.ntono-legal-nav__link:hover,
.ntono-legal-nav__link.active {
    color: var(--cnt-primary);
    border-bottom-color: var(--cnt-primary);
}

/* Content */
.ntono-legal-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    background: var(--cnt-bg);
}

.ntono-legal-section {
    scroll-margin-top: 140px;
    margin-bottom: 4rem;
}

.ntono-legal-section__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ntono-legal-section__number {
    color: var(--cnt-primary);
    font-family: monospace;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    font-weight: 700;
}

.ntono-legal-section__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.ntono-legal-section__divider {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* Legal WYSIWYG */
.ntono-legal-section__body {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.ntono-legal-section__body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ntono-legal-section__body p {
    margin-bottom: 1rem;
}

.ntono-legal-section__body ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.ntono-legal-section__body li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
}

.ntono-legal-section__body blockquote {
    border-left: 2px solid var(--cnt-primary);
    background: rgba(250, 170, 20, 0.05);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}


/* ═════════════════════════════════════════
   Responsive
   ═════════════════════════════════════════ */

@media (max-width: 768px) {
    .ntono-blog-featured__card {
        flex-direction: column;
    }

    .ntono-blog-featured__image-wrap,
    .ntono-blog-featured__content {
        width: 100%;
    }

    .ntono-blog-grid__cards {
        grid-template-columns: 1fr;
    }

    .ntono-blog-cta__inner {
        padding: 3rem 1.5rem;
    }
}