/*
Theme Name: GJSTPA Theme
Theme URI: https://gjstpa.local
Author: Thomas Bloem
Description: Custom theme for Godfrey Johnson School of Theatre & Performing Arts
Version: 3.4
Text Domain: gjstpa-theme
*/

/* -----------------------------------------------------------
   GLOBAL RESET
----------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

main {
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}

/* -----------------------------------------------------------
   WORDPRESS BASICS
----------------------------------------------------------- */

.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
}

.custom-logo-link img.custom-logo,
.site-branding .custom-logo {
    width: 250px !important;
    max-width: 250px !important;
    height: auto !important;
    display: block;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

.wp-block-image {
    margin: 0 0 24px;
}

.wp-block-image img,
.page-content img,
.single-post-content img {
    max-width: 100%;
    height: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 14px;
    color: #bdbdbd;
    margin-top: 8px;
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100%;
    max-width: 100%;
}

/* -----------------------------------------------------------
   TOP BAR
----------------------------------------------------------- */

.top-bar {
    position: relative;
    z-index: 1001;
    background: #050505;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-bar-left span {
    font-size: 12px;
    color: #d4b06a;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 700;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(212, 176, 106, 0.5);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.social-icon:hover {
    background: #d4b06a;
    color: #111;
    border-color: #d4b06a;
}

/* -----------------------------------------------------------
   HEADER
----------------------------------------------------------- */

.site-header {
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 34px 0;
}

.site-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 1 auto;
    min-width: 0;
}

.site-branding-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.text-logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.site-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    max-width: 360px;
}

.site-title-text {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

.site-tagline {
    margin: 6px 0 0;
    color: #d4b06a;
    font-size: 11px;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

/* -----------------------------------------------------------
   NAVIGATION
----------------------------------------------------------- */

.main-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.main-nav ul,
.main-nav .nav-list {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav ul li,
.main-nav .nav-list li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li a,
.main-nav .nav-list li a {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: color 0.25s ease;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a,
.main-nav ul li.current-page-ancestor a,
.main-nav ul li.current-menu-parent a,
.main-nav .nav-list li a:hover,
.main-nav .nav-list li.current-menu-item a,
.main-nav .nav-list li.current-page-ancestor a,
.main-nav .nav-list li.current-menu-parent a {
    color: #d4b06a;
}

/* -----------------------------------------------------------
   MOBILE TOGGLE
----------------------------------------------------------- */

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 6px;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px 0;
    background: #fff;
    border-radius: 2px;
}

/* -----------------------------------------------------------
   HERO
----------------------------------------------------------- */

.hero {
    min-height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.78)),
        url('https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 310px 32px 110px;
}

.hero-overlay {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.hero-kicker {
    color: #d4b06a;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin: 0 0 18px;
}

.hero h1 {
    max-width: 950px;
    font-size: 82px;
    line-height: 1.02;
    margin: 0 0 26px;
    font-weight: 700;
    letter-spacing: -1.8px;
}

.hero-text {
    max-width: 760px;
    font-size: 22px;
    line-height: 1.5;
    margin: 0 0 34px;
    color: #e4e4e4;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-button,
.blog-read-more,
.wp-block-button__link,
.button,
input[type="submit"],
button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 28px;
    background: #d4b06a;
    color: #111;
    font-weight: 700;
    border: 1px solid #d4b06a;
    border-radius: 6px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.hero-button:hover,
.blog-read-more:hover,
.wp-block-button__link:hover,
.button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    background: #e2be78;
    border-color: #e2be78;
    transform: translateY(-1px);
}

.hero-button-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(212, 176, 106, 0.9);
}

.hero-button-outline:hover {
    background: rgba(212, 176, 106, 0.12);
    color: #fff;
}

/* -----------------------------------------------------------
   INNER PAGE HERO
----------------------------------------------------------- */

.inner-hero {
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 260px 32px 72px;
}

.inner-hero-overlay {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.inner-hero-kicker {
    margin: 0 0 12px;
    color: #d4b06a;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 700;
}

.inner-hero-title {
    margin: 0;
    color: #fff;
    font-size: 72px;
    line-height: 1.02;
    letter-spacing: -1.2px;
}

/* -----------------------------------------------------------
   GENERAL SECTIONS
----------------------------------------------------------- */

.featured-courses,
.why-choose-us,
.callout {
    padding: 96px 32px;
}

.section-intro {
    max-width: 820px;
    margin: 0 auto 54px;
    text-align: center;
}

.section-kicker,
.section-label {
    margin: 0 0 10px;
    color: #d4b06a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.section-intro h2 {
    font-size: 44px;
    line-height: 1.15;
    margin: 0 0 14px;
}

.section-intro p {
    margin: 0;
    color: #cfcfcf;
    font-size: 18px;
}

/* -----------------------------------------------------------
   GRIDS
----------------------------------------------------------- */

.course-grid,
.why-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 28px;
}

.course-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* -----------------------------------------------------------
   CARDS
----------------------------------------------------------- */

.course-card,
.why-card {
    background: #0d0d0d;
    border: 1px solid #232323;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover,
.why-card:hover {
    transform: translateY(-5px);
    border-color: #4a3c23;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.course-image {
    height: 230px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.course-content {
    padding: 26px 22px 28px;
}

.course-content h3,
.why-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.25;
}

.course-content p,
.why-card p {
    margin: 0 0 18px;
    color: #c7c7c7;
    font-size: 16px;
}

.course-content a {
    color: #d4b06a;
    font-weight: 700;
}

.course-content a:hover {
    color: #e3c27f;
}

.why-card {
    padding: 30px 24px;
}

/* -----------------------------------------------------------
   CALLOUT
----------------------------------------------------------- */

.callout {
    background: linear-gradient(180deg, #111 0%, #050505 100%);
    text-align: center;
}

.callout-inner {
    max-width: 860px;
    margin: 0 auto;
}

.callout h2 {
    font-size: 44px;
    line-height: 1.14;
    margin: 0 0 16px;
}

.callout p {
    margin: 0 0 30px;
    color: #d5d5d5;
    font-size: 18px;
}

/* -----------------------------------------------------------
   PAGE CONTENT
----------------------------------------------------------- */

.page-main {
    min-height: 70vh;
    background: #000;
}

.page-content-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 95px 32px 110px;
}

.page-content-wrap.no-inner-hero {
    padding-top: 245px;
}

.page-title {
    font-size: 56px;
    line-height: 1.1;
    margin: 0 0 24px;
    color: #fff;
}

.page-content {
    max-width: 760px;
}

.page-content p {
    font-size: 20px;
    line-height: 1.7;
    color: #d5d5d5;
    margin: 0 0 20px;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    color: #fff;
    margin-top: 36px;
    margin-bottom: 16px;
}

.page-content ul,
.page-content ol {
    margin: 0 0 24px 24px;
    color: #d5d5d5;
}

.page-content li {
    margin-bottom: 10px;
}

.page-content a {
    color: #d4b06a;
}

.page-content a:hover {
    color: #e3c27f;
}

.page-content blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    border-left: 3px solid #d4b06a;
    background: #0a0a0a;
    color: #e1e1e1;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
}

.page-content table th,
.page-content table td {
    padding: 12px 14px;
    border: 1px solid #252525;
    text-align: left;
}

.page-content table th {
    background: #101010;
    color: #fff;
}

.page-content table td {
    color: #d5d5d5;
    background: #090909;
}

/* -----------------------------------------------------------
   COURSES PAGE MODULES
----------------------------------------------------------- */

.courses-page {
    background: #000;
}

.courses-hero {
    position: relative;
    padding: 250px 0 90px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.82)),
        url('https://images.unsplash.com/photo-1503095396549-807759245b35?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.courses-hero .section-label {
    margin-bottom: 14px;
}

.courses-hero h1 {
    max-width: 900px;
    margin: 0 0 18px;
    font-size: 74px;
    line-height: 1.02;
    color: #fff;
    letter-spacing: -1.3px;
}

.courses-hero .intro-text {
    max-width: 780px;
    margin: 0;
    color: #d8d8d8;
    font-size: 21px;
    line-height: 1.65;
}

.courses-page .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    padding-top: 90px;
    padding-bottom: 20px;
}

.course-module {
    display: flex;
}

.courses-page .course-card {
    width: 100%;
    background: linear-gradient(180deg, #101010 0%, #0a0a0a 100%);
    border: 1px solid #252525;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.courses-page .course-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 176, 106, 0.45);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

.course-header {
    padding: 28px 28px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(212, 176, 106, 0.05) 0%, rgba(212, 176, 106, 0.01) 100%);
}

.course-tag {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 7px 12px;
    border: 1px solid rgba(212, 176, 106, 0.32);
    border-radius: 999px;
    color: #d4b06a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    background: rgba(212, 176, 106, 0.06);
}

.courses-page .course-header h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
    color: #fff;
}

.courses-page .course-content {
    padding: 26px 28px 30px;
}

.course-overview,
.course-focus {
    margin-bottom: 26px;
}

.course-overview:last-child,
.course-focus:last-child {
    margin-bottom: 0;
}

.courses-page .course-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.3;
    color: #fff;
}

.courses-page .course-content p {
    margin: 0;
    color: #d2d2d2;
    font-size: 17px;
    line-height: 1.8;
}

.courses-page .course-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.courses-page .course-content ul li {
    position: relative;
    margin: 0 0 12px;
    padding-left: 22px;
    color: #d5d5d5;
    font-size: 16px;
    line-height: 1.7;
}

.courses-page .course-content ul li:last-child {
    margin-bottom: 0;
}

.courses-page .course-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d4b06a;
    opacity: 0.95;
}

.combined-courses-intro {
    padding: 40px 0 16px;
}

.section-heading {
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 16px;
    font-size: 48px;
    line-height: 1.12;
    color: #fff;
}

.section-heading p {
    margin: 0;
    color: #cfcfcf;
    font-size: 18px;
    line-height: 1.75;
}

.combined-course-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(212, 176, 106, 0.08);
    border: 1px solid rgba(212, 176, 106, 0.24);
    color: #f2e0ba;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

/* -----------------------------------------------------------
   COURSES TEMPLATE HEADER FIX
----------------------------------------------------------- */

body.page-template-page-courses .site-header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 0;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1002;
}

body.page-template-page-courses .site-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 78px;
}

body.page-template-page-courses .site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 90px);
}

body.page-template-page-courses .site-branding-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}


body.page-template-page-courses .site-brand-text {
    max-width: 260px;
}

body.page-template-page-courses .main-nav {
    margin-left: auto;
}

body.page-template-page-courses .courses-hero {
    padding: 56px 0 90px;
    min-height: auto;
}

body.page-template-page-courses.admin-bar .site-header {
    top: 0;
}

/* -----------------------------------------------------------
   CONTACT PAGE
----------------------------------------------------------- */

.contact-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: start;
}

.contact-card {
    background: #0d0d0d;
    border: 1px solid #232323;
    border-radius: 18px;
    padding: 34px 30px;
}

.contact-card-primary {
    border-color: #3d321d;
}

.contact-kicker {
    margin: 0 0 10px;
    color: #d4b06a;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
}

.contact-card h2 {
    margin: 0 0 16px;
    font-size: 40px;
    line-height: 1.1;
    color: #fff;
}

.contact-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #fff;
}

.contact-card p {
    margin: 0 0 18px;
    color: #d5d5d5;
    font-size: 18px;
    line-height: 1.7;
}

.contact-detail-group {
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid #1f1f1f;
}

.contact-detail-group p {
    margin-bottom: 0;
}

.contact-card a {
    color: #d4b06a;
}

.contact-card a:hover {
    color: #e3c27f;
}

.contact-note {
    margin-top: 24px;
    padding: 18px 20px;
    background: rgba(212, 176, 106, 0.08);
    border: 1px solid rgba(212, 176, 106, 0.24);
    border-radius: 12px;
    color: #e2e2e2;
}

/* -----------------------------------------------------------
   FORMS
----------------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
}

textarea {
    min-height: 160px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #d4b06a;
    box-shadow: 0 0 0 3px rgba(212, 176, 106, 0.12);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #fff;
}

/* -----------------------------------------------------------
   BLOG ARCHIVE
----------------------------------------------------------- */

.blog-main {
    background: #000;
}

.blog-archive-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 95px 32px 110px;
}

.blog-archive-wrap.no-inner-hero {
    padding-top: 245px;
}

.blog-archive-header {
    max-width: 820px;
    margin: 0 auto 50px;
    text-align: center;
}

.blog-archive-header.compact {
    margin-bottom: 50px;
}

.blog-archive-intro {
    margin: 0;
    font-size: 18px;
    color: #cfcfcf;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.blog-card {
    background: #0d0d0d;
    border: 1px solid #232323;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: #4a3c23;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.blog-card-image-link {
    display: block;
}

.blog-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-card-image-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #111 0%, #1c1c1c 100%);
}

.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    margin-bottom: 10px;
    font-size: 13px;
    color: #d4b06a;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.blog-card-title {
    margin: 0 0 14px;
    font-size: 30px;
    line-height: 1.2;
}

.blog-card-title a {
    color: #fff;
}

.blog-card-title a:hover {
    color: #d4b06a;
}

.blog-card-excerpt {
    color: #d5d5d5;
    font-size: 16px;
    margin-bottom: 22px;
}

.blog-card-excerpt p {
    margin: 0;
}

.blog-read-more {
    min-height: 48px;
    padding: 12px 20px;
}

.blog-pagination {
    margin-top: 50px;
    text-align: center;
}

.blog-pagination .nav-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #2b2b2b;
    border-radius: 8px;
    color: #fff;
    background: #0d0d0d;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: #d4b06a;
    color: #111;
    border-color: #d4b06a;
}

.blog-empty {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 0;
}

.blog-empty h2 {
    margin: 0 0 10px;
    font-size: 36px;
}

.blog-empty p {
    margin: 0;
    color: #cfcfcf;
}

/* -----------------------------------------------------------
   SINGLE POST
----------------------------------------------------------- */

.single-post-main {
    background: #000;
}

.single-post-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 245px 32px 110px;
}

.single-post-header {
    max-width: 820px;
    margin-bottom: 36px;
}

.single-post-title {
    margin: 0 0 16px;
    font-size: 64px;
    line-height: 1.04;
    color: #fff;
    letter-spacing: -1.2px;
}

.single-post-meta {
    color: #d4b06a;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.single-post-featured-image-wrap {
    margin-bottom: 36px;
    border-radius: 18px;
    overflow: hidden;
}

.single-post-featured-image {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.single-post-content {
    max-width: 760px;
}

.single-post-content p,
.single-post-content li {
    font-size: 20px;
    line-height: 1.8;
    color: #d5d5d5;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    color: #fff;
    margin-top: 36px;
    margin-bottom: 16px;
}

.single-post-content a {
    color: #d4b06a;
}

.single-post-content a:hover {
    color: #e3c27f;
}

.single-post-content blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    border-left: 3px solid #d4b06a;
    background: #0a0a0a;
    color: #e1e1e1;
}

.single-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
}

.single-post-content table th,
.single-post-content table td {
    padding: 12px 14px;
    border: 1px solid #252525;
    text-align: left;
}

.single-post-content table th {
    background: #101010;
    color: #fff;
}

.single-post-content table td {
    color: #d5d5d5;
    background: #090909;
}

.single-post-back {
    margin-top: 40px;
}

/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */

.site-footer {
    background: #050505;
    border-top: 1px solid #1b1b1b;
    padding: 34px 32px;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    flex-wrap: wrap;
}

.site-footer h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.site-footer p {
    margin: 0;
    color: #bdbdbd;
    font-size: 15px;
}

/* -----------------------------------------------------------
   ADMIN BAR FIX
----------------------------------------------------------- */

body.admin-bar .site-header {
    top: 87px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 101px;
    }
}

/* -----------------------------------------------------------
   RESPONSIVE
----------------------------------------------------------- */

@media (max-width: 1200px) {
    .hero h1,
    .courses-hero h1 {
        font-size: 62px;
    }

    .course-grid,
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .courses-page .course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .courses-hero {
        padding: 220px 0 76px;
    }

    .courses-hero h1 {
        font-size: 54px;
    }

    .courses-hero .intro-text {
        font-size: 19px;
    }

    .section-heading h2 {
        font-size: 40px;
    }

    .courses-page .course-header h2 {
        font-size: 30px;
    }

    body.page-template-page-courses .courses-hero {
        padding: 60px 0 76px;
    }
}

@media (max-width: 900px) {
    .hero {
        min-height: 90vh;
        padding-top: 260px;
    }

    .hero h1 {
        font-size: 52px;
        line-height: 1.05;
    }

    .hero-text {
        font-size: 20px;
    }

    .inner-hero-title,
    .single-post-title {
        font-size: 52px;
    }

    .why-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .section-intro h2,
    .callout h2,
    .section-heading h2 {
        font-size: 36px;
    }

    .page-title {
        font-size: 44px;
    }

    .courses-page .course-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .top-bar-inner {
        padding: 10px 20px;
        flex-direction: column;
        justify-content: center;
    }

    .site-header {
        top: 74px;
        padding: 18px 0;
    }

    .site-header-inner {
        position: relative;
        padding: 0 20px;
        gap: 16px;
    }

    .site-branding {
        gap: 12px;
        max-width: 78%;
    }

    .custom-logo-link img.custom-logo,
    .site-branding .custom-logo {
        width: 100px !important;
        max-width: 100px !important;
        height: auto !important;
    }

    .site-title-text {
        font-size: 13px;
    }

    .site-tagline {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
        flex-shrink: 0;
        position: relative;
        z-index: 10001;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 20px;
        width: 220px;
        background: rgba(0, 0, 0, 0.96);
        border: 1px solid #333;
        border-radius: 10px;
        padding: 10px 0;
        margin-left: 0;
        z-index: 9999;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav ul,
    .main-nav .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .main-nav ul li,
    .main-nav .nav-list li {
        width: 100%;
    }

    .main-nav ul li a,
    .main-nav .nav-list li a {
        display: block;
        width: 100%;
        padding: 12px 18px;
        font-size: 15px;
    }

    .hero {
        padding: 280px 20px 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
        max-width: 100%;
    }

    .hero-text {
        font-size: 19px;
    }

    .inner-hero {
        min-height: 340px;
        padding: 205px 20px 48px;
    }

    .inner-hero-title,
    .single-post-title {
        font-size: 42px;
    }

    .featured-courses,
    .why-choose-us,
    .callout {
        padding: 78px 20px;
    }

    .section-intro {
        margin-bottom: 40px;
    }

    .section-intro h2,
    .callout h2,
    .section-heading h2 {
        font-size: 32px;
    }

    .section-intro p,
    .callout p,
    .section-heading p {
        font-size: 17px;
    }

    .course-grid,
    .why-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .page-content-wrap,
    .blog-archive-wrap {
        padding: 50px 20px 80px;
    }

    .page-content-wrap.no-inner-hero,
    .blog-archive-wrap.no-inner-hero,
    .single-post-wrap {
        padding-top: 185px;
    }

    .page-title {
        font-size: 38px;
    }

    .page-content p,
    .single-post-content p,
    .single-post-content li,
    .contact-card p {
        font-size: 18px;
    }

    .blog-card-title {
        font-size: 26px;
    }

    .contact-card {
        padding: 26px 22px;
    }

    .contact-card h2 {
        font-size: 32px;
    }

    .courses-hero {
        padding: 205px 0 64px;
    }

    .courses-hero h1 {
        font-size: 42px;
        line-height: 1.06;
    }

    .courses-hero .intro-text {
        font-size: 18px;
    }

    .courses-page .course-grid {
        padding-top: 64px;
        gap: 24px;
    }

    .course-header,
    .courses-page .course-content {
        padding-left: 22px;
        padding-right: 22px;
    }

    .courses-page .course-header h2 {
        font-size: 27px;
    }

   /* -----------------------------------------------------------
   HARD FIX: COURSES PAGE HEADER
----------------------------------------------------------- */

.site-header-courses {
    position: relative !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    padding: 18px 0 !important;
    background: #000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1002;
}

.site-header-inner-courses {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 78px;
}

.site-branding-courses {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 90px);


.site-brand-text-courses {
    max-width: 260px;
}

.main-nav-courses {
    margin-left: auto;
}

.courses-page .courses-hero {
    padding-top: 56px !important;
}

/* -----------------------------------------------------------
   MOBILE FIX: COURSES PAGE HEADER
----------------------------------------------------------- */

@media (max-width: 768px) {
    .site-header-courses {
        padding: 12px 0 !important;
    }

    .site-header-inner-courses {
        padding: 0 20px !important;
        min-height: 64px;
        gap: 12px;
    }

    .site-branding-courses {
        max-width: calc(100% - 64px);
        gap: 8px;
        align-items: center;
    }

    .site-header-courses .custom-logo-link img.custom-logo,
    .site-header-courses .site-branding .custom-logo {
        width: 74px !important;
        max-width: 74px !important;
        height: auto !important;
    }

    .site-brand-text-courses {
        display: none !important;
    }

    .site-header-courses .nav-toggle {
        display: block;
        margin-left: auto;
        padding: 4px;
        position: relative;
        z-index: 10002;
    }

    .main-nav-courses {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        right: 20px;
        width: calc(100% - 40px);
        max-width: 320px;
        background: #050505;
        border: 1px solid rgba(212, 176, 106, 0.22);
        border-radius: 12px;
        padding: 8px 0;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.38);
        z-index: 10001;
    }

    .main-nav-courses.is-open {
        display: block;
    }

    .main-nav-courses ul,
    .main-nav-courses .nav-list {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .main-nav-courses ul li,
    .main-nav-courses .nav-list li {
        width: 100%;
    }

    .main-nav-courses ul li a,
    .main-nav-courses .nav-list li a {
        display: block;
        width: 100%;
        padding: 14px 18px;
        font-size: 16px;
    }

    .courses-page .courses-hero {
        padding-top: 34px !important;
        padding-bottom: 56px !important;
    }

    .courses-page .courses-hero h1 {
        font-size: 34px !important;
        line-height: 1.08;
        max-width: 100%;
    }

    .courses-page .courses-hero .intro-text {
        font-size: 17px !important;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .site-header-courses .custom-logo-link img.custom-logo,
    .site-header-courses .site-branding .custom-logo {
        width: 64px !important;
        max-width: 64px !important;
    }

    .courses-page .courses-hero h1 {
        font-size: 30px !important;
    }

    .courses-page .courses-hero .intro-text {
        font-size: 16px !important;
    }
}
/* -----------------------------------------------------------
   COURSES TEMPLATE SAFE FIX
----------------------------------------------------------- */

.courses-template-page .courses-page {
    position: relative;
    z-index: 1;
}

.courses-template-page .courses-hero {
    padding-top: 140px;
}

@media (max-width: 768px) {
    .courses-template-page .courses-hero {
        padding-top: 120px;
        padding-bottom: 56px;
    }

    .courses-template-page .courses-hero h1 {
        font-size: 34px;
        line-height: 1.08;
    }

    .courses-template-page .courses-hero .intro-text {
        font-size: 17px;
        line-height: 1.7;
    }

    .courses-template-page .site-branding {
        max-width: calc(100% - 64px);
    
    .courses-template-page .site-brand-text {
        display: none;
    }

    .courses-template-page .main-nav {
        top: calc(100% + 12px);
        right: 20px;
        width: calc(100% - 40px);
        max-width: 320px;
        background: #050505;
        border: 1px solid rgba(212, 176, 106, 0.22);
        border-radius: 12px;
        padding: 8px 0;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.38);
        z-index: 10001;
    }

    .courses-template-page .main-nav ul,
    .courses-template-page .main-nav .nav-list {
        width: 100%;
    }

    .courses-template-page .main-nav ul li a,
    .courses-template-page .main-nav .nav-list li a {
        padding: 14px 18px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .courses-template-page .custom-logo-link img.custom-logo,
    .courses-template-page .site-branding .custom-logo {
        width: 64px !important;
        max-width: 64px !important;
    }

    .courses-template-page .courses-hero h1 {
        font-size: 30px;
    }

    .courses-template-page .courses-hero .intro-text {
        font-size: 16px;
    }
@media (min-width: 769px) {
    body.page-template-page-courses .custom-logo-link img.custom-logo,
    body.page-template-page-courses .site-branding .custom-logo {
        width: auto !important;
        max-width: 100% !important;
    }
}


