@charset "UTF-8";
/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --aged-newsprint: #f4f1ea;
    --aged-newsprint-darker: #e8e3d8;
    --faded-ink: #1a1a1b;
    --oxblood-red: #8b0000;
    --font-masthead: 'Playfair Display', serif;
    --font-body: 'Playfair Display', serif;
    --font-teleprinter: 'Special Elite', monospace;
    --font-handwriting: 'Nothing You Could Do', cursive;
    --font-ad: 'Cinzel', serif;
}

html {
    scroll-behavior: smooth;
}

body.page {
    background-color: var(--aged-newsprint);
    color: var(--faded-ink);
    font-family: var(--font-body);
    line-height: 1.6;
    position: relative;
    /* Parchment texture via CSS radial gradients */
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(139, 69, 19, 0.04) 0%, transparent 80%);
}

/* Add a subtle dark vignette around the edges for an aged look */
.page__vignette {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    z-index: 999;
}

/* Ink bleed effect */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li {
    text-shadow: 0px 0px 0.5px rgba(26, 26, 27, 0.4);
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.italic {
    font-style: italic;
}

.text-up {
    color: #2e7d32;
    font-weight: bold;
}

.text-down {
    color: var(--oxblood-red);
    font-weight: bold;
}

.mt-2 {
    margin-top: 2rem;
}

.paragraph {
    hyphens: auto;
    font-size: 1.05rem;
}

/* Drop Cap */
.drop-cap::first-letter {
    font-family: var(--font-masthead);
    font-size: 5rem;
    float: left;
    line-height: 0.7;
    padding-right: 10px;
    padding-top: 8px;
    color: var(--faded-ink);
}

/* Vintage Image Filter */
.vintage-image {
    width: 100%;
    height: auto;
    display: block;
    filter: sepia(0.7) grayscale(0.8) contrast(1.3) brightness(0.85);
    mix-blend-mode: multiply;
    /* Blends the image into the parchment background */
    border: 3px double var(--faded-ink) !important;
    padding: 4px !important;
    background: var(--aged-newsprint-darker) !important;
}

/* Dividers */
.ornate-divider {
    text-align: center;
    font-size: 2.5rem;
    margin: 2rem 0;
    color: var(--faded-ink);
    opacity: 0.8;
    letter-spacing: 10px;
}

.heavy-divider {
    border-top: 6px solid var(--faded-ink);
    border-bottom: 2px solid var(--faded-ink);
    height: 4px;
    margin: 3rem 0;
}

.section-title {
    font-family: var(--font-ad);
    font-size: 2.5rem;
    text-align: center;
    border-bottom: 3px double var(--faded-ink);
    border-top: 1px solid var(--faded-ink);
    padding: 10px 0;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight:600;
}

/* Ticker (Breaking News) */
.ticker {
    background-color: var(--faded-ink);
    color: var(--aged-newsprint);
    font-family: var(--font-teleprinter);
    padding: 6px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-bottom: 3px solid var(--oxblood-red);
}

.ticker__track {
    display: inline-block;
    animation: ticker-scroll 40s linear infinite;
}

.ticker__text {
    padding-right: 50px;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Header */
.header {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.header__top-bar {
    display: flex;
    justify-content: space-between;
    border-bottom: 3px solid var(--faded-ink);
    border-top: 3px solid var(--faded-ink);
    padding: 8px 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.header__masthead {
    text-align: center;
    padding: 3rem 0 2rem;
    border-bottom: 6px double var(--faded-ink);
    position: relative;
}

.header__badge {
    position: absolute;
    top: 2rem;
    left: 0;
    border: 2px solid var(--oxblood-red);
    padding: 10px;
    transform: rotate(-10deg);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 3px var(--aged-newsprint), inset 0 0 0 4px var(--oxblood-red);
}

.header__badge-text {
    font-family: var(--font-ad);
    color: var(--oxblood-red);
    font-weight: 900;
    font-size: 0.9rem;
    line-height: 1.2;
    letter-spacing: 1px;
}

.header__title {
    font-family: var(--font-masthead);
    font-size: clamp(4rem, 9vw, 8rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--faded-ink);
    text-shadow: 2px 2px 0px var(--aged-newsprint), 4px 4px 0px rgba(26, 26, 27, 0.2) !important;
}
.header__title a{
    color: var(--faded-ink);
    text-shadow: 2px 2px 0px var(--aged-newsprint), 4px 4px 0px rgba(26, 26, 27, 0.2) !important;
    font-weight:700;
}

.header__motto {
    font-family: var(--font-ad);
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.header__sub-masthead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-style: italic;
    border-top: 2px solid var(--faded-ink);
    padding-top: 15px;
    font-size: 1.1rem;
}

.header__print-btn,
.page-numbers {
    background: transparent;
    border: 2px solid var(--faded-ink);
    color: var(--faded-ink);
    font-family: var(--font-body);
    padding: 4px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
    box-shadow: 2px 2px 0px var(--faded-ink);
}

.page-numbers.current{
    background: #1a1a1b;
    color: #f4f1ea;
}

.header__print-btn:hover {
    background: var(--faded-ink);
    color: var(--aged-newsprint);
    box-shadow: 0px 0px 0px var(--faded-ink);
    transform: translate(2px, 2px);
}

/* Navigation */
.nav {
    border-bottom: 6px double var(--faded-ink);
    background-color: var(--aged-newsprint);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.nav__toggle {
    display: none;
    width: 100%;
    padding: 12px;
    background: var(--faded-ink);
    color: var(--aged-newsprint);
    border: none;
    font-family: var(--font-body);
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 2px;
}

.nav__list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 12px 0;
    margin-bottom:0px;
    width:100%;
}

.menu-item a {
    text-decoration: none;
    color: var(--faded-ink);
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.2s;
    position: relative;
}

.menu-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--oxblood-red);
    transition: width 0.3s;
}

.menu-item a:hover {
    color: var(--oxblood-red);
}

.menu-item a:hover::after {
    width: 100%;
}

/* Main Content Grid */
.main-content {
    max-width: 1300px;
    margin: 2rem auto;
    padding: 0 2rem;
    margin-top: 0px;
}

.grid-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
}

.grid-container--3col {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
}

.grid-container__main {
    display: flex;
    flex-direction: column;
}

/* Lead Story */
.lead-story {
    margin-bottom: 2rem;
}

.lead-story__header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--faded-ink);
    padding:0 0 1rem 0;
}

.lead-story__headline {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 900;
}

.lead-story__subhead {
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 400;
    color: var(--oxblood-red);
    line-height:1.6em;
}

.lead-story__figure {
    margin-bottom: 2rem;
}

.lead-story__caption {
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--faded-ink);
}

.lead-story__content {
    column-count: 2;
    column-gap: 2.5rem;
    column-rule: 1px solid var(--faded-ink);
}

/* Secondary Stories */
.secondary-stories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}



.story__headline {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 900;
    margin-top: 10px;
}

.story__link {
    color: var(--faded-ink);
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
}

.story__link:hover {
    color: var(--oxblood-red);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-shadow: 0 0 8px rgba(139, 0, 0, 0.3);
}

.story__read-more {
    display: inline-block;
    margin-top: 0.5rem;
    font-family: var(--font-ad);
    font-weight: bold;
    color: var(--oxblood-red);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding-bottom: 25px;
    letter-spacing: 1px;
    transition: transform 0.2s;
}

.story__read-more:hover {
    transform: translateX(5px);
}

.story__figure {
    margin-bottom: 1rem !important;
}

/* Widgets & Sidebars */
.grid-container__sidebar {
    border-left: 2px solid var(--faded-ink);
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.widget {
    border: 2px solid var(--faded-ink);
    padding: 1.5rem;
    background: var(--aged-newsprint-darker);
    box-shadow: 4px 4px 0px rgba(26, 26, 27, 0.1);
}

.widget__title {
    font-family: var(--font-ad);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--faded-ink);
    padding-bottom: 5px;
    text-align: center;
}

.widget__divider {
    border: 0;
    border-top: 1px dashed var(--faded-ink);
    margin: 1rem 0;
}

/* Weather & Stocks */
.weather-stocks {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.03"><path d="M10 10 Q 50 50 90 10" stroke="black" fill="transparent"/></svg>');
}

/* Briefs */
.briefs__list {
    list-style: none;
}

.briefs__item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(26, 26, 27, 0.2);
}

.briefs__item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Editor's Desk */
.editor-desk {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--faded-ink);
}

.editor-desk__quote {
    font-family: var(--font-handwriting);
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--oxblood-red);
    transform: rotate(-2deg);
}

.editor-desk__signature {
    display: block;
    text-align: right;
    font-family: var(--font-handwriting);
    font-size: 1.4rem;
    font-weight: bold;
}

/* Advertisements */
.advertisement {
    border: 6px solid var(--faded-ink);
    padding: 1.5rem;
    text-align: center;
    background: #fff;
    box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px var(--faded-ink);
}

.advertisement--small {
    padding: 1rem;
}

.advertisement__title {
    font-family: var(--font-ad);
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.advertisement__subtitle {
    font-family: var(--font-ad);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.advertisement__text {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.advertisement__price {
    font-family: var(--font-ad);
    font-size: 1.4rem;
    font-weight: bold;
    border-top: 2px dashed var(--faded-ink);
    border-bottom: 2px dashed var(--faded-ink);
    padding: 10px 0;
    margin: 1rem 0;
}

.advertisement__figure {
    margin: 1rem 0;
}

.advertisement__footer {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Puzzle Corner */
.puzzle-corner__riddle {
    background: #fff;
    border: 2px solid var(--faded-ink);
    padding: 1rem;
    margin: 1rem 0;
    font-family: var(--font-teleprinter);
}

.puzzle-corner__btn {
    width: 100%;
    background: var(--faded-ink);
    color: var(--aged-newsprint);
    border: none;
    padding: 10px;
    font-family: var(--font-ad);
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
}

.puzzle-corner__btn:hover {
    background: var(--oxblood-red);
}

.puzzle-corner__answer {
    margin-top: 1rem;
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem;
    color: var(--oxblood-red);
    border: 2px dashed var(--oxblood-red);
    padding: 10px;
}

/* Letters to Editor */
.letter {
    border-bottom: 1px solid rgba(26, 26, 27, 0.3);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.letter:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Footer (Classifieds) */
.footer-mega {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.footer-mega__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-mega__title {
    font-family: var(--font-masthead);
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.footer-mega__motto {
    font-family: var(--font-ad);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--faded-ink);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-mega__heading {
    font-family: var(--font-ad);
    font-size: 1.2rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--faded-ink);
    margin-bottom: 1rem;
    padding-bottom: 5px;
    font-weight: bold;
}

.footer-mega__list {
    list-style: none;
}

.footer-mega__list li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    border-bottom: 1px dotted rgba(26, 26, 27, 0.3);
    padding-bottom: 0.5rem;
}

.footer__classifieds {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.classified {
    border: 1px solid var(--faded-ink);
    padding: 1.5rem;
    background: var(--aged-newsprint-darker);
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.classified__title {
    font-size: 1.3rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--faded-ink);
    margin-bottom: 1rem;
    padding-bottom: 5px;
    font-weight: 900;
}

.classified__text {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-align: justify;
    padding-bottom: 1rem;
    border-bottom: 1px dotted var(--faded-ink);
}

.classified__text:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer__bottom {
    text-align: center;
    font-size: 0.9rem;
    border-top: 2px solid var(--faded-ink);
    padding-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

/* Subscription Form */
.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subscription-form__input {
    background: transparent;
    border: 1px solid var(--faded-ink) !important;
    padding: 8px !important;
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    color: var(--faded-ink) !important;
    margin-bottom:10px;
}

.subscription-form__input:focus {
    outline: none;
    border-color: var(--oxblood-red);
    background: rgba(255, 255, 255, 0.3);
}

.subscription-form__btn {
    background: var(--faded-ink);
    color: var(--aged-newsprint);
    border: none;
    padding: 10px;
    font-family: var(--font-ad);
    font-size: 1rem !important;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
    width:100%;
    font-weight:600;
}

.subscription-form__btn:hover {
    background: var(--oxblood-red);
}

/* Horoscopes */
.horoscope__list {
    list-style: none;
}

.horoscope__item {
    margin-bottom: 0.8rem;
    border-bottom: 1px dashed rgba(26, 26, 27, 0.2);
    padding-bottom: 0.8rem;
}

.horoscope__item:last-child {
    border-bottom: none;
}

/* Vintage Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--aged-newsprint);
    border: 4px double var(--faded-ink);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--faded-ink);
}

.modal-close:hover {
    color: var(--oxblood-red);
}

.modal-title {
    font-family: var(--font-ad);
    font-size: 1.8rem;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.2;
}

/* New Widgets & Sections Styles */

/* Explorer's Club & Patent Office Thumbnails */
.thumbnail-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.thumbnail-story {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border-bottom: 1px dotted var(--faded-ink);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.thumbnail-story:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.thumbnail-story__img {
    width: 120px;
    height: 120px !important;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 50% !important;
    border: 3px solid var(--faded-ink) !important;
    padding: 3px;
}

.thumbnail-story__content {
    flex: 1;
}

/* Dictionary (Word of the Day) Widget */
.dictionary-widget__word {
    font-family: var(--font-masthead);
    font-size: 2.5rem;
    border-bottom: 2px solid var(--faded-ink);
    display: inline-block;
    margin-bottom: 0.5rem;
    line-height: 1;
    padding: 0 10px;
}

.dictionary-widget__pronunciation {
    font-style: italic;
    color: var(--oxblood-red);
    font-family: var(--font-teleprinter);
}

/* Fill in the Blank Widget */
.fill-blank {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.fill-blank__sentence {
    font-family: var(--font-teleprinter);
    line-height: 2;
}

.fill-blank__input {
    border: none !important;
    border-bottom: 2px dashed var(--faded-ink) !important;
    background: transparent !important;
    width: 100px !important;
    font-family: var(--font-handwriting) !important;
    font-size: 1.5rem !important;
    color: var(--oxblood-red) !important;
    text-align: center !important;
    padding: 0 5px !important;
}

.fill-blank__input:focus {
    outline: none;
    border-bottom-color: var(--oxblood-red);
    background: rgba(255, 255, 255, 0.3);
}

/* Theatre Bill Widget */
.theatre-list {
    list-style: none;
}

.theatre-list__item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(26, 26, 27, 0.2);
    font-size: 0.95rem;
}

.theatre-list__item:last-child {
    border-bottom: none;
}

/* Recipe Widget */
.recipe-ingredients {
    list-style-type: square;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Etiquette Q&A Widget */
.etiquette-qa__btn {
    width: 100%;
    background: transparent;
    border: 2px solid var(--faded-ink);
    padding: 10px;
    font-family: var(--font-body);
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
    color: var(--faded-ink);
    transition: background 0.2s, color 0.2s;
}

.etiquette-qa__btn:hover {
    background: var(--faded-ink);
    color: var(--aged-newsprint);
}

.etiquette-qa__answer {
    padding: 10px;
    border: 2px solid var(--faded-ink);
    border-top: none;
    background: #fff;
}

/* Photographic Record Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.photo-gallery__item {
    border: 4px solid var(--faded-ink);
    padding: 8px;
    background: var(--aged-newsprint-darker);
    box-shadow: 4px 4px 0px rgba(26, 26, 27, 0.1);
    transition: transform 0.3s;
}

.photo-gallery__item:hover {
    transform: scale(1.02) rotate(-1deg);
}

.photo-gallery__img {
    width: 100%;
    height: 200px !important;
    object-fit: cover;
    border: 1px solid var(--faded-ink) !important;
}

/* Naturalist & Architect Sections */
.apothecary-widget {
    background-color: rgba(244, 241, 234, 0.5);
    border: 2px dashed var(--faded-ink);
}

.chess-board {
    width: 100%;
    max-width: 200px;
    margin: 0 auto 1rem;
    display: block;
    border: 4px solid var(--faded-ink);
}

.illusion-img {
    width: 100%;
    max-width: 150px;
    border: 2px solid var(--faded-ink);
    border-radius: 50%;
    padding: 10px;
}

/* Grand Footer Styles */
.footer-grand {
    background-color: var(--faded-ink);
    color: var(--aged-newsprint);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    position: relative;
}

.footer-grand__border-top {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    height: 4px;
    border-top: 2px solid var(--aged-newsprint);
    border-bottom: 1px solid var(--aged-newsprint);
}

.footer-grand__content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-grand__logo {
    font-family: var(--font-masthead);
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--aged-newsprint);
}

.footer-grand__motto {
    font-family: var(--font-ad);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-grand__ornament {
    font-size: 2rem;
    margin: 1rem 0;
    color: var(--oxblood-red);
}

.footer-grand__heading {
    font-family: var(--font-ad);
    font-size: 1.2rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--aged-newsprint);
    margin-bottom: 1rem;
    padding-bottom: 5px;
    color: var(--aged-newsprint);
}

.footer-grand__list {
    list-style: none;
    padding: 0;
}

.footer-grand__list li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    border-bottom: 1px dotted rgba(244, 241, 234, 0.3);
    padding-bottom: 0.4rem;
}

.footer-grand__text {
    color: var(--aged-newsprint);
    opacity: 0.9;
}

.footer-grand__bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(244, 241, 234, 0.2);
    font-family: var(--font-ad);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Responsive Design Overrides for new sections */
@media (max-width: 768px) {
    .thumbnail-story {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .thumbnail-story__img {
        width: 150px;
        height: 150px !important;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {

    .grid-container,
    .grid-container--3col {
        grid-template-columns: 1fr 1fr;
    }

    .grid-container__sidebar {
        border-left: none;
        border-top: 4px double var(--faded-ink);
        padding-left: 0;
        padding-top: 2.5rem;
    }

    .ads-section {
        grid-column: span 2;
        display: flex;
        gap: 2rem;
    }

    .ads-section>* {
        flex: 1;
    }

    .footer-mega__top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .header__badge {
        display: none;
    }

    .grid-container,
    .grid-container--3col {
        grid-template-columns: 1fr;
    }

    .lead-story__content {
        column-count: 1;
    }

    .secondary-stories {
        grid-template-columns: 1fr;
    }

    .ads-section {
        grid-column: span 1;
        flex-direction: column;
    }

    .nav__toggle {
        display: block;
    }

    .nav__list {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    .nav__list--active {
        display: flex;
    }
}

@media (max-width: 480px) {
    .header__title {
        font-size: 3.5rem;
    }

    .header__top-bar,
    .header__sub-masthead {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* Print Styles */
@media print {
    body.page {
        background: white;
        color: black;
    }

    .page__vignette,
    .ticker,
    .nav,
    .header__print-btn {
        display: none;
    }

    .vintage-image {
        filter: grayscale(100%);
        mix-blend-mode: normal;
        background: white;
    }

    .grid-container {
        display: block;
    }

    .grid-container__sidebar,
    .grid-container--3col {
        page-break-before: always;
    }

    .widget,
    .advertisement,
    .classified {
        background: white;
        box-shadow: none;
    }
}

/* ========================================================================= */
/* SOVEREIGN ELITE MANIFESTO - WP CONVERSION READY CSS APPENDAGES            */
/* ========================================================================= */

/* --- ABOUT PAGE (.tft-about-page) --- */
.tft-about-hero {
    margin-bottom: 2rem;
}

.tft-about-hero__header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--faded-ink);
    padding-bottom: 1rem;
}

.tft-about-hero__headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--font-body);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.tft-about-hero__subhead {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--oxblood-red);
}

.tft-about-hero__figure {
    margin-bottom: 2rem;
}

.tft-about-hero__image {
    aspect-ratio: 2/1;
    object-fit: cover;
}

.tft-about-hero__quote {
    font-size: 1.5rem;
    font-family: var(--font-handwriting);
    color: var(--oxblood-red);
    text-align: center;
    margin: 2rem 0;
    transform: rotate(-1deg);
    padding: 1rem;
    border: 2px dashed var(--oxblood-red);
    background: var(--aged-newsprint-darker);
}

.tft-staff-grid__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.tft-staff-card {
    text-align: center;
    border: 1px solid var(--faded-ink);
    padding: 1rem;
    background: var(--aged-newsprint-darker);
}

.tft-staff-card__img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
}

.tft-staff-card__name {
    font-family: var(--font-ad);
    font-size: 1.2rem;
    font-weight: 900;
}

.tft-staff-card__title {
    font-style: italic;
    color: var(--oxblood-red);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* --- CONTACT PAGE (.tft-contact-page) --- */
.tft-contact-wrap,
.tft-offices-wrap {
    margin-bottom: 2rem;
}

.tft-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tft-contact-form__row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.tft-contact-form__row>.tft-contact-form__group {
    flex: 1;
    min-width: 250px;
}

.tft-contact-form__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tft-contact-form__label {
    font-family: var(--font-ad);
    font-weight: 900;
    font-size: 1rem;
}

.tft-contact-form__input,
.tft-contact-form__select,
.tft-contact-form__textarea {
    background: transparent;
    border: 1px solid var(--faded-ink);
    padding: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--faded-ink);
}

.tft-contact-form__input:focus,
.tft-contact-form__select:focus,
.tft-contact-form__textarea:focus {
    outline: none;
    border-color: var(--oxblood-red);
    background: rgba(255, 255, 255, 0.4);
}

.tft-contact-form__submit-wrap {
    text-align: center;
    margin-top: 1rem;
}

.tft-contact-form__btn {
    background: var(--faded-ink);
    color: var(--aged-newsprint);
    border: 2px solid var(--faded-ink);
    padding: 12px 30px;
    font-family: var(--font-ad);
    font-size: 1.2rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s;
}

.tft-contact-form__btn:hover {
    background: var(--oxblood-red);
    border-color: var(--oxblood-red);
}

.tft-offices-wrap__title {
    font-family: var(--font-ad);
    font-size: 1.8rem;
    border-bottom: 2px solid var(--faded-ink);
    margin-bottom: 1rem;
}

.tft-offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.tft-office-card {
    border: 2px dashed var(--faded-ink);
    padding: 1.5rem;
    background: var(--aged-newsprint-darker);
}

.tft-office-card__name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-ad);
}

/* --- SINGLE POST PAGE (.tft-single-page) --- */
.tft-single-post {
    margin-bottom: 3rem;
}

.tft-single-post__header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 4px double var(--faded-ink);
    padding-bottom: 2rem;
}

.tft-single-post__meta,
.tft-single-post__meta a {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--oxblood-red);
    margin-bottom: 1rem;
}

.tft-single-post__title {
    font-family: var(--font-body);
    font-weight: 900;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.tft-single-post__subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5em;
}

.tft-single-post__caption {
    margin-bottom: 2.5rem;
}

.tft-single-post__caption {
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--faded-ink);
}

.tft-single-post__heading {
    font-family: var(--font-ad);
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
}

.tft-single-post__list {
    margin-inline-start: 2rem;
    margin-bottom: 1.5rem;
    list-style-type: square;
}

.tft-single-post__list li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.tft-single-post__blockquote {
    font-size: 1.6rem;
    font-family: var(--font-body);
    font-style: italic;
    text-align: center;
    color: var(--oxblood-red);
    margin: 3rem 0;
    padding: 1rem 3rem;
    border-top: 2px solid var(--faded-ink);
    border-bottom: 2px solid var(--faded-ink);
}

.tft-single-post__footer {
    border-top: 4px double var(--faded-ink);
    padding-top: 1rem;
    margin-top: 2rem;
}

.tft-single-post__tags {
    font-size: 0.9rem;
}

.tft-single-post__tag-link,
.tft-single-post__footer .tft-single-post__tags > a{
    color: var(--faded-ink);
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    margin-inline-start: 10px;
    border-bottom: 1px solid transparent;
}

.tft-single-post__tag-link:hover,
.tft-single-post__footer .tft-single-post__tags > a:hover {
    color: var(--oxblood-red);
    border-color: var(--oxblood-red);
}

/* --- WP COMMENTS (.tft-comments-area) --- */
.tft-comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 6px double var(--faded-ink);
}

.tft-comments-title,
.tft-reply-title {
    font-family: var(--font-ad);
    font-size: 2rem;
    border-bottom: 2px solid var(--faded-ink);
    margin-bottom: 1.5rem;
    padding-bottom: 5px;
}

.tft-comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tft-comment-list .tft-children {
    list-style: none;
    margin: 0 0 0 2rem;
    border-left: 2px dashed rgba(26, 26, 27, 0.2);
    padding-left: 1.5rem;
}

.tft-comment-item {
    margin-bottom: 1.5rem;
}

.tft-comment-body {
    background: var(--aged-newsprint-darker);
    border: 1px solid var(--faded-ink);
    padding: 1.5rem;
    position: relative;
}

.tft-comment-body--author {
    background: rgba(139, 0, 0, 0.05);
    border-color: var(--oxblood-red);
}

.tft-comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dotted var(--faded-ink);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.tft-comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tft-comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--faded-ink);
    padding: 2px;
}

.tft-fn {
    font-family: var(--font-ad);
    font-size: 1.2rem;
}

.tft-comment-metadata time {
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.8;
}

.tft-reply {
    text-align: right;
    margin-top: 10px;
}

.tft-comment-reply-link {
    font-family: var(--font-ad);
    font-weight: bold;
    color: var(--oxblood-red);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.tft-comment-reply-link:hover {
    text-decoration: underline;
}

/* Respond Form */
.tft-comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tft-comment-form label {
    font-family: var(--font-ad);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.tft-comment-form input[type="text"],
.tft-comment-form input[type="email"],
.tft-comment-form textarea {
    width: 100%;
    background: transparent;
    border: 1px solid var(--faded-ink);
    padding: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--faded-ink);
}

.tft-comment-form input:focus,
.tft-comment-form textarea:focus {
    outline: none;
    border-color: var(--oxblood-red);
    background: rgba(255, 255, 255, 0.4);
}

.tft-comment-form-row {
    display: flex;
    gap: 1.5rem;
}

.tft-comment-form-row>div {
    flex: 1;
}

.tft-form-submit {
    margin-top: 1rem;
    text-align: right;
}

.tft-submit {
    background: var(--faded-ink);
    color: var(--aged-newsprint);
    border: 2px solid var(--faded-ink);
    padding: 10px 25px;
    font-family: var(--font-ad);
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s;
}

.tft-submit:hover {
    background: var(--oxblood-red);
    border-color: var(--oxblood-red);
}

@media (max-width: 600px) {
    .tft-comment-form-row {
        flex-direction: column;
    }

    .tft-comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .tft-comment-list .tft-children {
        margin-left: 1rem;
        padding-left: 1rem;
    }
}

/* --- WP POST FORMATS --- */

/* Audio Format */
.tft-format-audio__player {
    background: var(--aged-newsprint-darker);
    border: 2px dashed var(--faded-ink);
    padding: 2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .tft-format-audio__player {
        justify-content: center;
    }
}

.tft-format-audio__disk {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--faded-ink);
    position: relative;
    border: 5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    animation: spin 10s linear infinite;
    animation-play-state: paused;
}

.tft-format-audio__disk::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--oxblood-red);
    border-radius: 50%;
    border: 2px solid var(--aged-newsprint);
}

.tft-format-audio__player:hover .tft-format-audio__disk {
    animation-play-state: running;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.tft-format-audio__controls {
    flex: 1;
    display: flex;
    min-width: 200px;
    flex-direction: column;
    gap: 10px;
}

.tft-format-audio__btn {
    background: transparent;
    border: 2px solid var(--faded-ink);
    padding: 8px 15px;
    font-family: var(--font-ad);
    font-weight: bold;
    cursor: pointer;
    align-self: flex-start;
}

.tft-format-audio__btn:hover {
    background: var(--faded-ink);
    color: white;
}

.tft-format-audio__track {
    height: 10px;
    background: rgba(26, 26, 27, 0.2);
    border-radius: 5px;
    position: relative;
}

.tft-format-audio__progress {
    width: 45%;
    height: 100%;
    background: var(--oxblood-red);
    border-radius: 5px;
}

.tft-format-audio__time {
    font-family: var(--font-teleprinter);
    font-size: 0.85rem;
    align-self: flex-end;
}

/* Video Format */
.tft-format-video__frame {
    position: relative;
    border: 15px solid var(--faded-ink);
    border-radius: 10px;
    margin-bottom: 2rem;
    background: black;
    overflow: hidden;
}

.tft-format-video__poster {
    width: 100%;
    display: block;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.tft-format-video__overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.tft-format-video__play {
    background: rgba(139, 0, 0, 0.8);
    border: 2px solid white;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    margin-bottom: 10px;
    transition: transform 0.2s;
}

.tft-format-video__play:hover {
    transform: scale(1.1);
}

.tft-format-video__text {
    font-family: var(--font-ad);
    text-transform: uppercase;
    display: block;
    letter-spacing: 2px;
}

/* Gallery Format */
.tft-format-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.tft-format-gallery__item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border: 2px solid var(--faded-ink);
}

/* Quote Format */
.tft-format-quote {
    text-align: center;
    padding: 3rem 1rem;
    border-top: 4px double var(--oxblood-red);
    border-bottom: 4px double var(--oxblood-red);
    margin: 2rem 0;
    background: var(--aged-newsprint-darker);
}

.tft-format-quote__text {
    font-family: var(--font-handwriting);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--faded-ink);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.tft-format-quote__cite {
    font-family: var(--font-ad);
    font-weight: bold;
    font-style: normal;
    text-transform: uppercase;
    color: var(--oxblood-red);
}

/* Link Format */
.tft-format-link a {
    color: var(--oxblood-red);
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 8px;
}

.tft-format-link a:hover {
    color: var(--faded-ink);
}

/* --- THE 15 NEW WIDGETS --- */

/* 1. Telegram Dispatch */
.tft-widget-telegram__desc {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.tft-widget-telegram__form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tft-widget-telegram__label {
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
}

.tft-widget-telegram__input,
.tft-widget-telegram__textarea {
    background: transparent;
    border: 1px dashed var(--faded-ink);
    padding: 5px;
    font-family: var(--font-teleprinter);
    font-size: 0.9rem;
}

.tft-widget-telegram__action {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tft-widget-telegram__cost {
    font-size: 0.85rem;
    font-weight: bold;
}

.tft-widget-telegram__btn {
    background: var(--faded-ink);
    color: var(--aged-newsprint);
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    text-transform: uppercase;
    font-family: var(--font-teleprinter);
}

.tft-widget-telegram__btn:hover {
    background: var(--oxblood-red);
}

/* 2. Vintage Stock Ticker Static */
.tft-widget-ticker__machine {
    background: var(--faded-ink);
    padding: 10px;
    border-radius: 5px 5px 0 0;
    position: relative;
}

.tft-widget-ticker__paper {
    background: white;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    font-family: var(--font-teleprinter);
}

.tft-widget-ticker__item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
    padding: 4px 0;
}

.tft-widget-ticker__item:last-child {
    border-bottom: none;
}

/* 3. Lunar Cycle */
.tft-widget-lunar__display {
    text-align: center;
    margin-bottom: 1rem;
}

.tft-widget-lunar__moon {
    width: 60px;
    height: 60px;
    background: var(--aged-newsprint-darker);
    border-radius: 50%;
    margin: 0 auto 10px;
    box-shadow: inset -10px 0 0 var(--faded-ink);
}

.tft-widget-lunar__phase {
    font-family: var(--font-ad);
    font-weight: bold;
}

.tft-widget-lunar__details {
    list-style: none;
    font-size: 0.9rem;
}

.tft-widget-lunar__details li {
    margin-bottom: 0.5rem;
}

/* 4. Society Directory */
.tft-widget-society__list {
    list-style: none;
    margin-top: 1rem;
}

.tft-widget-society__item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted var(--faded-ink);
    padding: 5px 0;
}

.tft-widget-society__name {
    font-weight: bold;
}

.tft-widget-society__hotel {
    font-style: italic;
    font-size: 0.85rem;
}

/* 5. Quote of the Century */
.tft-widget-quote__content {
    position: relative;
    padding: 10px;
}

.tft-widget-quote__mark {
    font-family: var(--font-masthead);
    font-size: 6rem;
    position: absolute;
    top: -30px;
    left: -10px;
    color: rgba(26, 26, 27, 0.1);
}

.tft-widget-quote__text {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
    text-align: center;
}

.tft-widget-quote__author {
    display: block;
    text-align: right;
    font-weight: bold;
    font-family: var(--font-ad);
    margin-top: 10px;
}

/* 6. Classified Ad CTA */
.tft-widget-classifieds__btn {
    background: transparent;
    border: 2px solid var(--oxblood-red);
    color: var(--oxblood-red);
    padding: 8px 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.tft-widget-classifieds__btn:hover {
    background: var(--oxblood-red);
    color: white;
}

/* 7. Vintage Map Location */
.tft-widget-map__figure {
    border: 2px solid var(--faded-ink);
    padding: 5px;
    background: white;
    margin-bottom: 1rem;
}

.tft-widget-map__img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

/* 8. Subscription Penny Post */
.tft-widget-penny__box {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px dashed var(--faded-ink);
    padding: 15px;
    background: white;
}

.tft-widget-penny__stamp {
    font-size: 2.5rem;
    font-family: var(--font-masthead);
    color: var(--oxblood-red);
    border: 2px solid var(--oxblood-red);
    border-radius: 4px;
    padding: 5px;
    line-height: 1;
}

/* 9. Newsletter Widget */
.tft-widget-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1rem;
}

.tft-widget-newsletter__input {
    border: 1px solid var(--faded-ink);
    background: transparent;
    padding: 8px;
    font-family: var(--font-body);
}

.tft-widget-newsletter__btn {
    background: var(--faded-ink);
    color: var(--aged-newsprint);
    border: none;
    padding: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 10. Wanted Poster Interactive */
.tft-widget-wanted__paper {
    background: #e6e2d3;
    padding: 15px;
    border: 1px solid var(--faded-ink);
    box-shadow: inset 0 0 20px rgba(139, 69, 19, 0.2);
    text-align: center;
    position: relative;
    transition: transform 0.3s;
    cursor: pointer;
}

.tft-widget-wanted__paper:hover {
    transform: scale(1.05) rotate(2deg);
}

.tft-widget-wanted__heading {
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 3.5rem;
    letter-spacing: 5px;
    margin-bottom: 10px;
    color: var(--faded-ink);
}

.tft-widget-wanted__img {
    width: 120px;
    height: 120px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.tft-widget-wanted__desc {
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.tft-widget-wanted__reward {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--oxblood-red);
}

/* 11. Author Bio Card */
.tft-widget-author__name {
    font-family: var(--font-ad);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.tft-widget-author__desc {
    font-size: 0.9rem;
    font-style: italic;
}

/* 12. Most Scandalous */
.tft-widget-scandalous__list {
    list-style: none;
    counter-reset: scandal-counter;
}

.tft-widget-scandalous__item {
    position: relative;
    padding-inline-start: 35px;
    margin-bottom: 1rem;
    min-height: 30px;
}

.tft-widget-scandalous__num {
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 2rem;
    color: var(--oxblood-red);
    line-height: 0.8;
}

.tft-widget-scandalous__link {
    color: var(--faded-ink);
    text-decoration: none;
    font-weight: bold;
}

.tft-widget-scandalous__link:hover {
    text-decoration: underline;
}

/* 13. Archive by Decade */
.tft-widget-archive__list {
    list-style: none;
}

.tft-widget-archive__item {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--faded-ink);
}

.tft-widget-archive__item:last-child {
    border-bottom: none;
}

.tft-widget-archive__link {
    color: var(--faded-ink);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
    display: block;
}

.tft-widget-archive__link:hover {
    color: var(--oxblood-red);
    padding-inline-start: 5px;
    transition: 0.3s;
}

/* 14. Daily Crossword */
.tft-widget-crossword__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--faded-ink);
    border: 2px solid var(--faded-ink);
    width: 120px;
    margin: 0 auto;
}

.tft-widget-crossword__box {
    background: white;
    aspect-ratio: 1;
    padding: 2px;
    font-size: 0.7rem;
    font-weight: bold;
    position: relative;
}

.tft-cw-input {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: var(--font-teleprinter);
    color: var(--oxblood-red);
    text-transform: uppercase;
}

.tft-cw-input:focus {
    outline: none;
    background: rgba(139, 0, 0, 0.1);
}

.tft-widget-crossword__box--black {
    background: var(--faded-ink);
}

.tft-widget-crossword__btn {
    background: transparent;
    border: 2px solid var(--faded-ink);
    color: var(--faded-ink);
    padding: 5px 10px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-family: var(--font-ad);
}

.tft-widget-crossword__btn:hover {
    background: var(--faded-ink);
    color: white;
}

/* 15. Local Railway Timetable */
.tft-widget-timetable__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.tft-widget-timetable__table th,
.tft-widget-timetable__table td {
    border-bottom: 1px solid rgba(26, 26, 27, 0.3);
    padding: 6px 4px;
    text-align: left;
}

.tft-widget-timetable__table th {
    text-transform: uppercase;
    font-size: 0.8rem;
    border-bottom: 2px solid var(--faded-ink);
}

/* --- HOME ALTERNATIVE 2 LAYOUT (.tft-home2) --- */

.tft-spacer-large {
    margin: 4rem 0;
}

/* Hero Section */
.tft-home2-hero {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .tft-home2-hero {
        grid-template-columns: 1fr;
    }
}

.tft-home2-hero__main {
    position: relative;
}

.tft-home2-hero__feature {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tft-home2-hero__img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 2px solid var(--faded-ink);
}

.tft-home2-hero__content {
    background: var(--aged-newsprint-darker);
    padding: 1.5rem;
    border: 1px solid var(--faded-ink);
    border-top: none;
    flex-grow: 1;
}

.tft-home2-hero__headline {
    font-family: var(--font-body);
    font-weight: 900;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
    margin: 10px 0;
}

.tft-home2-hero__minor {
    border-bottom: 2px dashed var(--faded-ink);
    padding-bottom: 1rem;
}

.tft-home2-hero__sub-headline {
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 1.2rem;
    margin-top: 10px;
}

.tft-badge,
.tft-badge a {
    background: var(--oxblood-red);
    color: var(--aged-newsprint);
    padding: 2px 4px 0px 4px;
    font-family: var(--font-teleprinter);
    font-size: 0.8rem;
    text-transform: uppercase;
    display: inline-block;
}

/* Bulletin Widget */
.tft-bulletin-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tft-bulletin-list__item {
    border-bottom: 1px dotted var(--faded-ink);
    padding: 10px 0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.tft-bulletin-list__time {
    font-family: var(--font-teleprinter);
    color: var(--oxblood-red);
    font-size: 0.85rem;
    white-space: nowrap;
}

/* The Chronicle Grid */
.tft-chronicle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 300px;
    gap: 2rem;
}

@media (max-width: 900px) {
    .tft-chronicle-grid {
        grid-template-columns: 1fr;
    }
}

.tft-chronicle-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tft-chronicle-card__fig {
    margin-bottom: 1rem;
    border: 1px solid var(--faded-ink);
}

.tft-chronicle-card__fig img {
    display: block;
    width: 100%;
}

.tft-chronicle-card__title {
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tft-chronicle-card {
    border-bottom: 1px solid rgba(26, 26, 27, 0.1);
    padding-bottom: 1rem;
}

/* Portfolio Strip */
.tft-portfolio-strip {
    background: var(--aged-newsprint-darker);
    padding: 2rem;
    border: 4px double var(--faded-ink);
}

.tft-portfolio-strip__grid {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.tft-portfolio-strip__img {
    flex: 1;
    min-width: 120px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--aged-newsprint);
    box-shadow: 0 0 0 1px var(--faded-ink);
    transition: transform 0.3s ease;
}

.tft-portfolio-strip__img:hover {
    transform: scale(1.1);
}

/* =========================================================================
   REVOLUTIONARY FOOTER & INDEX-2 FIXES
   ========================================================================= */

/* Link Fixes for Index-2 */
.tft-home2-hero__headline a,
.tft-home2-hero__sub-headline a,
.tft-chronicle-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.tft-home2-hero__headline a:hover,
.tft-home2-hero__sub-headline a:hover,
.tft-chronicle-card__title a:hover {
    color: var(--oxblood-red);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Revolutionary Footer Styles */
.footer-revolutionary {
    position: relative;
    background-color: #111;
    /* Very dark faded ink */
    color: #e8e3d9;
    /* Aged newsprint */
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
    border-top: 8px double #e8e3d9;
    overflow: hidden;
}

.footer-rev__texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://picsum.photos/seed/darkpaper/1920/1080') center/cover;
    opacity: 0.15;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.footer-rev__inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-rev__header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid rgba(232, 227, 217, 0.3);
    padding-bottom: 2rem;
}

.footer-rev__title {
    font-family: var(--font-masthead);
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.footer-rev__subtitle {
    font-family: var(--font-ad);
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-rev__ornament {
    font-size: 2.5rem;
    margin-top: 1rem;
    color: #a62b2b;
    /* Muted oxblood */
}

.footer-rev__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-rev__heading {
    font-family: var(--font-ad);
    font-size: 1.4rem;
    text-transform: uppercase;
    border-bottom: 2px solid #e8e3d9;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-rev__post-list {
    list-style: none;
    padding: 0;
}

.footer-rev__post-list li {
    margin-bottom: 1rem;
    border-bottom: 1px dashed rgba(232, 227, 217, 0.2);
    padding-bottom: 1rem;
}

.footer-rev__time {
    display: block;
    font-family: var(--font-teleprinter);
    font-size: 0.85rem;
    color: #a62b2b;
    margin-bottom: 0.3rem;
}

.footer-rev__link {
    color: #e8e3d9;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: color 0.2s;
}

.footer-rev__link:hover {
    color: #a62b2b;
}

.footer-rev__img {
    border: 3px solid #e8e3d9;
    border-radius: 50%;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-rev__text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-rev__directory {
    list-style: none;
    padding: 0;
}

.footer-rev__directory li {
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
}

.footer-rev__directory strong {
    font-family: var(--font-ad);
    letter-spacing: 1px;
    margin-right: 0.5rem;
}

.footer-rev__telegram-box {
    background: rgba(232, 227, 217, 0.05);
    border: 2px solid #e8e3d9;
    padding: 1.5rem;
    position: relative;
}

.footer-rev__telegram-header {
    font-family: var(--font-ad);
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #e8e3d9;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-rev__input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px dashed #a62b2b;
    color: #e8e3d9;
    font-family: var(--font-teleprinter);
    font-size: 1.2rem;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-rev__input:focus {
    outline: none;
    border-bottom-color: #e8e3d9;
}

.footer-rev__btn {
    width: 100%;
    background: #e8e3d9;
    color: #111;
    border: none;
    padding: 0.8rem;
    font-family: var(--font-ad);
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.2s;
}

.footer-rev__btn:hover {
    background: #a62b2b;
    color: #e8e3d9;
}

.footer-rev__msg {
    margin-top: 1rem;
    font-family: var(--font-teleprinter);
    color: #4CAF50;
    text-align: center;
    font-weight: bold;
}

.footer-rev__bottom {
    text-align: center;
    border-top: 2px solid rgba(232, 227, 217, 0.3);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-rev__seal {
    margin: -4rem auto 1rem;
    width: 80px;
    height: 80px;
    background: #111;
    border-radius: 50%;
    padding: 5px;
}

.footer-rev__copyright {
    font-family: var(--font-ad);
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.footer-rev__warning {
    font-family: var(--font-body);
    font-size: 0.85rem;
    opacity: 0.7;
    font-style: italic;
}

/* Responsive Design Overrides for new sections */
@media (max-width: 768px) {
    .thumbnail-story {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .thumbnail-story__img {
        width: 150px;
        height: 150px !important;
    }
}

/* =========================================================================
   INDEX-2 NEW WIDGETS (MAP & ANOMALIES)
   ========================================================================= */
.tft-map-pin {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--oxblood-red);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.2s;
}

.tft-map-pin:hover {
    transform: scale(1.5);
}

.tft-telegram-feed__item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dotted var(--faded-ink);
}

.tft-telegram-feed__item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tft-telegram-feed__time {
    display: inline-block;
    font-family: var(--font-teleprinter);
    color: var(--oxblood-red);
    font-weight: bold;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.tft-telegram-feed__item p {
    font-family: var(--font-teleprinter);
    text-transform: uppercase;
    line-height: 1.4;
}

.tft-anomalies-card:hover {
    box-shadow: 6px 6px 0px rgba(26, 26, 27, 0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* ========================================================================= */
/* GAZETA EXPANSION - THEMEFOREST STANDARDS (2026)                          */
/* ========================================================================= */

.gaz-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: clamp(2rem, 5vw, 4rem) 0;
    position: relative;
    width: 100%;
}

.gaz-divider::before,
.gaz-divider::after {
    content: '';
    flex: 1;
    height: 3px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 3" preserveAspectRatio="none"><path d="M0,1.5 Q25,0.5 50,1.5 T100,1.5" stroke="%231a1a1b" stroke-width="0.5" fill="none" stroke-linecap="round" stroke-dasharray="2,3" opacity="0.4"/></svg>');
    background-size: 100% 100%;
}

.gaz-divider__icon {
    display: none;
}

/* Multi-Level Navigation */
.nav__item,
li.menu-item {
    position: relative;
}


li.menu-item-has-children> a::after {
    content: '\25be';
    margin-left: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s;
    display: inline-block;
}

@media only screen and (max-width: 551px){
    .sub-menu .sub-menu{
        top: 100% !important;
        inset-inline-start: 0 !important;
        left: 60px;
    }
}
.sub-menu .menu-item:hover>.sub-menu .menu-item a::after {
    color: var(--oxblood-red);
}

.nav__list .menu-item .sub-menu {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    background: var(--aged-newsprint);
    border: 2px solid var(--faded-ink);
    list-style: none;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 10px 10px 0px rgba(26, 26, 27, 0.1);
    text-align: left;
}

li.menu-item:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu .menu-item {
    position: relative;
}

.sub-menu .menu-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    text-decoration: none;
    color: var(--faded-ink);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.sub-menu .menu-item a:hover {
    background: var(--faded-ink);
    color: var(--aged-newsprint);
    padding-inline-start: 35px;
}

/* Second Level Dropdown */
.sub-menu .sub-menu {
    top: -15px;
    inset-inline-start: calc(100% + 2px);
    transform: translateX(15px);
}

.menu-item:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

ul > li.menu-item-has-children ul.sub-menu > li.menu-item-has-children>a::before {
    content: '\25b8';
    font-size: 0.8rem;
    position: absolute;
    right: 20px;
    top: 14px;
    
}
ul > li.menu-item-has-children ul.sub-menu > li.menu-item-has-children>a::after{
    content: ' ';
}

/* Back to Top - Vintage Elevator Dial Style */
.gaz-back-to-top {
    position: fixed;
    bottom: 50px;
    inset-inline-end: 50px;
    width: 70px;
    height: 70px;
    background: var(--aged-newsprint);
    color: var(--faded-ink);
    border: 3px solid var(--faded-ink);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 0 4px var(--aged-newsprint), 0 0 0 6px var(--faded-ink);
}

.gaz-back-to-top::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed var(--faded-ink);
    border-radius: 50%;
    opacity: 0.3;
}

.gaz-back-to-top--visible {
    opacity: 1;
    visibility: visible;
}

.gaz-back-to-top:hover {
    transform: scale(1.05);
    background: var(--oxblood-red);
    color: #fff;
    border-color: var(--oxblood-red);
    box-shadow: 0 0 0 4px var(--aged-newsprint), 0 0 0 6px var(--oxblood-red);
}

.gaz-back-to-top__icon {
    font-size: 2rem;
    line-height: 1;
    font-family: var(--font-ad);
    transform: none;
    /* Removed translateY for centering */
}

/* Link Manicule (Pointing Hand) */
.gaz-link-manicule {
    display: inline-block;
    font-family: 'FontAwesome' !important;
    font-weight: 300;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-size: 1.1rem;
    vertical-align: middle;
    margin-left: 10px;
    color: var(--oxblood-red);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gaz-link-manicule::before {
    content: "\f0a4";
}

a:hover .gaz-link-manicule {
    transform: translateX(4px);
}

/* Post Meta Info */
.gaz-post-meta {
    display: flex;
    gap: 20px;
    font-family: var(--font-teleprinter);
    font-size: 0.9rem;
    margin: 15px 0;
    color: var(--faded-ink);
    opacity: 0.85;
    flex-wrap: wrap;
    border-bottom: 1px dashed var(--faded-ink);
    padding-bottom: 15px;
}
.gaz-post-meta a{
    font-size: 0.9rem;
    color: var(--faded-ink);
    opacity: 0.85;
}

.gaz-post-meta__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gaz-post-meta__icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

.gaz-icon--pencil {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231a1a1b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20h9"/><path d="M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"/><path d="M15 5l3 3"/></svg>');
}

.gaz-icon--calendar {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231a1a1b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/><path d="M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01M16 18h.01"/></svg>');
}

.gaz-icon--folder {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231a1a1b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"/></svg>');
}

.gaz-icon--nib {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231a1a1b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20.9 8.9L16 4 3 17l1 4 4-1 12.9-11.1z"/><path d="M11 15l2-2"/><path d="M6 18H4v-2"/></svg>');
}

/* Base Buttons */
.tft-btn {
    display: inline-block;
    padding: 10px 20px;
    font-family: var(--font-ad);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--aged-newsprint);
    background: var(--faded-ink);
    border: 2px solid var(--faded-ink);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
}

.tft-btn:hover {
    background: var(--oxblood-red);
    border-color: var(--oxblood-red);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.tft-btn--full {
    display: block;
    width: 100%;
}

/* Sidebar Widgets Custom Styling */
.gaz-sidebar-widget {
    background: var(--aged-newsprint-darker);
    border: 1px solid var(--faded-ink);
    padding: 25px;
    margin-bottom: 30px;
}

.gaz-sidebar-widget__title,
.widget_block .wp-block-heading,
.widget_block .wp-block-search__label{
    font-family: var(--font-ad);
    font-size: 1.3rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--faded-ink);
    margin-bottom: 20px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    font-weight: bold;
    gap: 10px;
}

.gaz-sidebar-widget__title::before,
.widget_block .wp-block-heading:before,
.widget_block .wp-block-search__label:before{
    content: '';
    width: 10px;
    height: 10px;
    background: var(--oxblood-red);
    display: inline-block;
    margin-right: 10px;
}

.gaz-category-list,
.widget_categories ul{
    list-style: none;
}

.gaz-category-item,
.widget_categories ul li{
    margin-bottom: 8px;
}

.gaz-category-link,
.widget_categories ul li a{
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: var(--faded-ink);
    font-weight: 700;
    transition: color 0.3s;
    padding: 5px 0;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
}

.gaz-category-link:hover ,
.widget_categories ul li a:hov{
    color: var(--oxblood-red);
}

.gaz-category-count, 
.exp-count {
    background: var(--faded-ink);
    color: var(--aged-newsprint);
    padding: 2px 8px;
    font-size: 0.8rem;
    border-radius: 2px;
}

/* Responsive Navigation Fixes */
@media (max-width: 991px) {
    .nav__list {
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-top: 2px solid var(--faded-ink);
    }

    .nav__list--active {
        display: flex;
    }

    .nav__item,
    .nav__list .menu-item{
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav__link,
    .nav__list .menu-item a{
        display: block;
        padding: 15px 20px;
        width: 100%;
    }

    .gaz-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 20px;
        background: rgba(0, 0, 0, 0.03);
        display: none;
    }

    .nav__item:hover>.gaz-dropdown {
        display: block;
    }

    .gaz-dropdown .gaz-dropdown {
        position: static;
        padding-left: 20px;
        transform: none;
    }
}

/* Blog Grid Layout */
.gaz-blog-grid {
    /*display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 2rem;*/
}

.gaz-grid-item {
    /*display: flex;
    flex-direction: column;*/
}

.gaz-grid-item .story__figure {
    /*height: 250px;
    margin-bottom: 20px;*/
}

.gaz-grid-item .vintage-image {
    height: 100%;
    object-fit: cover;
}

/* Blog Masonry Layout (CSS Columns approach) */
.gaz-blog-masonry {
    column-count: 3;
    column-gap: 30px;
    margin-top: 2rem;
}

.gaz-masonry-item {
    break-inside: avoid;
    margin-bottom: 30px;
    display: block;
    background: var(--aged-newsprint-darker);
    border: 1px solid var(--faded-ink);
    padding: 20px;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.05);
}

.gaz-masonry-item .story__figure {
    margin: -20px -20px 20px -20px;
}

@media (max-width: 991px) {
    .gaz-blog-masonry {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gaz-blog-masonry {
        column-count: 1;
    }

    .gaz-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   GAZETA MAGAZINE (HOME-5)
   ========================================= */
.tft-mz-container {
    width: 95%;
    max-width: 1200px;
    height: clamp(500px, 75vh, 800px);
    margin: 5rem auto;
    perspective: 3500px;
    padding: 40px;
    /* Prevent shadow clipping */
}

.tft-mz-book {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.tft-mz-sheet {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    transform-origin: left center;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.tft-mz-sheet--flipped {
    transform: rotateY(-180deg);
}

.tft-mz-face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background-color: var(--aged-newsprint, #ece6d8);
    border: 1px solid var(--faded-ink);
    padding: clamp(1rem, 2.5vw, 2.5rem);
    /* Reduced padding for better text fit */
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    /* Enable scroll */
    scrollbar-width: none;
    /* Firefox */
}

.tft-mz-face::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Edge */
}

.tft-mz-face::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(#noiseFilter)" opacity="0.04"/></svg>');
    opacity: 1;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.tft-mz-face--front {
    transform: rotateY(0deg);
    border-left: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: inset 10px 0 20px rgba(0, 0, 0, 0.05), inset -2px 0 5px rgba(0, 0, 0, 0.02), 5px 5px 15px rgba(0, 0, 0, 0.1);
}

.tft-mz-face--back {
    transform: rotateY(180deg);
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: inset -10px 0 20px rgba(0, 0, 0, 0.05), inset 2px 0 5px rgba(0, 0, 0, 0.02), -5px 5px 15px rgba(0, 0, 0, 0.1);
}

.tft-mz-face--front::after,
.tft-mz-face--back::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 10;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.tft-mz-face--front::after {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
}

.tft-mz-face--back::after {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
}

.tft-mz-content {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tft-mz-cover {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: clamp(1rem, 4vw, 3rem);
    z-index: 5;
}

.tft-mz-cover__inner {
    border: 3px double var(--faded-ink);
    padding: 2rem;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 5;
    position: relative;
}

.tft-mz-cover__title {
    font-family: var(--font-masthead);
    font-size: clamp(3rem, 7vw, 3rem);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.tft-mz-cover__subtitle {
    font-family: var(--font-ad);
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    letter-spacing: 0.2em;
    border-bottom: 2px solid var(--faded-ink);
    padding-bottom: 1rem;
    margin-bottom: auto;
}

.tft-mz-cover__image-wrap {
    margin: 2rem 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--faded-ink);
}

.tft-mz-cover__image-wrap img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.tft-mz-cover__date {
    font-family: var(--font-teleprinter);
    font-size: 0.9rem;
    margin-top: auto;
    border-top: 1px solid var(--faded-ink);
    padding-top: 1rem;
    color: var(--faded-ink);
}

.tft-mz-page__heading {
    font-family: var(--font-masthead);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    border-bottom: 1px solid var(--faded-ink);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight:700;
}

.tft-mz-page__columns {
    column-count: 2;
    column-gap: 2rem;
    column-rule: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
    text-align: justify;
    flex-grow: 1;
}

.tft-mz-page__number {
    position: absolute;
    bottom: 1rem;
    font-family: var(--font-teleprinter);
    color: var(--faded-ink);
    z-index: 10;
}

.tft-mz-face--front .tft-mz-page__number {
    right: 1.5rem;
}

.tft-mz-face--back .tft-mz-page__number {
    left: 1.5rem;
}

.tft-mz-adblock {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 4px double var(--faded-ink);
    padding: 2rem;
    text-align: center;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.02);
}

.tft-mz-btn-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 4rem 0;
}

@media (max-width: 768px) {
    .tft-mz-container {
        height: 60vh;
    }

    .tft-mz-page__columns {
        column-count: 1;
    }

    .tft-mz-cover__title {
        font-size: 3rem;
    }

    .tft-mz-face {
        padding: 1rem;
    }

    .tft-mz-cover__inner {
        padding: 1rem;
    }
}

/* --- MAGAZICA Booklet & Video Grid Updates (2026) --- */

/* Booklet Overlap Fixes for home-5.html */
.tft-mz-container {
    perspective: 2000px;
    padding: clamp(1rem, 5vw, 4rem) 0;
    overflow: hidden;
    /* Prevent bleed */
}

.tft-mz-book {
    position: relative;
    width: min(90vw, 1000px);
    aspect-ratio: 1.4 / 1;
    margin: 0 auto;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tft-mz-sheet {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    transform-origin: left;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    z-index: 1;
}

.tft-mz-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: var(--aged-newsprint);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.05);
    overflow-y: auto;
    scrollbar-width: none;
}

.tft-mz-face::-webkit-scrollbar {
    display: none;
}

.tft-mz-face--back {
    transform: rotateY(-180deg);
}

/* Video Grid for 2-in-a-row in single-video.html */
.tft-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tft-format-video {
    margin: 0;
}

.tft-format-video__play {
    background: var(--oxblood-red);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.tft-format-video__play:hover {
    transform: scale(1.1);
    background: #a00000;
}

.tft-format-video__play::before {
    content: '\25b6';
}

/* =========================================
   THEMEFOREST COMPLIANCE & EXPANSIONS
   ========================================= */

.tft-btn {
    display: inline-block;
    padding-block: 0.8rem;
    padding-inline: 2rem;
    background-color: var(--faded-ink);
    color: var(--aged-newsprint);
    text-decoration: none;
    font-family: var(--font-masthead);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--faded-ink);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tft-btn:hover,
.tft-btn:focus {
    background-color: transparent;
    color: var(--faded-ink);
    outline: 2px solid var(--faded-ink);
    outline-offset: 2px;
}

.gaz-marketplace__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.gaz-market-card {
    border: 1px solid var(--faded-ink);
    padding: 1.5rem;
    background-color: #fff;
    box-shadow: 5px 5px 0 var(--faded-ink);
    transition: transform 0.3s ease;
}

.gaz-market-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 var(--faded-ink);
}

.gaz-innovations {
    border-style: dashed;
    background-color: rgba(255, 255, 255, 0.5);
}

.gaz-innovations__image {
    width: 100%;
    margin-bottom: 1rem;
}

.gaz-science__article {
    background-color: #fff;
    padding: 2rem;
    border: 1px solid var(--faded-ink);
}

.gaz-science__flex {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.gaz-science__image {
    width: 200px;
    height: auto;
}

.gaz-science__content {
    flex: 1;
    min-width: 250px;
}

.gaz-science__headline {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    margin-bottom: 1rem;
}

.gaz-health-vigor {
    background-color: var(--aged-newsprint);
    border-radius: 10px;
    border: 2px solid var(--faded-ink);
    padding: 1.5rem;
}

.gaz-health-vigor__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.gaz-aviator-log {
    width: 100%;
    padding-block: 3rem;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.gaz-aviator-log::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: grayscale(100%);
    z-index: 1;
}

.gaz-aviator-log__inner {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.9);
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 10px double var(--faded-ink);
    max-width: 800px;
    margin-inline: auto;
}

/* Side-by-side Aviator Log in Index */
.gaz-aviator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gaz-aviator-card {
    position: relative;
    padding: 2rem;
    border: 4px double var(--faded-ink);
    background-size: cover;
    background-position: center;
    mix-blend-mode: multiply;
}

.gaz-aviator-card__inner {
    background-color: rgba(244, 241, 234, 0.9);
    padding: 1.5rem;
    border: 1px solid var(--faded-ink);
    text-align: center;
}

.gaz-aviator-card__image {
    border: 4px solid var(--faded-ink);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-block-end: 1rem;
    margin-inline: auto;
    object-fit: cover;
}

/* =========================================
   STANDALONE BOOKLET MODE (HOME-5)
   ========================================= */

.tft-mz-standalone-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.tft-mz-standalone-main .tft-mz-container {
    height: 80vh;
    max-width: 1400px;
    margin: 0 auto;
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-20px);
    /* Visual balance */
}

.gaz-btn-back-home {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: var(--faded-ink);
    color: var(--aged-newsprint);
    text-decoration: none;
    font-family: var(--font-masthead);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--faded-ink);
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 var(--faded-ink);
    margin-top:30px;
}

.gaz-btn-back-home:hover {
    background: transparent;
    color: var(--faded-ink);
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--faded-ink);
}

.gaz-btn-back-home span {
    font-size: 0.9rem;
}

.tft-mz-standalone-main .tft-mz-btn-container {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    z-index: 10;
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .gaz-btn-back-home {
        top: 1rem;
        left: 1rem;
        padding: 0.6rem 1rem;
    }

    .gaz-btn-back-home span {
        display: none;
    }

    .tft-mz-standalone-main .tft-mz-container {
        height: 60vh;
        padding: 10px;
    }
}

@media screen and (max-width: 782px) {
  html {
    margin-top: 0px !important;
  }
}


/* Gazette Lexicon Widget Styling - Sovereign Elite Standard 2026 */
.gaz-lex-container {
    background-color: var(--aged-newsprint) !important;
    border: 3px double var(--faded-ink) !important;
    padding: clamp(1.5rem, 5vw, 2.5rem) !important;
    margin: 2rem auto;
    box-shadow: 12px 12px 0px rgba(26, 26, 27, 0.05);
    position: relative;
    overflow: hidden;
}

.gaz-lex-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--faded-ink);
    padding-bottom: 1.5rem;
}

/* Ensure the title matches other widgets but allows for our sub-text */
.gaz-lex-header .te-title {
    margin-bottom: 0.5rem !important;
}

.gaz-lex-subtitle {
    font-family: var(--font-teleprinter) !important;
    font-size: clamp(0.8rem, 2vw, 0.95rem) !important;
    color: var(--faded-ink);
    opacity: 0.7;
    margin: 0;
    letter-spacing: 1px;
}

.gaz-lex-entry {
    margin-bottom: 3rem;
}

.gaz-lex-entry:last-of-type {
    margin-bottom: 0;
}

.gaz-lex-word {
    font-family: var(--font-masthead) !important;
    font-size: clamp(2.2rem, 6vw, 3.5rem) !important;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--faded-ink);
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
}

.gaz-lex-phonetic {
    font-family: var(--font-teleprinter) !important;
    color: var(--oxblood-red) !important;
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 1.5rem;
    display: block;
    border-bottom: 1px dashed rgba(139, 0, 0, 0.2);
    padding-bottom: 8px;
}

.gaz-lex-pos {
    font-style: italic;
    opacity: 0.6;
    font-size: 0.9em;
    margin-inline-start: 10px;
}

.gaz-lex-definition {
    font-family: var(--font-body) !important;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    text-align: justify;
}

.gaz-lex-definition strong {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-right: 8px;
}

.gaz-lex-example {
    font-family: var(--font-body) !important;
    font-style: italic;
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    border-inline-start: 3px solid var(--oxblood-red);
    padding-inline-start: 1.2rem;
    margin: 0;
    opacity: 0.85;
    line-height: 1.4;
    color: var(--faded-ink);
}

.gaz-lex-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, transparent, var(--faded-ink), transparent);
    margin: 2.5rem 0;
    opacity: 0.2;
}

/* RTL Readiness */
[dir="rtl"] .gaz-lex-example {
    border-inline-start: 3px solid var(--oxblood-red);
    padding-inline-start: 1.2rem;
}

/* --- Magazine Widget Responsive Overrides (Sovereign Elite 2026) --- */
@media (max-width: 991px) {
    .tft-mz-book {
        width: min(95vw, 500px);
        aspect-ratio: 0.7 / 1; /* Portrait mode for single-page view */
    }

    .tft-mz-sheet {
        width: 100%;
        left: 0;
    }

    .tft-mz-face--back {
        transform: rotateY(-180deg);
    }

    /* Adjust content for narrower view */
    .tft-mz-page__columns {
        column-count: 1;
    }

    .tft-mz-cover__title {
        font-size: clamp(2rem, 10vw, 3rem);
    }
}

@media (max-width: 768px) {
    .tft-mz-container {
        height: auto !important;
        min-height: 500px;
        padding-block: 2rem;
    }

    .tft-mz-standalone-main .tft-mz-container {
        height: auto !important;
        padding: 1rem;
    }

    .tft-mz-btn-container {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin-top: 1.5rem;
    }

    .gaz-btn-back-home {
        position: absolute !important;
        top: -3.5rem !important;
        left: 0 !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .tft-mz-book {
        width: 100%;
        aspect-ratio: 0.65 / 1;
    }

    .tft-mz-cover__inner {
        padding: 1rem !important;
    }

    .tft-mz-face {
        padding: 1.5rem !important;
    }
}

