/*
Theme Name: NoScriptNeeded
Theme URI: https://noscriptneeded.com
Author: Custom Theme Builder
Description: A premium, cinematic, dark-themed WordPress theme for the entertainment media platform NoScriptNeeded. Features custom post types, dark mode, and a modern streaming platform aesthetic.
Version: 1.1.5
License: GNU General Public License v2 or later
Text Domain: noscriptneeded
*/

:root {
    /* Red, White & Black Editorial Theme Variables */
    --bg-color: #ffffff;
    --surface-color: #f4f4f4;
    --surface-color-hover: #eeeeee;
    --text-main: #000000;
    --text-muted: #555555;
    --accent-color: #c92a2a; /* Signature Red */
    --accent-hover: #a61e1e;
    --border-color: #dddddd;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: Verdana, Geneva, sans-serif;

    /* Spacing & Layout */
    --container-width: 1550px;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --border-radius: 8px;
    --transition-speed: 0.2s ease;
}

/* Base Reset - Required constraints */
html, body {
    box-sizing: border-box;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

*, *:before, *:after {
    box-sizing: inherit;
}

/* Headings Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    margin-top: 0;
    color: var(--text-main);
    line-height: 1.2;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 404 page */
.error-404-title {
    font-family: var(--font-heading);
    font-size: 80px;
}

.error-404-text {
    font-size: 20px;
}

.error-404-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.error-404-link:hover {
    background: var(--accent-hover);
    color: #fff;
}
/* =========================================================
   Newsletter Page
   ========================================================= */

.newsletter-page {
    width: 100%;
    background: var(--bg-color);
    color: var(--text-main);
}

.newsletter-page .newsletter-hero {
    position: relative;
    padding: 90px 24px 85px;
    border-top: 3px solid var(--accent-color);
    background:
        linear-gradient(to bottom, rgba(244, 244, 244, 0.9), rgba(255, 255, 255, 1));
}

.newsletter-hero-inner {
    width: min(100%, 1180px);
    margin: 0 auto;
    text-align: center;
}

.newsletter-kicker {
    margin: 0 0 18px;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.newsletter-hero h1 {
    max-width: 1050px;
    margin: 0 auto 24px;
    font-family: var(--font-heading);
    font-size: clamp(42px, 5.5vw, 78px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.newsletter-hero h1 span {
    color: var(--accent-color);
}

.newsletter-intro {
    max-width: 780px;
    margin: 0 auto 42px;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
}

.newsletter-signup-card {
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 38px 42px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-color);
    border-radius: var(--border-radius);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
    text-align: left;
}

.newsletter-signup-card form {
    margin: 0;
}

.newsletter-signup-card label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
}

.newsletter-signup-card input[type="email"],
.newsletter-signup-card input[type="text"] {
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid #cfcfcf;
    border-radius: 5px;
    background: #fff;
    color: var(--text-main);
    font: inherit;
    font-size: 16px;
}

.newsletter-signup-card input:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 1px;
}

.newsletter-signup-card input[type="submit"],
.newsletter-signup-card button[type="submit"] {
    display: inline-block;
    min-height: 48px;
    margin-top: 16px;
    padding: 11px 28px;
    border: 0;
    border-radius: 5px;
    background: var(--accent-color);
    color: #fff;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.newsletter-signup-card input[type="submit"]:hover,
.newsletter-signup-card button[type="submit"]:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

.newsletter-trust {
    margin: 20px 0 0;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 700;
}

.newsletter-legal {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.6;
}

.newsletter-legal a {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.newsletter-content-section {
    width: min(100%, var(--container-width));
    margin: 0 auto;
    padding: 90px 24px;
}

.newsletter-section-heading {
    max-width: 850px;
    margin-bottom: 48px;
}

.newsletter-section-heading h2,
.newsletter-editorial-copy h2,
.newsletter-bottom-signup h2 {
    margin-bottom: 18px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.newsletter-section-heading > p:last-child {
    max-width: 760px;
    margin: 0;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

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

.newsletter-category-card {
    min-height: 270px;
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: #fff;
    transition: background-color var(--transition-speed), transform var(--transition-speed), border-color var(--transition-speed);
}

.newsletter-category-card:hover {
    background: var(--surface-color);
    border-color: #c5c5c5;
    transform: translateY(-3px);
}

.newsletter-category-number {
    display: block;
    margin-bottom: 42px;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.newsletter-category-card h3 {
    margin-bottom: 12px;
    font-size: 25px;
}

.newsletter-category-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
}

.newsletter-editorial-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: center;
    gap: 60px;
    width: min(100%, var(--container-width));
    margin: 0 auto;
    padding: 80px 24px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.newsletter-editorial-copy {
    max-width: 780px;
}

.newsletter-editorial-copy > p:not(.newsletter-kicker) {
    max-width: 680px;
    margin: 0 0 28px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.newsletter-back-to-signup {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
}

.newsletter-back-to-signup:hover {
    color: var(--accent-hover);
}

.newsletter-editorial-mark {
    justify-self: end;
    color: transparent;
    -webkit-text-stroke: 2px var(--accent-color);
    font-family: var(--font-heading);
    font-size: clamp(100px, 15vw, 220px);
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: -0.08em;
    user-select: none;
}

.newsletter-bottom-signup {
    width: min(100%, 900px);
    margin: 0 auto;
    padding: 90px 24px 100px;
    text-align: center;
}

.newsletter-bottom-signup > p:not(.newsletter-kicker) {
    max-width: 620px;
    margin: 0 auto 28px;
    color: var(--text-muted);
    font-size: 17px;
}

.newsletter-top-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
}

.newsletter-top-link:hover {
    color: var(--accent-color);
}

@media (max-width: 1000px) {
    .newsletter-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-editorial-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .newsletter-editorial-mark {
        justify-self: start;
        font-size: 120px;
    }
}

@media (max-width: 640px) {
    .newsletter-page .newsletter-hero {
        padding: 65px 18px 60px;
    }

    .newsletter-hero h1 {
        font-size: clamp(36px, 11vw, 52px);
    }

    .newsletter-intro {
        margin-bottom: 30px;
        font-size: 16px;
    }

    .newsletter-signup-card {
        padding: 28px 22px;
    }

    .newsletter-content-section {
        padding: 65px 18px;
    }

    .newsletter-category-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-category-card {
        min-height: auto;
    }

    .newsletter-category-number {
        margin-bottom: 25px;
    }

    .newsletter-editorial-section {
        padding: 60px 18px;
    }

    .newsletter-editorial-mark {
        font-size: 90px;
    }

    .newsletter-bottom-signup {
        padding: 65px 18px 75px;
    }
}
