/*
Theme Name: NYCR Modern
Theme URI: https://nyconcertreview.com
Description: Modern, clean evolution of New York Concert Review. Fully PHP 8.2+ compliant.
Version: 2.4.0
Author: Webmaster
*/

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Open+Sans:wght@400;600;700&display=swap');

:root {
    --nycr-red: #e31837;
    --nycr-red-hover: #c4122d;
    --nycr-dark: #222222;
    --nycr-body-text: #444444;
    --nycr-meta: #888888;
    --nycr-bg: #ffffff;
    --nycr-card-bg: #f7f7f6;
    --nycr-border: #e6e6e6;
    --nycr-font-sans: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --nycr-font-serif: 'Playfair Display', Georgia, serif;
    --nycr-font-body: 'Open Sans', 'Raleway', sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--nycr-font-sans);
    color: var(--nycr-body-text);
    background-color: var(--nycr-bg);
    margin: 0;
    padding: 0;
    line-height: 1.65;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--nycr-dark);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover { color: var(--nycr-red); }

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

.site-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header: Logo Left, Menu Right */
#site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--nycr-border);
    padding: 22px 0 18px;
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.site-branding {
    flex-shrink: 0;
    max-width: 420px;
}

.site-branding a { display: inline-block; }

.custom-logo {
    max-height: 85px;
    width: auto;
    display: block;
}

.site-title-text {
    font-family: var(--nycr-font-sans);
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.1;
    color: var(--nycr-red);
}

.site-title-text a { color: var(--nycr-red); }

.site-tagline {
    font-family: var(--nycr-font-sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #777;
    margin: 6px 0 0;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.main-navigation li { position: relative; }

.main-navigation a {
    font-family: var(--nycr-font-sans);
    font-size: 13.5px;
    font-weight: 600;
    color: #333333;
    letter-spacing: 0.3px;
    padding: 6px 0;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: var(--nycr-red);
}

/* Contained 3-Card Carousel Slider */
.nycr-carousel-section {
    padding: 35px 0 25px;
    background: #ffffff;
}

.carousel-outer {
    position: relative;
    padding: 0 45px;
}

.swiper.nycr-carousel-slider {
    width: 100%;
    overflow: hidden;
    padding-bottom: 25px;
}

.swiper-slide.carousel-card {
    height: auto;
    display: flex;
}

.card-inner {
    background: var(--nycr-card-bg);
    border: 1px solid #ebebea;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.card-media {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #e9e9e8;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.card-inner:hover .card-media img {
    transform: scale(1.04);
}

.card-media-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1c1c1c 0%, #2f2f2f 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #e31837;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 15px;
    text-align: center;
}

.card-media-placeholder span {
    color: #ffffff;
    font-size: 11px;
    font-weight: 400;
    margin-top: 4px;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.card-content {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-family: var(--nycr-font-sans);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 10px;
    color: var(--nycr-red);
}

.card-title a { color: var(--nycr-red); }
.card-title a:hover { color: var(--nycr-dark); }

.card-meta {
    font-size: 12px;
    color: var(--nycr-meta);
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.carousel-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--nycr-red);
    color: #ffffff !important;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}

.carousel-btn:hover { background: var(--nycr-red-hover); }
.carousel-btn-prev { left: 0; }
.carousel-btn-next { right: 0; }
.carousel-btn::after { font-size: 14px !important; font-weight: 900; }
.swiper-pagination-bullet { background: #bbb; opacity: 0.6; }
.swiper-pagination-bullet-active { background: var(--nycr-red) !important; opacity: 1; }

/* Editorial Homepage Text & Vertical Dotted Divider */
.editorial-sections {
    padding: 45px 0 60px;
    border-top: 1px solid var(--nycr-border);
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    position: relative;
}

.editorial-col { position: relative; }

.editorial-col:first-child::after {
    content: "";
    position: absolute;
    right: -35px;
    top: 0;
    bottom: 0;
    width: 1px;
    border-right: 1.5px dotted #bbb;
}

.editorial-title {
    font-family: var(--nycr-font-sans);
    font-size: 32px;
    font-weight: 300;
    color: #111;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.editorial-text {
    font-family: var(--nycr-font-body);
    font-size: 14.5px;
    line-height: 1.75;
    color: #555;
    margin-bottom: 24px;
}

.editorial-btn {
    display: inline-flex;
    align-items: center;
    background: var(--nycr-red);
    color: #ffffff !important;
    font-family: var(--nycr-font-sans);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 9px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(227, 24, 55, 0.25);
    transition: background 0.2s ease, transform 0.2s ease;
}

.editorial-btn:hover {
    background: var(--nycr-red-hover);
    transform: translateY(-1px);
}

.editorial-btn span {
    margin-left: 8px;
    font-size: 14px;
}

/* Reviewers Section */
.reviewers-banner {
    position: relative;
    background: linear-gradient(rgba(35, 20, 10, 0.72), rgba(35, 20, 10, 0.82)), url('images/hall-banner.jpg') center/cover no-repeat #4a2e1b;
    padding: 60px 24px;
    margin-bottom: 35px;
    text-align: center;
    color: #ffffff;
    border-bottom: 3px solid var(--nycr-red);
}

.reviewers-banner-quote {
    font-family: var(--nycr-font-serif);
    font-style: italic;
    font-size: 28px;
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.45;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
    letter-spacing: 0.2px;
}

.reviewers-jump-bar {
    background: #fdfdfd;
    border: 1px solid var(--nycr-border);
    border-radius: 4px;
    padding: 12px 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.jump-bar-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #777;
    letter-spacing: 0.8px;
}

.jump-bar-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.jump-bar-links a {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 2px;
    background: #f0f0ef;
    color: #333;
}

.jump-bar-links a:hover {
    background: var(--nycr-red);
    color: #fff;
}

.reviewers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 24px;
    margin-bottom: 60px;
}

.reviewer-card {
    background: #ffffff;
    border: 1px solid var(--nycr-border);
    border-radius: 4px;
    padding: 22px 20px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    border-top: 3px solid var(--nycr-border);
}

.reviewer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border-top-color: var(--nycr-red);
}

.reviewer-card h3,
.reviewer-card .reviewer-name {
    font-family: var(--nycr-font-sans);
    font-size: 19px;
    font-weight: 700;
    color: var(--nycr-red);
    margin: 0 0 6px;
    line-height: 1.25;
}

.reviewer-card .role-title,
.reviewer-card .reviewer-role {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #777;
    letter-spacing: 0.7px;
    margin-bottom: 12px;
    display: block;
}

.reviewer-card p,
.reviewer-card .reviewer-bio {
    font-size: 13.5px;
    line-height: 1.65;
    color: #4a4a4a;
    margin: 0;
    flex-grow: 1;
}

/* About Us Page with Howard Aibel Portrait & Bio Card */
.about-founder-box {
    background: #fafafa;
    border: 1px solid var(--nycr-border);
    border-radius: 4px;
    padding: 24px;
    margin: 25px 0 35px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.about-founder-photo {
    flex-shrink: 0;
    width: 200px;
    text-align: center;
}

.about-founder-photo img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: block;
}

.about-founder-caption {
    font-size: 12px;
    font-weight: 600;
    color: #777;
    margin-top: 8px;
    line-height: 1.4;
    text-align: center;
}

.about-founder-text { flex-grow: 1; }

.about-founder-text h3 {
    font-family: var(--nycr-font-sans);
    font-size: 22px;
    font-weight: 700;
    color: var(--nycr-red);
    margin: 0 0 4px;
}

.about-founder-role {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    display: block;
}

.about-founder-text p {
    font-size: 14.5px;
    line-height: 1.7;
    color: #444;
    margin: 0 0 12px;
}

/* News & Archive Layout */
.archive-header {
    padding: 30px 0 20px;
    border-bottom: 1px solid var(--nycr-border);
    margin-bottom: 30px;
}

.archive-title {
    font-family: var(--nycr-font-sans);
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #111;
}

.news-layout-row {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.news-main-feed {
    flex: 1;
    min-width: 0;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border: 1px solid var(--nycr-border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.news-card-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #eee;
}

.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-thumb img { transform: scale(1.05); }

.news-card-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-category a {
    color: var(--nycr-red);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-title {
    font-size: 18px;
    line-height: 1.35;
    margin: 8px 0;
}

.news-card-title a { color: #222; }
.news-card-title a:hover { color: var(--nycr-red); }

.news-card-meta {
    font-size: 12px;
    color: var(--nycr-meta);
    margin-bottom: 10px;
}

.news-card-excerpt {
    font-size: 13.5px;
    color: #666;
    line-height: 1.55;
}

.news-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-block { margin-bottom: 35px; }

.sidebar-block-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 2px solid var(--nycr-red);
    padding-bottom: 6px;
    margin: 0 0 16px;
    color: #111;
}

.sidebar-category-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-category-nav li {
    padding: 8px 0;
    border-bottom: 1px dotted var(--nycr-border);
    font-size: 13.5px;
}

.sidebar-category-nav a { color: #444; }
.sidebar-category-nav a:hover { color: var(--nycr-red); padding-left: 4px; }

/* Request a Review Technical Flow */
.request-review-wrapper {
    max-width: 900px;
    margin: 30px auto 60px;
}

.section-lead {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 35px;
    line-height: 1.6;
}

.request-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 45px;
}

.spec-card {
    background: #fbfbfb;
    border: 1px solid var(--nycr-border);
    border-radius: 4px;
    padding: 24px 20px;
    position: relative;
    border-top: 3px solid var(--nycr-red);
}

.spec-number {
    font-family: var(--nycr-font-sans);
    font-size: 24px;
    font-weight: 800;
    color: var(--nycr-red);
    opacity: 0.35;
    display: block;
    margin-bottom: 6px;
}

.spec-card h3 {
    font-size: 17px;
    margin: 0 0 8px;
    color: #111;
}

.spec-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Single Review Article */
.single-review-layout {
    max-width: 820px;
    margin: 30px auto 60px;
}

.entry-header { margin-bottom: 24px; }

.entry-title {
    font-family: var(--nycr-font-sans);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px;
    color: #111;
}

.entry-meta {
    font-family: var(--nycr-font-sans);
    font-size: 12px;
    color: #888;
    border-bottom: 1px solid var(--nycr-border);
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.post-featured-media { margin-bottom: 28px; }
.post-featured-media img { border-radius: 4px; width: 100%; }

.entry-content {
    font-family: var(--nycr-font-body);
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.entry-content p { margin-bottom: 1.6em; }

.single-post #secondary,
.single-post .sidebar-right,
.single-post .site-sidebar {
    display: none !important;
}

/* Footer */
#site-footer {
    background: #ffffff;
    border-top: 1px solid var(--nycr-border);
    padding: 30px 0;
    font-size: 12px;
    color: #888;
    text-align: center;
}

#site-footer p { margin: 0; }

@media (max-width: 900px) {
    .header-inner { flex-direction: column; text-align: center; gap: 16px; }
    .main-navigation ul { justify-content: center; }
    .editorial-grid { grid-template-columns: 1fr; gap: 36px; }
    .editorial-col:first-child::after { display: none; }
    .news-layout-row { flex-direction: column; }
    .news-sidebar { width: 100%; }
    .reviewers-grid { grid-template-columns: 1fr 1fr; }
    .request-cards-row { grid-template-columns: 1fr; }
    .about-founder-box { flex-direction: column; align-items: center; text-align: center; }
    .about-founder-photo { width: 180px; }
}

@media (max-width: 640px) {
    .carousel-outer { padding: 0; }
    .carousel-btn { display: none !important; }
    .news-cards-grid { grid-template-columns: 1fr; }
    .reviewers-grid { grid-template-columns: 1fr; }
}