/*
Theme Name: Maroon Club 2027
Theme URI: #
Author: Joseph
Description: Custom WordPress theme for Maroon Club 2027
Version: 2.5
Text Domain: maroonclub2027
*/

:root {
    --maroon: #7a1f2b;
    --maroon-dark: #5d1620;
    --maroon-deep: #481019;
    --maroon-soft: #b58f95;
    --cream: #f4efef;
    --white: #ffffff;
    --text: #241f21;
    --muted: #6d6366;
    --shadow: 0 18px 45px rgba(0,0,0,0.10);
    --shadow-soft: 0 10px 26px rgba(0,0,0,0.08);
    --container: 1280px;
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --header-height: 96px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #f2f1f2;
    line-height: 1.5;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

/* top bar */
.topbar {
    background: var(--maroon-deep);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

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

.topbar-left {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.topbar-right {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar-right a {
    color: #fff;
    font-weight: 700;
}

/* header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 300;
    transition: 0.25s ease;
}

.site-header.scrolled {
    backdrop-filter: blur(10px);
}

.header-shell {
    padding: 14px 0;
}

.main-nav-shell {
    min-height: var(--header-height);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-radius: 999px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 14px 18px 14px 20px;
}

.site-branding {
    min-width: 0;
}

.logo-text {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--maroon);
}

.logo-mark {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    box-shadow: 0 10px 22px rgba(122,31,43,0.20);
    overflow: hidden;
    flex: 0 0 56px;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-name {
    display: flex;
    flex-direction: column;
    line-height: 1;
    min-width: 0;
}

.logo-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--maroon);
}

.logo-subtitle {
    margin-top: 5px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--muted);
    font-weight: 800;
}

.main-nav {
    min-width: 0;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #3b2c31;
    font-weight: 800;
    font-size: 15px;
}

.nav-menu a:hover {
    color: var(--maroon);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 800;
    transition: 0.25s ease;
}

.nav-button-primary {
    background: var(--maroon);
    color: #fff;
}

.nav-button-primary:hover {
    transform: translateY(-2px);
}

.menu-toggle,
.menu-close {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--maroon);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

body.home .main-nav {
    display: none;
}

body.home .main-nav-shell {
    grid-template-columns: auto 1fr auto;
}

body.home .nav-actions {
    justify-self: end;
}

/* overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #4d121c 0%, #7a1f2b 55%, #9b3645 100%);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-overlay-inner {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 22px 0 30px;
}

.menu-overlay-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 34px;
}

.menu-overlay-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.menu-overlay-brand .logo-title,
.menu-overlay-brand .logo-subtitle {
    color: #fff;
}

.menu-overlay-brand .logo-subtitle {
    opacity: 0.82;
}

.menu-overlay-brand .logo-mark {
    box-shadow: none;
}

.menu-overlay-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: start;
}

.overlay-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.overlay-nav-menu li {
    margin: 0 0 14px;
}

.overlay-nav-menu a {
    color: #fff;
    font-size: clamp(2rem, 4.8vw, 4rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.overlay-nav-menu a:hover {
    color: #f8d7dc;
}

.overlay-side-panel {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 28px;
    padding: 26px;
    backdrop-filter: blur(10px);
}

.overlay-side-panel h3 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    line-height: 1;
}

.overlay-side-panel p {
    margin: 0 0 18px;
    color: rgba(255,255,255,0.88);
}

.overlay-links {
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
}

.overlay-links a {
    color: #fff;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 14px 16px;
    font-weight: 700;
}

.overlay-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.overlay-pill {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.menu-overlay-bottom {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.14);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.88);
    font-size: 14px;
}

.menu-overlay-bottom a {
    color: #fff;
    font-weight: 700;
}

/* homepage */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 26px 0 70px;
    background:
        radial-gradient(circle at 12% 10%, rgba(255,255,255,0.08), transparent 16%),
        radial-gradient(circle at 88% 15%, rgba(255,255,255,0.06), transparent 16%),
        linear-gradient(135deg, #4d121c 0%, #7a1f2b 55%, #9b3645 100%);
}

.hero-bg-shape {
    position: absolute;
    border-radius: 999px;
    opacity: 0.16;
    pointer-events: none;
}

.hero-shape-1 {
    width: 760px;
    height: 760px;
    border: 2px solid rgba(255,255,255,0.18);
    top: -300px;
    right: -180px;
}

.hero-shape-2 {
    width: 540px;
    height: 540px;
    border: 2px solid rgba(255,255,255,0.12);
    bottom: -240px;
    left: -140px;
}

.hero-shape-3 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,228,232,0.14), transparent 70%);
    right: 8%;
    bottom: 8%;
    filter: blur(12px);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 34px;
    align-items: center;
    min-height: 650px;
}

.hero-content {
    color: #fff;
    padding: 28px 0 10px;
}

.eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 800;
    margin: 0 0 14px;
    opacity: 0.95;
}

.hero-content h1 {
    margin: 0 0 18px;
    font-size: clamp(3.2rem, 7vw, 6.4rem);
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.hero-text {
    max-width: 560px;
    font-size: 1.08rem;
    color: rgba(255,255,255,0.92);
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-pill {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: 0.25s ease;
}

.btn-primary {
    background: #fff;
    color: var(--maroon);
}

.btn-light {
    background: rgba(255,255,255,0.16);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.20);
}

.btn-primary:hover,
.btn-light:hover {
    transform: translateY(-2px);
}

.hero-card {
    position: relative;
}

.hero-media {
    position: relative;
    overflow: hidden;
    min-height: 610px;
    border-radius: 34px;
    box-shadow: 0 26px 60px rgba(0,0,0,0.18);
}

.hero-media img {
    width: 100%;
    height: 610px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0,0,0,0.60), rgba(0,0,0,0.14)),
        linear-gradient(to right, rgba(122,31,43,0.18), rgba(122,31,43,0.02));
}

.hero-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.90);
    color: var(--maroon);
    font-size: 13px;
    font-weight: 800;
}

.hero-caption {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
    color: #fff;
    max-width: 620px;
}

.hero-card-kicker {
    font-size: 13px;
    margin: 0 0 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-caption h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
}

.hero-caption p {
    margin: 0 0 14px;
    color: rgba(255,255,255,0.92);
}

.hero-caption a {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
}

.quick-links-section {
    margin-top: -42px;
    position: relative;
    z-index: 5;
    padding-bottom: 34px;
}

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

.quick-link-card {
    background: rgba(255,255,255,0.96);
    color: var(--maroon);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
    min-height: 108px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    font-weight: 800;
}

.home-section,
.news-preview-section,
.cta-banner,
.page-main,
.single-post-main,
.project-cards-section,
.promo-banner-section {
    background: #f2f1f2;
}

.home-section {
    padding: 0 0 82px;
}

.home-panel,
.news-preview-feature,
.news-card,
.page-content-wrap,
.single-post-card,
.single-sidebar-card {
    background: #fff;
    border-radius: 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.home-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 24px;
    align-items: stretch;
}

.home-panel {
    padding: 36px;
}

.section-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    color: var(--maroon);
    margin: 0 0 10px;
}

.section-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    color: var(--maroon);
}

.home-copy {
    margin: 18px 0 24px;
    color: #4c5560;
    font-size: 1.02rem;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.stat-box {
    background: var(--cream);
    border-radius: 18px;
    padding: 18px;
}

.stat-box strong {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--maroon);
    margin-bottom: 8px;
}

.stat-box span {
    font-size: 14px;
    color: #5c6671;
    font-weight: 700;
}

.home-card-image {
    position: relative;
    min-height: 100%;
}

.home-card-image img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.home-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.58), rgba(0,0,0,0.08));
}

.home-card-content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    color: #fff;
}

.home-card-content h3 {
    margin: 0 0 10px;
    font-size: 2rem;
    line-height: 1;
}

.home-card-content p {
    margin: 0;
    color: rgba(255,255,255,0.92);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 24px;
}

.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.feature-box h3 {
    margin: 0 0 10px;
    color: var(--maroon);
    font-size: 1.35rem;
}

.feature-box p {
    margin: 0;
    color: #4f5964;
}

/* project cards - maroon version */
.project-cards-section {
    padding: 0 0 84px;
}

.project-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 24px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, #7a1f2b 0%, #5d1620 100%);
    box-shadow: var(--shadow);
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.project-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-content {
    position: relative;
    flex: 1;
    padding: 28px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(172deg, rgba(255,255,255,0) 0 8%, rgba(0,0,0,0) 8% 100%),
        linear-gradient(180deg, #7a1f2b 0%, #5d1620 100%);
}

.project-card-content::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -12px;
    height: 110px;
    background:
        radial-gradient(circle at left bottom, rgba(255,255,255,0.18), transparent 26%),
        radial-gradient(circle at right bottom, rgba(255,214,220,0.20), transparent 32%);
    pointer-events: none;
}

.project-card-top {
    position: relative;
    z-index: 2;
}

.project-card h3 {
    margin: 0 0 14px;
    font-size: 2rem;
    line-height: 1;
    color: #fff;
}

.project-card p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.95);
}

.project-card-actions {
    position: relative;
    z-index: 2;
    margin-top: 26px;
}

.project-card-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px 12px 20px;
    background: #fff;
    color: var(--maroon);
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
}

.project-card-button .arrow-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* promo banner - maroon version */
.promo-banner-section {
    padding: 0 0 84px;
}

.promo-banner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #7a1f2b 0%, #5d1620 100%);
}

.promo-banner-media {
    min-height: 380px;
    position: relative;
}

.promo-banner-media img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
}

.promo-banner-copy {
    position: relative;
    color: #fff;
    padding: 42px 42px 42px 54px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(115deg, transparent 0 8%, rgba(122,31,43,1) 8% 100%);
}

.promo-banner-copy::after {
    content: "";
    position: absolute;
    right: -5%;
    bottom: -10%;
    width: 70%;
    height: 50%;
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.12), transparent 45%),
        radial-gradient(circle at right bottom, rgba(255,220,228,0.18), transparent 40%);
    pointer-events: none;
}

.promo-banner-copy h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 0.96;
    color: #fff;
}

.promo-banner-copy p {
    position: relative;
    z-index: 2;
    margin: 0 0 28px;
    font-size: 1rem;
    color: rgba(255,255,255,0.95);
    max-width: 560px;
}

.promo-banner-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px 14px 24px;
    background: #fff;
    color: var(--maroon);
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    align-self: flex-start;
}

.promo-banner-button .arrow-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.news-preview-section {
    padding: 0 0 84px;
}

.news-preview-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 24px;
    margin-top: 24px;
}

.news-preview-feature img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.news-preview-content,
.news-card-content {
    padding: 24px;
}

.news-chip {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f4ecef;
    color: var(--maroon);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 14px;
}

.news-preview-content h3,
.news-card-content h3 {
    margin: 0;
    color: var(--maroon);
    line-height: 1.15;
}

.news-preview-content a,
.news-card-content a {
    color: inherit;
}

.news-side-stack {
    display: grid;
    gap: 24px;
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.cta-banner {
    padding: 0 0 90px;
}

.cta-banner-inner {
    background: linear-gradient(135deg, #4b0b18 0%, #7b1730 100%);
    color: #fff;
    border-radius: 32px;
    padding: 40px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
}

.cta-banner-inner h2 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.cta-banner-inner p {
    margin: 0;
    color: rgba(255,255,255,0.88);
    max-width: 700px;
}

/* inner pages */
.page-main,
.single-post-main {
    padding: 28px 0 90px;
}

.page-banner {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    min-height: 320px;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
    background: linear-gradient(135deg, #4d121c 0%, #7a1f2b 55%, #9b3645 100%);
}

.page-banner.has-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0,0,0,0.58), rgba(0,0,0,0.12)),
        linear-gradient(to right, rgba(122,31,43,0.16), rgba(122,31,43,0.02));
}

.page-banner-content {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 32px;
    color: #fff;
    max-width: 760px;
}

.page-banner-content p {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: 800;
}

.page-banner-content h1 {
    margin: 0;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 0.98;
}

.page-content-wrap {
    padding: 42px;
}

.page-entry {
    max-width: 980px;
}

.page-entry h2,
.page-entry h3,
.page-entry h4 {
    color: var(--maroon);
}

.page-entry p,
.page-entry li {
    color: #4a4a4a;
    font-size: 1.02rem;
}

.page-entry ul,
.page-entry ol {
    padding-left: 22px;
}

/* single post */
.single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.single-post-inner {
    padding: 34px;
}

.single-post-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.single-meta-chip {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f4ecef;
    color: var(--maroon);
    font-size: 12px;
    font-weight: 800;
}

.single-post-title {
    margin: 0 0 10px;
    color: var(--maroon);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.single-post-author {
    margin-bottom: 22px;
    color: var(--muted);
    font-weight: 700;
}

.single-featured-image {
    margin-bottom: 28px;
    overflow: hidden;
    border-radius: 20px;
}

.single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-content {
    color: #444;
    font-size: 1.04rem;
}

.single-post-content p {
    margin: 0 0 18px;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    color: var(--maroon);
    margin-top: 28px;
}

.single-post-content ul,
.single-post-content ol {
    padding-left: 22px;
    margin-bottom: 20px;
}

.single-post-content li {
    margin-bottom: 8px;
}

.single-post-tags {
    margin-top: 26px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.single-tag {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f4ecef;
    color: var(--maroon);
    font-size: 12px;
    font-weight: 800;
}

.single-sidebar-card {
    padding: 22px;
    position: sticky;
    top: 120px;
}

.single-sidebar-card h3 {
    margin: 0 0 16px;
    color: var(--maroon);
}

.sidebar-post-link {
    display: block;
    color: inherit;
    margin-bottom: 18px;
}

.sidebar-post-thumb {
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 12px;
}

.sidebar-post-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.sidebar-post-date {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.sidebar-post-text strong {
    color: var(--maroon);
    line-height: 1.2;
    display: block;
}

/* footer */
.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--maroon);
    color: #fff;
    padding-top: 54px;
}

.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    left: -5%;
    width: 110%;
    border-radius: 50%;
    pointer-events: none;
}

.site-footer::before {
    top: 78px;
    height: 120px;
    background: rgba(255,255,255,0.22);
    transform: rotate(2deg);
}

.site-footer::after {
    top: 132px;
    height: 130px;
    background: rgba(255,255,255,0.10);
    transform: rotate(-2deg);
}

.footer-upper {
    position: relative;
    z-index: 2;
    padding-bottom: 34px;
}

.footer-brand-center {
    display: flex;
    justify-content: center;
    margin-bottom: 34px;
}

.footer-brand-stack {
    text-align: center;
    color: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-brand-stack .logo-mark {
    box-shadow: none;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.22);
}

.footer-brand-stack .logo-title,
.footer-brand-stack .logo-subtitle {
    color: #fff;
}

.footer-card {
    background: rgba(255,255,255,0.88);
    color: var(--maroon);
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
}

.footer-copy {
    font-size: 15px;
    font-weight: 500;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-socials a {
    color: var(--maroon);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-socials svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
}

.footer-lower {
    display: none;
}

/* responsive */
@media (max-width: 1180px) {
    .menu-overlay-content,
    .hero-grid,
    .home-grid,
    .news-preview-grid,
    .single-layout,
    .promo-banner {
        grid-template-columns: 1fr;
    }

    .quick-links-grid,
    .feature-grid,
    .project-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-banner-inner {
        grid-template-columns: 1fr;
    }

    .single-sidebar-card {
        position: static;
        top: auto;
    }
}

@media (max-width: 920px) {
    .topbar {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .main-nav-shell {
        grid-template-columns: auto 1fr auto;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-media,
    .hero-media img {
        height: 440px;
        min-height: 440px;
    }

    .hero-caption {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }

    .overlay-nav-menu a {
        font-size: clamp(2rem, 10vw, 3.2rem);
    }

    .stat-row,
    .quick-links-grid,
    .feature-grid,
    .project-cards-grid {
        grid-template-columns: 1fr;
    }

    .promo-banner-copy {
        padding: 28px;
        background: linear-gradient(180deg, #7a1f2b 0%, #5d1620 100%);
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 22px, var(--container));
    }

    .header-shell {
        padding: 12px 0 0;
    }

    .main-nav-shell {
        min-height: 84px;
        padding: 13px 14px 13px 16px;
        border-radius: 24px;
        gap: 14px;
    }

    .logo-mark {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 16px;
        flex-basis: 46px;
    }

    .logo-title {
        font-size: 15px;
    }

    .logo-subtitle {
        font-size: 10px;
    }

    .nav-button-primary {
        display: none;
    }

    .menu-toggle,
    .menu-close {
        width: 46px;
        height: 46px;
    }

    .hero-section {
        padding: 20px 0 56px;
    }

    .hero-content h1 {
        font-size: 2.7rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-media,
    .hero-media img {
        height: 340px;
        min-height: 340px;
    }

    .hero-caption h2 {
        font-size: 1.7rem;
    }

    .quick-link-card {
        min-height: 92px;
        padding: 18px;
    }

    .home-panel,
    .news-preview-content,
    .news-card-content,
    .feature-box,
    .cta-banner-inner,
    .page-content-wrap,
    .single-post-inner,
    .single-sidebar-card,
    .project-card-content,
    .promo-banner-copy {
        padding: 24px;
    }

    .project-card {
        min-height: 430px;
    }

    .project-card h3 {
        font-size: 1.7rem;
    }

    .page-banner,
    .page-banner.has-image img {
        min-height: 250px;
        height: 250px;
    }

    .page-banner-content {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .menu-overlay-inner {
        padding-top: 18px;
    }

    .overlay-side-panel {
        padding: 20px;
        border-radius: 22px;
    }

    .footer-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-brand-center {
        margin-bottom: 24px;
    }
}