/*
Theme Name: Theater of India
Theme URI: https://theatreofindia.com
Author: Theater of India
Author URI: https://theatreofindia.com
Description: A rich, artistically Indian theme dedicated to the history, culture, and living tradition of Indian theater. Deep burgundy, gold, and cream palette inspired by traditional stage curtains and temple architecture.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: theater-of-india
Tags: blog, entertainment, education, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   CSS RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Theater Curtain */
    --toi-burgundy: #8B1A1A;
    --toi-burgundy-dark: #5C1111;
    --toi-burgundy-light: #A52A2A;
    --toi-burgundy-subtle: #F2E0E0;

    /* Gold Accent - Temple Ornaments */
    --toi-gold: #C9A84C;
    --toi-gold-dark: #A6842E;
    --toi-gold-light: #D4AF61;
    --toi-gold-pale: #F5EDDA;

    /* Warm Neutrals */
    --toi-cream: #FFF8F0;
    --toi-cream-dark: #F5EDE0;
    --toi-parchment: #F0E6D3;
    --toi-sand: #E8DCC8;

    /* Text Colors */
    --toi-text: #2D1810;
    --toi-text-secondary: #5C4033;
    --toi-text-muted: #8B7D6B;

    /* Utility */
    --toi-border: #D4C5B2;
    --toi-white: #FFFFFF;
    --toi-shadow: rgba(45, 24, 16, 0.1);
    --toi-shadow-strong: rgba(45, 24, 16, 0.2);

    /* Spacing */
    --toi-container: 1200px;
    --toi-gap: 2rem;

    /* Transitions */
    --toi-transition: 0.3s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--toi-text);
    background-color: var(--toi-cream);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--toi-burgundy);
    text-decoration: none;
    transition: color var(--toi-transition);
}

a:hover {
    color: var(--toi-gold-dark);
}

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

ul, ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    color: var(--toi-text);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

blockquote {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.35rem;
    font-style: italic;
    color: var(--toi-burgundy);
    border-left: 4px solid var(--toi-gold);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--toi-gold-pale);
    position: relative;
}

blockquote::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--toi-gold);
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

/* ============================================
   INDIAN DECORATIVE ELEMENTS
   ============================================ */
.toi-ornament {
    text-align: center;
    margin: 2.5rem 0;
    position: relative;
}

.toi-ornament::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--toi-gold), transparent);
}

.toi-ornament span {
    background: var(--toi-cream);
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
    color: var(--toi-gold);
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
}

.toi-border-top {
    border-top: 3px solid var(--toi-burgundy);
    position: relative;
}

.toi-border-top::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--toi-gold);
}

.toi-mandala-divider {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
}

.toi-mandala-divider::before,
.toi-mandala-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--toi-gold));
}

.toi-mandala-divider::after {
    background: linear-gradient(to left, transparent, var(--toi-gold));
}

.toi-mandala-divider .mandala-icon {
    width: 40px;
    height: 40px;
    margin: 0 1rem;
    background: var(--toi-burgundy);
    border-radius: 50%;
    position: relative;
    border: 2px solid var(--toi-gold);
}

.toi-mandala-divider .mandala-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--toi-gold);
    border-radius: 50%;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.toi-container {
    max-width: var(--toi-container);
    margin: 0 auto;
    padding: 0 2rem;
}

.toi-container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.toi-grid {
    display: grid;
    gap: var(--toi-gap);
}

.toi-grid-2 { grid-template-columns: repeat(2, 1fr); }
.toi-grid-3 { grid-template-columns: repeat(3, 1fr); }
.toi-grid-4 { grid-template-columns: repeat(4, 1fr); }

.toi-flex {
    display: flex;
    gap: var(--toi-gap);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    background: linear-gradient(135deg, var(--toi-burgundy-dark), var(--toi-burgundy));
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--toi-shadow-strong);
}

.header-top-bar {
    background: var(--toi-burgundy-dark);
    padding: 0.4rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--toi-gold-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.header-main {
    padding: 1rem 0;
}

.header-inner {
    max-width: var(--toi-container);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo-icon {
    width: 50px;
    height: 50px;
    background: var(--toi-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid var(--toi-gold-light);
}

.site-logo-icon::before {
    content: '';
    width: 30px;
    height: 30px;
    border: 2px solid var(--toi-burgundy);
    border-radius: 50%;
}

.site-logo-icon::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--toi-burgundy);
    border-radius: 50%;
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--toi-white);
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.site-title a {
    color: var(--toi-white);
}

.site-title a:hover {
    color: var(--toi-gold-light);
}

.site-tagline {
    font-size: 0.7rem;
    color: var(--toi-gold-light);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 0.15rem;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1.1rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all var(--toi-transition);
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--toi-gold);
    transition: width var(--toi-transition);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--toi-white);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
    width: 60%;
}

/* Dropdown */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--toi-white);
    min-width: 220px;
    box-shadow: 0 10px 30px var(--toi-shadow-strong);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--toi-transition);
    border-top: 3px solid var(--toi-gold);
    flex-direction: column;
    z-index: 100;
}

.main-navigation li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu a {
    color: var(--toi-text);
    padding: 0.7rem 1.25rem;
    font-size: 0.85rem;
    text-transform: none;
    border-bottom: 1px solid var(--toi-cream-dark);
}

.main-navigation .sub-menu a::after {
    display: none;
}

.main-navigation .sub-menu a:hover {
    background: var(--toi-cream);
    color: var(--toi-burgundy);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--toi-white);
    transition: all var(--toi-transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--toi-burgundy-dark) 0%, var(--toi-burgundy) 50%, #6B1515 100%);
    color: var(--toi-white);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(201, 168, 76, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--toi-gold-dark), var(--toi-gold), var(--toi-gold-dark));
}

/* Decorative pattern overlay */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.04;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.05) 35px, rgba(255,255,255,0.05) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,0.05) 35px, rgba(255,255,255,0.05) 70px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--toi-gold);
    border: 1px solid rgba(201, 168, 76, 0.4);
    padding: 0.4rem 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--toi-white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--toi-gold);
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.toi-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all var(--toi-transition);
    text-align: center;
    font-family: 'Lato', sans-serif;
}

.toi-btn-primary {
    background: var(--toi-gold);
    color: var(--toi-burgundy-dark);
}

.toi-btn-primary:hover {
    background: var(--toi-gold-light);
    color: var(--toi-burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

.toi-btn-outline {
    background: transparent;
    color: var(--toi-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.toi-btn-outline:hover {
    border-color: var(--toi-gold);
    color: var(--toi-gold);
    transform: translateY(-2px);
}

.toi-btn-burgundy {
    background: var(--toi-burgundy);
    color: var(--toi-white);
}

.toi-btn-burgundy:hover {
    background: var(--toi-burgundy-dark);
    color: var(--toi-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 26, 26, 0.3);
}

/* ============================================
   SECTIONS
   ============================================ */
.toi-section {
    padding: 5rem 0;
}

.toi-section-alt {
    background: var(--toi-cream-dark);
}

.toi-section-dark {
    background: linear-gradient(135deg, var(--toi-burgundy-dark), var(--toi-burgundy));
    color: var(--toi-white);
}

.toi-section-dark h2,
.toi-section-dark h3 {
    color: var(--toi-white);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--toi-gold-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.toi-section-dark .section-label {
    color: var(--toi-gold-light);
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--toi-text-secondary);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

.toi-section-dark .section-header p {
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   CONTENT PILLAR CARDS (Homepage)
   ============================================ */
.pillar-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background: var(--toi-white);
    border: 1px solid var(--toi-border);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--toi-transition);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--toi-burgundy), var(--toi-gold));
    transform: scaleX(0);
    transition: transform var(--toi-transition);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--toi-shadow);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--toi-burgundy-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--toi-burgundy);
    border: 2px solid var(--toi-burgundy);
}

.pillar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--toi-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.pillar-card .card-link {
    color: var(--toi-burgundy);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pillar-card .card-link:hover {
    color: var(--toi-gold-dark);
}

/* ============================================
   BLOG POST CARDS
   ============================================ */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.post-card {
    background: var(--toi-white);
    border: 1px solid var(--toi-border);
    overflow: hidden;
    transition: all var(--toi-transition);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px var(--toi-shadow);
}

.post-card-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--toi-burgundy), var(--toi-burgundy-light));
    position: relative;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-image .post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--toi-gold);
    color: var(--toi-burgundy-dark);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
}

.post-card-body {
    padding: 1.75rem;
}

.post-card-meta {
    font-size: 0.8rem;
    color: var(--toi-text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1rem;
}

.post-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-card-body h3 a {
    color: var(--toi-text);
}

.post-card-body h3 a:hover {
    color: var(--toi-burgundy);
}

.post-card-body .excerpt {
    color: var(--toi-text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.read-more {
    color: var(--toi-burgundy);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--toi-gold-dark);
    gap: 0.75rem;
}

.read-more::after {
    content: '\2192';
    transition: all var(--toi-transition);
}

/* Featured Post (Large) */
.featured-post {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--toi-white);
    border: 1px solid var(--toi-border);
    overflow: hidden;
    margin-bottom: 3rem;
}

.featured-post .post-card-image {
    height: 100%;
    min-height: 380px;
}

.featured-post .post-card-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-post .post-card-body h3 {
    font-size: 1.6rem;
}

/* ============================================
   TIMELINE (History Section)
   ============================================ */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--toi-gold), var(--toi-burgundy), var(--toi-gold));
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-right: calc(50% + 2rem);
    text-align: right;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: calc(50% + 2rem);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--toi-burgundy);
    border: 3px solid var(--toi-gold);
    border-radius: 50%;
    z-index: 2;
}

.timeline-content {
    background: var(--toi-white);
    padding: 2rem;
    border: 1px solid var(--toi-border);
    position: relative;
}

.timeline-date {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--toi-gold-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--toi-text-secondary);
    font-size: 0.92rem;
}

/* ============================================
   REGIONAL THEATER MAP / GRID
   ============================================ */
.tradition-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tradition-card {
    background: var(--toi-white);
    border: 1px solid var(--toi-border);
    padding: 2rem;
    position: relative;
    transition: all var(--toi-transition);
}

.tradition-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--toi-shadow);
    border-color: var(--toi-gold);
}

.tradition-card .region-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--toi-gold-dark);
    background: var(--toi-gold-pale);
    padding: 0.25rem 0.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tradition-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.tradition-card p {
    color: var(--toi-text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   LEGENDS PROFILES
   ============================================ */
.legend-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.legend-card {
    background: var(--toi-white);
    border: 1px solid var(--toi-border);
    overflow: hidden;
    transition: all var(--toi-transition);
}

.legend-card:hover {
    box-shadow: 0 12px 35px var(--toi-shadow);
}

.legend-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--toi-burgundy-dark), var(--toi-burgundy-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.legend-card-image .initials {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--toi-gold);
    font-weight: 700;
}

.legend-card-body {
    padding: 1.75rem;
}

.legend-card-body .era {
    font-size: 0.75rem;
    color: var(--toi-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.legend-card-body h3 {
    margin-bottom: 0.5rem;
}

.legend-card-body .role {
    color: var(--toi-text-muted);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.legend-card-body p {
    color: var(--toi-text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    background: linear-gradient(135deg, var(--toi-burgundy-dark), var(--toi-burgundy));
    color: var(--toi-white);
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 50%, rgba(201, 168, 76, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

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

.newsletter-inner h2 {
    color: var(--toi-white);
    margin-bottom: 1rem;
}

.newsletter-inner p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.95rem 1.25rem;
    border: 2px solid rgba(201, 168, 76, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--toi-white);
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: all var(--toi-transition);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--toi-gold);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 0.95rem 1.75rem;
    background: var(--toi-gold);
    color: var(--toi-burgundy-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    transition: all var(--toi-transition);
}

.newsletter-form button:hover {
    background: var(--toi-gold-light);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--toi-text);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about .footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--toi-white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer-heading {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--toi-gold);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color var(--toi-transition);
}

.footer-links a:hover {
    color: var(--toi-gold-light);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: var(--toi-gold);
}

/* ============================================
   SINGLE POST
   ============================================ */
.single-post-header {
    background: linear-gradient(135deg, var(--toi-burgundy-dark), var(--toi-burgundy));
    color: var(--toi-white);
    padding: 4rem 0 3rem;
    position: relative;
}

.single-post-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--toi-gold-dark), var(--toi-gold), var(--toi-gold-dark));
}

.single-post-header .post-category-link {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--toi-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.single-post-header h1 {
    color: var(--toi-white);
    font-size: 2.5rem;
    max-width: 800px;
    margin-bottom: 1.5rem;
}

.single-post-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.single-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.single-post-content {
    padding: 3rem 0 5rem;
}

.post-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 2rem;
    font-size: 1.05rem;
}

.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--toi-gold-pale);
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

.post-content ol li {
    list-style: decimal;
    margin-bottom: 0.5rem;
}

.post-content img {
    margin: 2rem 0;
    border: 1px solid var(--toi-border);
}

.post-content figure {
    margin: 2rem 0;
}

.post-content figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--toi-text-muted);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 760px;
    margin: 3rem auto;
    padding: 2.5rem 0 0;
    border-top: 2px solid var(--toi-cream-dark);
}

.post-navigation a {
    display: block;
    padding: 1rem;
    border: 1px solid var(--toi-border);
    transition: all var(--toi-transition);
}

.post-navigation a:hover {
    border-color: var(--toi-gold);
    background: var(--toi-cream);
}

.post-navigation .nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--toi-text-muted);
    margin-bottom: 0.5rem;
}

.post-navigation .nav-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--toi-text);
}

/* ============================================
   PAGE TEMPLATE
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--toi-burgundy-dark), var(--toi-burgundy));
    color: var(--toi-white);
    padding: 3.5rem 0 3rem;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--toi-gold-dark), var(--toi-gold), var(--toi-gold-dark));
}

.page-header h1 {
    color: var(--toi-white);
    font-size: 2.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    margin-top: 0.75rem;
    max-width: 650px;
}

.page-content {
    padding: 3rem 0 5rem;
}

/* ============================================
   SIDEBAR
   ============================================ */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.sidebar .widget {
    background: var(--toi-white);
    border: 1px solid var(--toi-border);
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.sidebar .widget-title {
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--toi-burgundy);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--toi-gold-pale);
    font-weight: 700;
}

.sidebar .widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--toi-cream-dark);
}

.sidebar .widget ul li:last-child {
    border-bottom: none;
}

.sidebar .widget ul li a {
    color: var(--toi-text-secondary);
    font-size: 0.9rem;
}

.sidebar .widget ul li a:hover {
    color: var(--toi-burgundy);
}

/* ============================================
   SEARCH
   ============================================ */
.search-form {
    display: flex;
    gap: 0;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--toi-border);
    background: var(--toi-white);
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--toi-transition);
}

.search-form input[type="search"]:focus {
    border-color: var(--toi-burgundy);
}

.search-form button {
    padding: 0.75rem 1.25rem;
    background: var(--toi-burgundy);
    color: var(--toi-white);
    border: none;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    transition: background var(--toi-transition);
}

.search-form button:hover {
    background: var(--toi-burgundy-dark);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--toi-border);
    font-size: 0.9rem;
    transition: all var(--toi-transition);
}

.pagination a:hover {
    background: var(--toi-burgundy);
    color: var(--toi-white);
    border-color: var(--toi-burgundy);
}

.pagination .current {
    background: var(--toi-burgundy);
    color: var(--toi-white);
    border-color: var(--toi-burgundy);
}

/* ============================================
   COMMENTS
   ============================================ */
.comments-area {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 2rem;
    border-top: 2px solid var(--toi-cream-dark);
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.comment-list {
    margin-bottom: 3rem;
}

.comment {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--toi-cream-dark);
}

.comment-author {
    font-weight: 700;
    color: var(--toi-text);
    margin-bottom: 0.5rem;
}

.comment-meta {
    font-size: 0.8rem;
    color: var(--toi-text-muted);
    margin-bottom: 0.75rem;
}

.comment-body p {
    font-size: 0.95rem;
}

.comment-respond label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--toi-border);
    background: var(--toi-white);
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    outline: none;
    transition: border-color var(--toi-transition);
}

.comment-respond input:focus,
.comment-respond textarea:focus {
    border-color: var(--toi-burgundy);
}

.comment-respond textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-respond .submit {
    background: var(--toi-burgundy);
    color: var(--toi-white);
    padding: 0.85rem 2rem;
    border: none;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all var(--toi-transition);
}

.comment-respond .submit:hover {
    background: var(--toi-burgundy-dark);
}

/* ============================================
   404 PAGE
   ============================================ */
.error-404-content {
    text-align: center;
    padding: 5rem 2rem;
}

.error-404-content .error-code {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    color: var(--toi-burgundy);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.2;
}

.error-404-content h1 {
    margin-bottom: 1rem;
}

.error-404-content p {
    color: var(--toi-text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* ============================================
   INSTITUTES GRID
   ============================================ */
.institute-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.institute-card {
    background: var(--toi-white);
    border: 1px solid var(--toi-border);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: all var(--toi-transition);
}

.institute-card:hover {
    box-shadow: 0 8px 25px var(--toi-shadow);
    border-color: var(--toi-gold);
}

.institute-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--toi-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--toi-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.institute-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.institute-card .location {
    font-size: 0.8rem;
    color: var(--toi-gold-dark);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.institute-card p {
    color: var(--toi-text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.8rem;
    color: var(--toi-text-muted);
}

.breadcrumbs a {
    color: var(--toi-text-muted);
}

.breadcrumbs a:hover {
    color: var(--toi-burgundy);
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
    color: var(--toi-border);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ------------------------------------------
   TABLET LANDSCAPE & SMALL DESKTOP (769px - 1024px)
   ------------------------------------------ */
@media (max-width: 1024px) {

    /* --- Layout --- */
    .toi-container {
        padding: 0 1.5rem;
    }

    .toi-container-narrow {
        padding: 0 1.5rem;
    }

    .toi-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* --- Header & Nav --- */
    .header-inner {
        padding: 0 1.5rem;
    }

    .main-navigation a {
        padding: 0.75rem 0.8rem;
        font-size: 0.82rem;
    }

    /* --- Hero --- */
    .hero-section {
        padding: 5rem 0 4rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    /* --- Pillar Cards --- */
    .pillar-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* --- Blog Post Cards --- */
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* --- Featured Post --- */
    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-post .post-card-image {
        min-height: 280px;
    }

    .featured-post .post-card-body {
        padding: 2rem;
    }

    .featured-post .post-card-body h3 {
        font-size: 1.4rem;
    }

    /* --- Timeline: left-aligned on tablet --- */
    .timeline::before {
        left: 8px;
        transform: none;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-right: 0;
        padding-left: 3rem;
        text-align: left;
        flex-direction: row;
    }

    .timeline-item::before {
        left: 0;
        transform: none;
    }

    /* --- Tradition cards --- */
    .tradition-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    /* --- Sidebar below content --- */
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 2;
    }

    /* --- Footer Grid --- */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* --- Institute Cards --- */
    .institute-cards {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    /* --- Section spacing --- */
    .toi-section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    /* --- Page header --- */
    .page-header {
        padding: 3rem 0 2.5rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    /* --- Single Post --- */
    .single-post-header h1 {
        font-size: 2.2rem;
    }

    /* --- Legend cards --- */
    .legend-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* --- Post navigation --- */
    .post-navigation {
        padding: 2rem 0 0;
    }

    /* --- Comments --- */
    .comments-area {
        padding: 2.5rem 1.5rem;
    }
}

/* ------------------------------------------
   TABLET PORTRAIT (481px - 768px)
   ------------------------------------------ */
@media (max-width: 768px) {

    /* --- Base typography for readability --- */
    html {
        font-size: 15px;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.35rem; }
    h4 { font-size: 1.2rem; }

    body {
        line-height: 1.75;
    }

    p {
        line-height: 1.75;
    }

    /* --- Layout --- */
    .toi-container {
        padding: 0 1.25rem;
    }

    .toi-container-narrow {
        padding: 0 1.25rem;
    }

    .toi-grid-2,
    .toi-grid-3,
    .toi-grid-4 {
        grid-template-columns: 1fr;
    }

    .toi-flex {
        flex-direction: column;
    }

    /* --- Header & Navigation --- */
    .header-top-bar {
        font-size: 0.7rem;
        padding: 0.35rem 1rem;
        letter-spacing: 0.1em;
    }

    .header-main {
        padding: 0.75rem 0;
    }

    .header-inner {
        padding: 0 1.25rem;
        position: relative;
    }

    .site-logo-icon {
        width: 42px;
        height: 42px;
    }

    .site-logo-icon::before {
        width: 24px;
        height: 24px;
    }

    .site-logo-icon::after {
        width: 12px;
        height: 12px;
    }

    .site-title {
        font-size: 1.35rem;
    }

    .site-tagline {
        font-size: 0.6rem;
        letter-spacing: 0.15em;
    }

    /* Hamburger menu toggle */
    .menu-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        -webkit-tap-highlight-color: transparent;
    }

    .menu-toggle span {
        width: 26px;
        height: 2px;
    }

    /* Mobile navigation panel */
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--toi-burgundy-dark);
        padding: 0.5rem 0 1rem;
        box-shadow: 0 10px 30px var(--toi-shadow-strong);
        z-index: 999;
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    /* Touch-friendly nav links (min 44px height) */
    .main-navigation a {
        padding: 0.85rem 1.5rem;
        font-size: 0.92rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .main-navigation a::after {
        display: none;
    }

    /* Sub-menu mobile */
    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.15);
        border-top: none;
        min-width: 0;
    }

    .main-navigation .sub-menu a {
        color: rgba(255, 255, 255, 0.7);
        padding-left: 2.5rem;
        font-size: 0.88rem;
        border-bottom: none;
        min-height: 44px;
    }

    .main-navigation .sub-menu a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--toi-gold-light);
    }

    /* --- Hero Section --- */
    .hero-section {
        padding: 3.5rem 0 3rem;
    }

    .hero-content {
        padding: 0 1.25rem;
    }

    .hero-label {
        font-size: 0.68rem;
        padding: 0.35rem 1.2rem;
        margin-bottom: 1.5rem;
        letter-spacing: 0.25em;
    }

    .hero-title {
        font-size: 2.4rem;
        margin-bottom: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.75;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-cta .toi-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* --- Buttons: touch-friendly 44px minimum --- */
    .toi-btn {
        min-height: 44px;
        padding: 0.9rem 1.75rem;
        font-size: 0.88rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* --- Sections --- */
    .toi-section {
        padding: 3.5rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .section-label {
        font-size: 0.7rem;
        letter-spacing: 0.2em;
    }

    /* --- Pillar Cards: single column --- */
    .pillar-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pillar-card {
        padding: 2rem 1.5rem;
    }

    .pillar-card:hover {
        transform: none;
    }

    .pillar-card .card-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* --- Blog Post Cards: single column --- */
    .post-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .post-card:hover {
        transform: none;
    }

    .post-card-image {
        height: 200px;
    }

    .post-card-body {
        padding: 1.5rem;
    }

    .post-card-body h3 {
        font-size: 1.15rem;
    }

    .post-card-body .excerpt {
        font-size: 0.9rem;
    }

    .read-more {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* --- Featured Post: vertical stack --- */
    .featured-post {
        grid-template-columns: 1fr;
        margin-bottom: 2rem;
    }

    .featured-post .post-card-image {
        min-height: 220px;
        height: 220px;
    }

    .featured-post .post-card-body {
        padding: 1.75rem 1.5rem;
    }

    .featured-post .post-card-body h3 {
        font-size: 1.35rem;
    }

    /* --- Timeline: all left-aligned --- */
    .timeline {
        padding: 1.5rem 0;
    }

    .timeline::before {
        left: 8px;
        transform: none;
    }

    .timeline-item {
        margin-bottom: 2rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-right: 0;
        padding-left: 2.5rem;
        text-align: left;
        flex-direction: row;
    }

    .timeline-item::before {
        left: 0;
        transform: none;
        width: 14px;
        height: 14px;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-content p {
        font-size: 0.88rem;
    }

    /* --- Tradition Cards in dark section --- */
    .tradition-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .tradition-card {
        padding: 1.5rem;
    }

    .tradition-card:hover {
        transform: none;
    }

    .tradition-card h3 {
        font-size: 1.1rem;
    }

    .tradition-card p {
        font-size: 0.88rem;
    }

    /* --- Legend Cards --- */
    .legend-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .legend-card:hover {
        transform: none;
    }

    .legend-card-image {
        height: 180px;
    }

    .legend-card-body {
        padding: 1.5rem;
    }

    /* --- Institute Cards: single column stacking --- */
    .institute-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .institute-card {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .institute-card:hover {
        transform: none;
    }

    .institute-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.1rem;
    }

    /* --- Newsletter: vertical stack --- */
    .newsletter-section {
        padding: 3rem 0;
    }

    .newsletter-inner {
        padding: 0 0.5rem;
    }

    .newsletter-inner h2 {
        font-size: 1.6rem;
    }

    .newsletter-inner p {
        font-size: 0.95rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
        max-width: 100%;
    }

    .newsletter-form input[type="email"] {
        padding: 0.9rem 1rem;
        font-size: 1rem;
        min-height: 48px;
        border-radius: 0;
        width: 100%;
    }

    .newsletter-form button {
        padding: 0.9rem 1.5rem;
        font-size: 0.88rem;
        min-height: 48px;
        width: 100%;
    }

    /* --- Footer: single column --- */
    .site-footer {
        padding: 3rem 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .footer-about .footer-logo {
        font-size: 1.25rem;
    }

    .footer-about p {
        font-size: 0.88rem;
    }

    .footer-heading {
        margin-bottom: 1rem;
    }

    .footer-links a {
        font-size: 0.88rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .footer-links li {
        margin-bottom: 0.25rem;
    }

    .footer-bottom {
        padding: 1.25rem 0;
        font-size: 0.78rem;
    }

    /* --- Sidebar: below content --- */
    .content-with-sidebar {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sidebar {
        order: 2;
    }

    .sidebar .widget {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .sidebar .widget ul li a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* --- Single Post --- */
    .single-post-header {
        padding: 3rem 0 2rem;
    }

    .single-post-header h1 {
        font-size: 1.9rem;
    }

    .single-post-meta {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .single-post-content {
        padding: 2rem 0 3rem;
    }

    .post-content {
        padding: 0 1.25rem;
        font-size: 1rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .post-content h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }

    /* --- Post Navigation --- */
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem auto;
        padding: 1.5rem 0 0;
    }

    .post-navigation a {
        padding: 1rem;
        min-height: 44px;
    }

    /* --- Page Header --- */
    .page-header {
        padding: 2.5rem 0 2rem;
    }

    .page-header h1 {
        font-size: 1.9rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .page-content {
        padding: 2.5rem 0 3.5rem;
    }

    /* --- Pagination --- */
    .pagination {
        gap: 0.35rem;
        margin-top: 2rem;
        flex-wrap: wrap;
    }

    .pagination a,
    .pagination span {
        width: 44px;
        height: 44px;
        font-size: 0.88rem;
    }

    /* --- Comments --- */
    .comments-area {
        padding: 2rem 1.25rem;
    }

    .comments-title {
        font-size: 1.3rem;
    }

    .comment {
        padding: 1.25rem 0;
    }

    .comment-respond .submit {
        min-height: 44px;
        padding: 0.85rem 1.75rem;
        width: 100%;
    }

    .comment-respond input[type="text"],
    .comment-respond input[type="email"],
    .comment-respond input[type="url"],
    .comment-respond textarea {
        padding: 0.85rem 1rem;
        font-size: 1rem;
        min-height: 44px;
    }

    /* --- Search form --- */
    .search-form {
        flex-direction: column;
        gap: 0.5rem;
    }

    .search-form input[type="search"] {
        min-height: 44px;
        padding: 0.85rem 1rem;
        font-size: 1rem;
    }

    .search-form button {
        min-height: 44px;
        padding: 0.85rem 1.25rem;
    }

    /* --- 404 Page --- */
    .error-404-content {
        padding: 3rem 1.25rem;
    }

    .error-404-content .error-code {
        font-size: 5rem;
    }

    .error-404-content h1 {
        font-size: 1.75rem;
    }

    .error-404-content p {
        font-size: 1rem;
    }

    /* --- Decorative elements --- */
    .toi-ornament {
        margin: 1.75rem 0;
    }

    .toi-ornament span {
        font-size: 1.2rem;
        letter-spacing: 0.3rem;
        padding: 0 1rem;
    }

    .toi-mandala-divider {
        margin: 2rem 0;
        height: 40px;
    }

    .toi-mandala-divider .mandala-icon {
        width: 30px;
        height: 30px;
    }

    /* --- Blockquote --- */
    blockquote {
        font-size: 1.15rem;
        padding: 1.25rem 1.5rem;
        margin: 1.5rem 0;
    }

    blockquote::before {
        font-size: 3rem;
        top: -0.25rem;
        left: 0.35rem;
    }

    /* --- WordPress blocks --- */
    .wp-block-quote {
        font-size: 1.15rem;
        padding: 1.25rem 1.5rem;
    }

    .alignwide {
        max-width: 100%;
    }

    .alignfull {
        width: 100vw;
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        left: auto;
        right: auto;
    }

    /* --- Breadcrumbs --- */
    .breadcrumbs {
        font-size: 0.75rem;
        padding: 0.75rem 0;
    }

    /* --- Disable hover transforms on touch --- */
    .pillar-card:active {
        box-shadow: 0 8px 25px var(--toi-shadow);
    }

    .post-card:active {
        box-shadow: 0 8px 25px var(--toi-shadow);
    }
}

/* ------------------------------------------
   SMALL PHONES (320px - 480px)
   ------------------------------------------ */
@media (max-width: 480px) {

    /* --- Base typography --- */
    html {
        font-size: 14px;
    }

    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.55rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }

    /* --- Layout --- */
    .toi-container {
        padding: 0 1rem;
    }

    .toi-container-narrow {
        padding: 0 1rem;
    }

    /* --- Header --- */
    .header-top-bar {
        font-size: 0.62rem;
        padding: 0.3rem 0.75rem;
        letter-spacing: 0.08em;
    }

    .header-main {
        padding: 0.6rem 0;
    }

    .header-inner {
        padding: 0 1rem;
    }

    .site-branding {
        gap: 0.65rem;
    }

    .site-logo-icon {
        width: 36px;
        height: 36px;
    }

    .site-logo-icon::before {
        width: 20px;
        height: 20px;
    }

    .site-logo-icon::after {
        width: 10px;
        height: 10px;
    }

    .site-title {
        font-size: 1.15rem;
    }

    .site-tagline {
        font-size: 0.55rem;
        letter-spacing: 0.1em;
    }

    /* Mobile menu adjustments */
    .menu-toggle span {
        width: 24px;
    }

    .main-navigation {
        max-height: 85vh;
    }

    .main-navigation a {
        padding: 0.9rem 1.25rem;
        font-size: 0.9rem;
    }

    .main-navigation .sub-menu a {
        padding-left: 2rem;
        font-size: 0.85rem;
    }

    /* --- Hero Section --- */
    .hero-section {
        padding: 2.5rem 0 2rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-label {
        font-size: 0.6rem;
        padding: 0.3rem 1rem;
        margin-bottom: 1.25rem;
        letter-spacing: 0.2em;
    }

    .hero-title {
        font-size: 1.85rem;
        margin-bottom: 1rem;
        line-height: 1.25;
    }

    .hero-description {
        font-size: 0.92rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .hero-cta .toi-btn {
        width: 100%;
        max-width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.82rem;
    }

    /* --- Buttons --- */
    .toi-btn {
        min-height: 48px;
        padding: 0.85rem 1.5rem;
        font-size: 0.82rem;
        letter-spacing: 0.08em;
    }

    /* --- Sections --- */
    .toi-section {
        padding: 2.5rem 0;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.55rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .section-label {
        font-size: 0.65rem;
        letter-spacing: 0.18em;
    }

    /* --- Pillar Cards --- */
    .pillar-cards {
        gap: 1rem;
    }

    .pillar-card {
        padding: 1.5rem 1.25rem;
    }

    .pillar-card-icon {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .pillar-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }

    .pillar-card p {
        font-size: 0.88rem;
        margin-bottom: 1.25rem;
    }

    /* --- Blog Post Cards --- */
    .post-grid {
        gap: 1.25rem;
    }

    .post-card-image {
        height: 180px;
    }

    .post-card-image .post-category {
        top: 0.75rem;
        left: 0.75rem;
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
    }

    .post-card-body {
        padding: 1.25rem;
    }

    .post-card-meta {
        font-size: 0.75rem;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .post-card-body h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .post-card-body .excerpt {
        font-size: 0.88rem;
        line-height: 1.65;
        margin-bottom: 1rem;
    }

    .read-more {
        font-size: 0.8rem;
    }

    /* --- Featured Post --- */
    .featured-post .post-card-image {
        min-height: 180px;
        height: 180px;
    }

    .featured-post .post-card-body {
        padding: 1.5rem 1.25rem;
    }

    .featured-post .post-card-body h3 {
        font-size: 1.2rem;
    }

    /* --- Timeline --- */
    .timeline {
        padding: 1rem 0;
    }

    .timeline::before {
        left: 6px;
        width: 2px;
    }

    .timeline-item {
        margin-bottom: 1.5rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 2rem;
    }

    .timeline-item::before {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .timeline-date {
        font-size: 0.88rem;
    }

    .timeline-content h3 {
        font-size: 1.05rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
        line-height: 1.65;
    }

    /* --- Tradition Cards --- */
    .tradition-cards {
        gap: 1rem;
    }

    .tradition-card {
        padding: 1.25rem;
    }

    .tradition-card .region-tag {
        font-size: 0.62rem;
        padding: 0.2rem 0.6rem;
        margin-bottom: 0.75rem;
    }

    .tradition-card h3 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }

    .tradition-card p {
        font-size: 0.85rem;
        line-height: 1.65;
    }

    /* --- Legend Cards --- */
    .legend-cards {
        gap: 1.25rem;
    }

    .legend-card-image {
        height: 150px;
    }

    .legend-card-image .initials {
        font-size: 2.5rem;
    }

    .legend-card-body {
        padding: 1.25rem;
    }

    .legend-card-body .era {
        font-size: 0.68rem;
    }

    .legend-card-body h3 {
        font-size: 1.1rem;
    }

    .legend-card-body .role {
        font-size: 0.85rem;
    }

    .legend-card-body p {
        font-size: 0.85rem;
    }

    /* --- Institute Cards --- */
    .institute-cards {
        gap: 1rem;
    }

    .institute-card {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .institute-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
        font-size: 1rem;
    }

    .institute-card h3 {
        font-size: 1.05rem;
    }

    .institute-card .location {
        font-size: 0.72rem;
        margin-bottom: 0.5rem;
    }

    .institute-card p {
        font-size: 0.85rem;
    }

    /* --- Newsletter --- */
    .newsletter-section {
        padding: 2.5rem 0;
    }

    .newsletter-inner h2 {
        font-size: 1.4rem;
    }

    .newsletter-inner p {
        font-size: 0.88rem;
        margin-bottom: 1.5rem;
    }

    .newsletter-form input[type="email"] {
        padding: 0.85rem 0.9rem;
        font-size: 1rem;
    }

    .newsletter-form button {
        padding: 0.85rem 1.25rem;
        font-size: 0.82rem;
    }

    /* --- Footer --- */
    .site-footer {
        padding: 2.5rem 0 0;
    }

    .footer-grid {
        gap: 1.75rem;
        padding-bottom: 1.5rem;
    }

    .footer-about .footer-logo {
        font-size: 1.15rem;
    }

    .footer-about p {
        font-size: 0.85rem;
    }

    .footer-heading {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding: 1rem 0;
        font-size: 0.72rem;
    }

    /* --- Sidebar --- */
    .sidebar .widget {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .sidebar .widget-title {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .sidebar .widget ul li a {
        font-size: 0.88rem;
    }

    /* --- Single Post --- */
    .single-post-header {
        padding: 2rem 0 1.5rem;
    }

    .single-post-header .post-category-link {
        font-size: 0.68rem;
        margin-bottom: 0.75rem;
    }

    .single-post-header h1 {
        font-size: 1.65rem;
        line-height: 1.3;
    }

    .single-post-meta {
        font-size: 0.8rem;
    }

    .single-post-content {
        padding: 1.5rem 0 2.5rem;
    }

    .post-content {
        padding: 0 1rem;
        font-size: 0.95rem;
    }

    .post-content h2 {
        font-size: 1.35rem;
    }

    .post-content h3 {
        font-size: 1.15rem;
    }

    .post-content p {
        margin-bottom: 1.25rem;
    }

    .post-content ul,
    .post-content ol {
        padding-left: 1.25rem;
    }

    .post-content img {
        margin: 1.5rem 0;
    }

    .post-content figure {
        margin: 1.5rem 0;
    }

    .post-content figcaption {
        font-size: 0.78rem;
    }

    /* --- Post Navigation --- */
    .post-navigation {
        margin: 1.5rem auto;
        padding: 1.25rem 0 0;
    }

    .post-navigation .nav-label {
        font-size: 0.68rem;
    }

    .post-navigation .nav-title {
        font-size: 0.92rem;
    }

    /* --- Page Header --- */
    .page-header {
        padding: 2rem 0 1.5rem;
    }

    .page-header h1 {
        font-size: 1.65rem;
    }

    .page-header p {
        font-size: 0.92rem;
        margin-top: 0.5rem;
    }

    .page-content {
        padding: 2rem 0 2.5rem;
    }

    /* --- Pagination --- */
    .pagination {
        gap: 0.25rem;
        margin-top: 1.5rem;
    }

    .pagination a,
    .pagination span {
        width: 44px;
        height: 44px;
        font-size: 0.85rem;
    }

    /* --- Comments --- */
    .comments-area {
        padding: 1.5rem 1rem;
    }

    .comments-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .comment-respond label {
        font-size: 0.85rem;
    }

    .comment-respond textarea {
        min-height: 120px;
    }

    /* --- Search --- */
    .search-form input[type="search"] {
        font-size: 1rem;
    }

    /* --- 404 --- */
    .error-404-content {
        padding: 2.5rem 1rem;
    }

    .error-404-content .error-code {
        font-size: 4rem;
    }

    .error-404-content h1 {
        font-size: 1.5rem;
    }

    .error-404-content p {
        font-size: 0.92rem;
    }

    /* --- Decorative elements --- */
    .toi-ornament {
        margin: 1.25rem 0;
    }

    .toi-ornament span {
        font-size: 1rem;
        letter-spacing: 0.2rem;
        padding: 0 0.75rem;
    }

    .toi-mandala-divider {
        margin: 1.5rem 0;
        height: 30px;
    }

    .toi-mandala-divider .mandala-icon {
        width: 24px;
        height: 24px;
        margin: 0 0.5rem;
    }

    .toi-mandala-divider .mandala-icon::before {
        width: 12px;
        height: 12px;
    }

    /* --- Blockquote --- */
    blockquote {
        font-size: 1.05rem;
        padding: 1rem 1.25rem;
        padding-left: 1.25rem;
        margin: 1.25rem 0;
    }

    blockquote::before {
        font-size: 2.5rem;
    }

    .wp-block-quote {
        font-size: 1.05rem;
        padding: 1rem 1.25rem;
    }
}

/* ------------------------------------------
   EXTRA SMALL PHONES (max-width: 360px)
   ------------------------------------------ */
@media (max-width: 360px) {

    html {
        font-size: 13.5px;
    }

    .toi-container {
        padding: 0 0.75rem;
    }

    .toi-container-narrow {
        padding: 0 0.75rem;
    }

    .header-inner {
        padding: 0 0.75rem;
    }

    .site-title {
        font-size: 1.05rem;
    }

    .site-tagline {
        display: none;
    }

    .site-logo-icon {
        width: 32px;
        height: 32px;
    }

    .site-logo-icon::before {
        width: 18px;
        height: 18px;
    }

    .site-logo-icon::after {
        width: 8px;
        height: 8px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-label {
        font-size: 0.55rem;
        padding: 0.25rem 0.8rem;
    }

    .hero-description {
        font-size: 0.88rem;
    }

    .pillar-card {
        padding: 1.25rem 1rem;
    }

    .pillar-card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .post-card-image {
        height: 160px;
    }

    .post-card-body {
        padding: 1rem;
    }

    .featured-post .post-card-image {
        min-height: 150px;
        height: 150px;
    }

    .featured-post .post-card-body {
        padding: 1.25rem 1rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 1.75rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .tradition-card {
        padding: 1rem;
    }

    .institute-card {
        padding: 1rem;
    }

    .newsletter-inner h2 {
        font-size: 1.25rem;
    }

    .newsletter-form input[type="email"] {
        padding: 0.75rem;
    }

    .newsletter-form button {
        padding: 0.75rem 1rem;
    }

    .single-post-header h1 {
        font-size: 1.45rem;
    }

    .page-header h1 {
        font-size: 1.45rem;
    }

    .comments-area {
        padding: 1.25rem 0.75rem;
    }

    .error-404-content .error-code {
        font-size: 3rem;
    }
}

/* ------------------------------------------
   LANDSCAPE ORIENTATION ON PHONES
   ------------------------------------------ */
@media (max-width: 768px) and (orientation: landscape) {

    .hero-section {
        padding: 2rem 0 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }

    .hero-cta .toi-btn {
        width: auto;
        max-width: none;
    }

    .toi-section {
        padding: 2.5rem 0;
    }

    .main-navigation {
        max-height: 70vh;
    }

    .pillar-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tradition-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .legend-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form {
        flex-direction: row;
        gap: 0;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        width: auto;
    }

    .newsletter-form input[type="email"] {
        flex: 1;
    }
}

/* ------------------------------------------
   TOUCH INTERACTION SUPPORT
   ------------------------------------------ */
@media (hover: none) and (pointer: coarse) {

    /* Remove hover-only transforms to prevent sticky hover on touch */
    .pillar-card:hover {
        transform: none;
    }

    .post-card:hover {
        transform: none;
    }

    .post-card:hover .post-card-image img {
        transform: none;
    }

    .tradition-card:hover {
        transform: none;
    }

    .legend-card:hover {
        transform: none;
    }

    .institute-card:hover {
        transform: none;
    }

    .toi-btn-primary:hover,
    .toi-btn-outline:hover,
    .toi-btn-burgundy:hover {
        transform: none;
    }

    /* Ensure proper active states for touch feedback */
    .toi-btn:active {
        opacity: 0.85;
    }

    .post-card:active {
        box-shadow: 0 4px 15px var(--toi-shadow);
    }

    .pillar-card:active {
        box-shadow: 0 4px 15px var(--toi-shadow);
    }

    .main-navigation a:active {
        background: rgba(255, 255, 255, 0.08);
    }

    .footer-links a:active {
        color: var(--toi-gold);
    }

    /* Ensure all interactive elements have adequate touch targets */
    .breadcrumbs a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* ------------------------------------------
   HIGH RESOLUTION / RETINA SUPPORT
   ------------------------------------------ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {

    .timeline::before {
        width: 2px;
    }

    .toi-border-top {
        border-top-width: 2px;
    }

    .toi-border-top::after {
        top: 2px;
    }
}

/* ------------------------------------------
   REDUCED MOTION PREFERENCE
   ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {

    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .post-card:hover .post-card-image img {
        transform: none;
    }

    .pillar-card:hover,
    .post-card:hover,
    .tradition-card:hover,
    .legend-card:hover,
    .institute-card:hover,
    .toi-btn:hover {
        transform: none;
    }
}

/* ============================================
   WORDPRESS SPECIFIC OVERRIDES
   ============================================ */
.wp-block-image img {
    border: 1px solid var(--toi-border);
}

.wp-block-quote {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.35rem;
    font-style: italic;
    color: var(--toi-burgundy);
    border-left: 4px solid var(--toi-gold);
    padding: 1.5rem 2rem;
    background: var(--toi-gold-pale);
}

.wp-block-separator {
    border: none;
    border-top: 2px solid var(--toi-gold-pale);
    margin: 2.5rem auto;
    max-width: 200px;
}

.wp-block-gallery {
    margin: 2rem 0;
}

.alignwide {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--toi-cream);
    clip: auto !important;
    clip-path: none;
    color: var(--toi-text);
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
