/* ==========================================================================
   Travel Blog Theme - Clean & Modern CSS (Patched with Ghost fonts + buttons)
   ========================================================================== */

/* === Ghost button deps + Montserrat === */
/* Put this <link> in your theme's <head> (or import via your asset pipeline):
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap" rel="stylesheet">
*/
:root {
    /* Map Ghost’s variables to your palette */
    --accent-color: #ffcb00;
    --ghost-accent-color: #ffcb00;
    --color-gray-900: var(--text-color);

    /* Ghost font family */
    --font-primary: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Global image handling - prevent stretching */
img {
    max-width: 100%;
    height: auto !important;
    width: auto;
    display: block;
}

/* Content images should maintain aspect ratio */
.post-content img,
.page-content img {
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
    border-radius: 0;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-gray-900);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-content h1,
.hero-content .hero-title {
    color: white !important;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e6b800;
}

/* Site Wrapper */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

/* Navigation */
.site-nav {
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.dropdown-arrow {
    font-size: 0.8em;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-item a {
    font-weight: 400 !important;
    text-transform: none !important;
    font-size: 0.85rem !important;
}

.nav-item a:hover {
    color: var(--accent-color);
}

/* Destinations Dropdown */
.nav-item.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.5rem 1rem;
}

.dropdown-item a {
    display: block;
    color: var(--text-color);
    font-size: 0.9rem;
}

.dropdown-item a:hover {
    color: var(--accent-color);
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.search-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* === Ghost-style Buttons mapped to your classes === */
/* Base button */
.button,
.signin-btn,
.signup-btn,
.account-btn,
.newsletter-btn {
    align-items: center;
    border: 2px solid transparent;
    border-radius: 0;
    box-sizing: border-box;
    box-shadow: none;
    color: inherit;
    display: inline-flex;
    font-size: 0.8125rem;       /* 13px */
    font-weight: 600;
    justify-content: center;
    letter-spacing: 0.075em;
    line-height: 1.25;
    padding: 0.75em 1.25em;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .25s, border-color .25s, color .25s;
    vertical-align: middle;
    white-space: nowrap;
}

/* Sizes */
.button-small { font-size: 0.6875rem; padding: 0.25em 0.5em; }
.button-icon  { font-size: 1.125rem; height: 1.5em; line-height: 1; padding: 0; width: 1.5em; }
.button svg   { fill: currentColor; flex-shrink: 0; height: 1em; width: 1em; }

@media (min-width: 640px) {
  .button, .signin-btn, .signup-btn, .account-btn, .newsletter-btn { font-size: 0.9375rem; } /* 15px */
  .button-small { font-size: 0.75rem; }
  .button-icon  { font-size: 1.25rem; }
}

/* Solid style = accent background */
.button-solid,
.signup-btn,
.account-btn {
  background-color: var(--ghost-accent-color);
  border-color: var(--ghost-accent-color);
  color: #fff;
}
.button-solid:hover,
.button-solid:focus,
.button-solid:active,
.signup-btn:hover,
.signup-btn:focus,
.signup-btn:active,
.account-btn:hover,
.account-btn:focus,
.account-btn:active {
  background-color: transparent;
  border-color: var(--color-gray-900);
  color: var(--color-gray-900);
  outline: 0;
}

/* Newsletter button styled like sign-in button */
.newsletter-btn {
  background-color: white;
  border-color: var(--color-gray-900);
  color: var(--color-gray-900);
}
.newsletter-btn:hover,
.newsletter-btn:focus,
.newsletter-btn:active {
  background-color: var(--ghost-accent-color);
  border-color: var(--ghost-accent-color);
  color: #fff;
  outline: 0;
}

/* On dark backgrounds, keep contrast on hover */
.bg-dark .button-solid:hover,
.bg-dark .button-solid:focus,
.bg-dark .button-solid:active {
  border-color: #fff;
  color: #fff;
}

/* Outlined style = for sign-in */
.button-outlined,
.signin-btn {
  background-color: transparent;
  border-color: var(--color-gray-900);
  color: var(--color-gray-900);
}
.bg-dark .button-outlined,
.bg-dark .signin-btn {
  border-color: #fff;
  color: #fff;
}
.button-outlined:hover,
.button-outlined:focus,
.button-outlined:active,
.signin-btn:hover,
.signin-btn:focus,
.signin-btn:active {
  background-color: var(--ghost-accent-color);
  border-color: var(--ghost-accent-color);
  color: #fff;
  outline: 0;
}

/* Clear/ghost style (if you need text-only buttons) */
.button-clear {
  background-color: transparent;
  border: 0;
  color: inherit;
  transition: opacity .25s;
}
.button-clear:hover,
.button-clear:focus,
.button-clear:active {
  background-color: transparent;
  color: inherit;
  opacity: .7;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: white !important;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Section Styles */
.about-section,
.featured-section,
.booking-section,
.recent-posts-section {
    padding: 4rem 0;
}

.about-section {
    background: var(--section-background);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

/* About Section */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.about-photo {
    flex: 0 0 33.333%;
    text-align: center;
    position: sticky;
    top: 2rem;
}

.creator-photo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-color);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.about-text-content {
    flex: 1;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text p:first-child {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
}

.about-text strong {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.about-text br {
    line-height: 1.8;
}

.about-custom-text {
    white-space: pre-line;
}

/* When no photo is present, center the text */
.about-content:not(:has(.about-photo)) {
    justify-content: center;
    text-align: center;
}

.about-content:not(:has(.about-photo)) .about-text-content {
    max-width: 900px;
}

/* Featured Posts */
.featured-posts,
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Top Destinations */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.destination-card {
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    background: var(--background-color);
}

.destination-card:hover {
    transform: translateY(-2px);
}

.destination-card-link {
    display: block;
    text-decoration: none;
}

.destination-card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.destination-card-image.destination-card-placeholder {
    background: var(--accent-color);
}


.destination-card-content {
    padding: 1.5rem;
}

.destination-card-title {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
}

.destination-card-title a {
    color: var(--text-color);
    text-decoration: none;
}

.destination-card-title a:hover {
    color: var(--accent-color);
}

.destination-card-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.destination-card-meta {
    margin-top: 1rem;
}

.destination-card-blog {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Show All Button */
.show-all-button-container {
    text-align: center;
    margin-top: 3rem;
}

.show-all-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    color: var(--text-color);
    border: 2px solid var(--text-color);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.show-all-button:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Featured Post Cards */
.featured-post-card {
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    background: var(--background-color);
}

.featured-post-card:hover {
    transform: translateY(-2px);
}

.featured-post-card-link {
    display: block;
    text-decoration: none;
}

.featured-post-card-background {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.featured-post-card-background.featured-post-card-placeholder {
    background: var(--accent-color);
}

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

.featured-post-card-title {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
}

.featured-post-card-title a {
    color: var(--text-color);
    text-decoration: none;
}

.featured-post-card-title a:hover {
    color: var(--accent-color);
}

.featured-post-card-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.featured-post-card-meta {
    margin-top: 1rem;
}

.featured-post-card-blog {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-card {
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    background: var(--background-color);
}

.post-card:hover {
    transform: translateY(-2px);
}

.post-card-link {
    display: block;
    text-decoration: none;
}

.post-card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.post-card-image.post-card-placeholder {
    background: var(--accent-color);
}


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

.post-card-title {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    line-height: 1.3;
}

.post-card-title a {
    color: var(--text-color);
    text-decoration: none;
}

.post-card-title a:hover {
    color: var(--accent-color);
}

.post-card-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.post-card-meta {
    margin-top: 1rem;
}

.post-card-blog {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Booking Section */
.booking-section {
    background: var(--section-background);
}

.booking-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.booking-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 0;
    text-align: center;
    color: var(--text-color);
    box-shadow: none;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.booking-card:hover {
    border-color: var(--accent-color);
}

.booking-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.booking-card h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.booking-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.booking-btn {
    background-color: transparent;
    border: 2px solid var(--color-gray-900);
    color: var(--color-gray-900);
    display: inline-block;
    padding: 0.75em 1.25em;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.075em;
    font-size: 0.8125rem;
    transition: background-color .25s, border-color .25s, color .25s;
}

.booking-btn:hover,
.booking-btn:focus,
.booking-btn:active {
    background-color: var(--ghost-accent-color);
    border-color: var(--ghost-accent-color);
    color: #fff;
    outline: 0;
}

/* Footer */
.site-footer {
    background: #000000;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-social {
    margin-bottom: 2rem;
}

.footer-social a {
    color: white;
    margin: 0 1rem;
    font-size: 1.2rem;
}

.footer-navigation {
    margin-bottom: 2rem;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.footer-nav-item a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-nav-item a:hover,
.footer-nav-item.nav-current a {
    color: var(--accent-color);
}

.footer-copy {
    color: #ccc;
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

/* Newsletter Signup */
.newsletter-signup {
    background: var(--accent-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1rem;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 0.8rem 1rem;
    border: none;
    font-size: 1rem;
    background: white;
    color: var(--text-color);
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-input::placeholder {
    color: #999;
}

/* Buttons for newsletter are now covered by .newsletter-btn mapped above */

.newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.newsletter-feedback {
    min-height: 1.5rem;
}

.message-success,
.message-error {
    display: none;
    padding: 0.8rem 1rem;

    font-size: 0.9rem;
    margin-top: 1rem;
}

.message-success {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.message-error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Section Footer for Show More Links */
.section-footer {
    margin-top: 3rem;
    text-align: center;
}

.show-more-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    color: var(--text-color);
    border: 2px solid var(--text-color);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.show-more-link:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Related Posts */
.related-posts {
    padding: 3rem 0;
    background: var(--section-background);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    gap: 1rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.pagination a:hover,
.pagination .current {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

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

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

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background-color);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        margin: 0;
        text-align: center;
    }
    
    .nav-item a {
        display: block;
        padding: 0.8rem;
    }
    
    .nav-item.has-dropdown .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        border: none;
        box-shadow: none;
        background: var(--section-background);
        margin: 0;
        padding: 0;
        transition: all 0.3s ease;
    }
    
    .nav-item.has-dropdown .dropdown-menu.dropdown-open {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        padding: 0.5rem 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-item.has-dropdown .dropdown-arrow {
        transform: rotate(0deg);
    }
    
    .nav-item.has-dropdown .dropdown-menu.dropdown-open ~ a .dropdown-arrow,
    .dropdown-open .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .nav-container {
        padding: 1rem;
        flex-wrap: wrap;
    }
    
    .nav-actions {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
    
    .form-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-input {
        min-width: auto;
    }
    
    .featured-posts,
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .post-card-image {
        height: 180px;
    }
    
    .post-card-content {
        padding: 1rem;
    }
    
    .post-card-title {
        font-size: 1rem;
    }
    
    .post-card-excerpt {
        font-size: 0.85rem;
    }
    
    .booking-links {
        grid-template-columns: 1fr;
    }
    
    .about-section,
    .featured-section,
    .booking-section,
    .recent-posts-section {
        padding: 2rem 0;
    }
    
    /* About section mobile layout */
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        align-items: center;
    }
    
    .about-photo {
        flex: none;
        position: static;
    }
    
    .creator-photo {
        width: 220px;
        height: 220px;
    }
    
    .about-text-content {
        flex: none;
        max-width: none;
    }
    
    .about-text {
        text-align: left;
        max-width: 100%;
    }
    
    .footer-nav-list {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-nav-item a {
        font-size: 0.8rem;
    }
}

/* Post Template Styles */
.post-featured-image {
    position: relative;
    width: 100vw;
    max-width: 100%;
    margin: 0 auto 3rem auto;
    height: 80vh;
    overflow: hidden;
    border-radius: 0;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.post-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.post-image-content {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.post-title-overlay {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    color: white;
}

.post-meta-overlay {
    font-size: 0.9rem;
    opacity: 0.9;
}

.post-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

.post-header {
    margin-bottom: 3rem;
}

.post-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 0 0 1.5rem 0;
    font-style: italic;
}

.post-meta {
    margin: 1rem 0;
}

.post-author-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-author-date a {
    color: var(--accent-color);
    text-decoration: none;
}

.post-reading-time {
    margin: 0.5rem 0 2rem 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.post-share {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.post-share h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-transform: uppercase;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--color-gray-900);
    border-radius: 0;
    background: transparent;
    color: var(--color-gray-900);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.share-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.share-btn:hover {
    background: var(--ghost-accent-color);
    border-color: var(--ghost-accent-color);
    color: #fff;
}

.post-content {
    margin: 3rem 0;
    line-height: 1.7;
    font-family: var(--font-primary) !important;
}

.post-content img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Ghost specific image classes */
.gh-content img,
.kg-image-card img,
.gh-article-image {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    float: none !important;
}

.post-content p,
.post-content div,
.post-content span {
    font-family: var(--font-primary) !important;
}

.post-content h1,
.post-content h2, 
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content ul,
.post-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style: none;
}

.post-content li {
    margin: 0.5rem 0;
    position: relative;
}

.post-content ul li::before {
    content: "•";
    position: absolute;
    left: -1.5rem;
    color: var(--accent-color);
}

.post-content ul ul {
    margin-left: 1.5rem;
}

.post-content ul ul li {
    padding-left: 0;
}

.post-content ul ul li::before {
    content: "◦";
}

.post-content ul ul ul li::before {
    content: "▪";
}

.post-content ol li {
    counter-increment: list-counter;
}

.post-content ol {
    counter-reset: list-counter;
}

.post-content ol li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: -1.5rem;
    color: var(--accent-color);
    font-weight: 600;
}

.author-note {
    margin: 3rem 0;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    background: #fafafa;
}

.author-note-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info .author-name {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.author-info .author-bio {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-comments {
    margin: 3rem 0;
}

.read-more-section {
    background: var(--section-background);
    padding: 4rem 0;
    margin-top: 4rem;
}

.read-more-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

.read-more-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
        .post-featured-image {
        height: auto;
        max-height: 50vh;
        width: 100vw;
        margin: 0 auto 2rem auto;
    }
    
    .post-featured-image img {
        height: auto;
        object-fit: contain;
    }
    
    .post-title-overlay {
        font-size: 1.8rem;
    }
    
    .post-image-overlay {
        padding: 1rem;
    }
    
    .post-container {
        padding: 0 0.5rem;
    }
    
    .post-subtitle {
        font-size: 1rem;
    }
    
    .author-note-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .share-buttons {
        justify-content: center;
        flex-direction: column;
    }
    
    .share-buttons .share-btn {
        justify-content: center;
    }
    
    .read-more-container {
        padding: 0 0.5rem;
    }
}

@media (min-width: 769px) {
    .post-container {
        padding: 0 2rem;
    }
    
    .read-more-container {
        padding: 0 2rem;
    }
}

.post-tag {
    display: inline-block;
    padding: 0.25em 0.5em;
    border: 2px solid var(--color-gray-900);
    border-radius: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-gray-900);
    background: transparent;
    text-decoration: none;
    transition: background-color .25s, border-color .25s, color .25s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.post-tag:hover,
.post-tag:focus,
.post-tag:active {
    background-color: var(--ghost-accent-color);
    border-color: var(--ghost-accent-color);
    color: #fff;
    outline: 0;
}

/* ==========================================================================
   Koenig Editor Styles - Required by Ghost
   ========================================================================== */

/* Gallery card */
.kg-gallery-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 2rem auto;
}

.kg-gallery-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 0.25rem 0;
}

.kg-gallery-image img {
    display: block;
    margin: 0;
    max-width: 100%;
    height: auto;
    width: auto;
    border-radius: 0;
    object-fit: contain;
}

.kg-gallery-image {
    flex: 1 1 auto;
    margin: 0 0.25rem;
}

/* Image card */
.kg-image {
    margin: 2rem auto;
    max-width: 100%;
}

.kg-image img {
    max-width: 100%;
    height: auto;
    width: auto;
    border-radius: 0;
}

.kg-image-card {
    margin: 2rem 0;
    text-align: center;
}

.kg-image figcaption {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Width classes - REQUIRED */
.kg-width-wide {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 1200px;
    margin-left: calc(50% - 600px);
    margin-right: calc(50% - 600px);
}

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

/* Card styles */
.kg-card {
    margin: 2rem 0;
    overflow: visible;
}

.kg-embed-card {
    margin: 2rem 0;
    text-align: center;
}

.kg-embed-card iframe {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
}

/* Bookmark card */
.kg-bookmark-card {
    width: 100%;
    margin: 2rem 0;
}

.kg-bookmark-container {
    display: flex;
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--background-color);
    height: 140px;
    min-height: 140px;
    max-height: 140px;
    align-items: stretch;
}

.kg-bookmark-container:hover {
    transform: translateY(-2px);
}

.kg-bookmark-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

/* Bookmark title - with higher specificity for posts and pages */
.kg-bookmark-title,
.post-content .kg-bookmark-title,
.page-content .kg-bookmark-title {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: var(--text-color) !important;
    margin: 0 0 0.3rem 0 !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-family: inherit !important;
}

/* Bookmark description - with higher specificity for posts and pages */
.kg-bookmark-description,
.post-content .kg-bookmark-description,
.page-content .kg-bookmark-description {
    color: var(--text-light) !important;
    font-size: 0.75rem !important;
    margin: 0 0 0.5rem 0 !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-family: inherit !important;
}

/* Bookmark metadata - ensure consistent styling */
.page-content .kg-bookmark-metadata,
.post-content .kg-bookmark-metadata {
    font-size: 0.7rem !important;
    font-family: inherit !important;
}

/* Ensure all bookmark content uses consistent container sizing */
.page-content .kg-bookmark-container,
.post-content .kg-bookmark-container {
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
}

.kg-bookmark-metadata {
    display: flex;
    align-items: center;
    font-size: 0.7rem;
    color: var(--text-light);
}

/* Bookmark icon - strongest specificity to override Ghost defaults */
.kg-bookmark-card .kg-bookmark-metadata .kg-bookmark-icon,
.kg-bookmark-container .kg-bookmark-metadata .kg-bookmark-icon,
.post-content .kg-bookmark-card .kg-bookmark-metadata .kg-bookmark-icon,
.post-content .kg-bookmark-container .kg-bookmark-metadata .kg-bookmark-icon,
.page-content .kg-bookmark-card .kg-bookmark-metadata .kg-bookmark-icon,
.page-content .kg-bookmark-container .kg-bookmark-metadata .kg-bookmark-icon,
img.kg-bookmark-icon,
.kg-bookmark-icon {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    border-radius: 2px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.kg-bookmark-author {
    margin-right: 1rem;
}

.kg-bookmark-publisher {
    color: var(--accent-color);
}

/* Bookmark thumbnail - always match card height */
.kg-bookmark-card .kg-bookmark-thumbnail,
.kg-bookmark-container .kg-bookmark-thumbnail,
.post-content .kg-bookmark-card .kg-bookmark-thumbnail,
.post-content .kg-bookmark-container .kg-bookmark-thumbnail,
.page-content .kg-bookmark-card .kg-bookmark-thumbnail,
.page-content .kg-bookmark-container .kg-bookmark-thumbnail,
.kg-bookmark-thumbnail {
    flex: 0 0 140px !important;
    width: 140px !important;
    height: 100% !important;
    min-height: 140px !important;
    max-height: 140px !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 0 8px 8px 0 !important;
    align-self: stretch !important;
}

/* Bookmark thumbnail image - perfect fit */
.kg-bookmark-card .kg-bookmark-thumbnail img,
.kg-bookmark-container .kg-bookmark-thumbnail img,
.post-content .kg-bookmark-card .kg-bookmark-thumbnail img,
.post-content .kg-bookmark-container .kg-bookmark-thumbnail img,
.page-content .kg-bookmark-card .kg-bookmark-thumbnail img,
.page-content .kg-bookmark-container .kg-bookmark-thumbnail img,
.kg-bookmark-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* Kit/ConvertKit Forms - Ensure they appear on top */
.formkit-form,
.formkit-modal,
.seva-form,
[data-sv-form],
[class*="formkit"],
[class*="seva"] {
    z-index: 9999 !important;
    position: relative !important;
}

.formkit-modal-overlay {
    z-index: 9998 !important;
}

/* Ensure Kit forms can display properly */
.formkit-form[data-format="modal"] {
    display: block !important;
}

/* Kit form backdrop */
.formkit-overlay {
    z-index: 9997 !important;
    position: fixed !important;
}

/* Button card */
.kg-button-card {
    text-align: center;
    margin: 2rem 0;
    border-radius: 0 !important;
}

.kg-button-card .kg-btn {
    display: inline-block;
    padding: 0.75em 1.5em;
    background: var(--ghost-accent-color);
    color: #fff;
    text-decoration: none;
    border: 2px solid var(--ghost-accent-color);
    border-radius: 0 !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9375rem;
    transition: background-color .25s, border-color .25s, color .25s;
    align-items: center;
    justify-content: center;
}

.kg-button-card .kg-btn:hover,
.kg-button-card .kg-btn:focus,
.kg-button-card .kg-btn:active {
    background-color: transparent;
    border-color: var(--color-gray-900);
    color: var(--color-gray-900);
    outline: 0;
}

/* Callout card */
.kg-callout-card {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 4px solid var(--accent-color);
    background: var(--section-background);
    border-radius: 0;
}

.kg-callout-emoji {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Toggle/Accordion card */
.kg-toggle-card {
    margin: 2rem 0;
    border: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
}

.kg-toggle-heading {
    padding: 1rem;
    background: var(--section-background);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kg-toggle-content {
    padding: 0 1rem 1rem;
    display: none;
}

.kg-toggle-card.kg-toggle-card-open .kg-toggle-content {
    display: block;
}

/* Video card */
.kg-video-card {
    margin: 2rem 0;
    text-align: center;
}

.kg-video-card video {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
}

/* File card */
.kg-file-card {
    margin: 2rem 0;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.kg-file-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: white;
    border-radius: 0;
    font-size: 1.2rem;
}

.kg-file-card-contents {
    flex: 1;
}

.kg-file-card-title {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.kg-file-card-caption {
    font-size: 0.9rem;
    color: var(--text-light);
}

.kg-file-card-metadata {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Product card */
.kg-product-card {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.kg-product-card-image {
    flex: 0 0 120px;
}

.kg-product-card-image img {
    max-width: 100%;
    height: auto;
    width: auto;
    border-radius: 0;
}

.kg-product-card-content {
    flex: 1;
}

.kg-product-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.kg-product-card-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.kg-product-card-button {
    display: inline-block;
    padding: 0.75em 1.5em;
    background: var(--ghost-accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    border: 2px solid var(--ghost-accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9375rem;
    transition: background-color .25s, border-color .25s, color .25s;
    align-items: center;
    justify-content: center;
}

.kg-product-card-button:hover,
.kg-product-card-button:focus,
.kg-product-card-button:active {
    background-color: transparent;
    border-color: var(--color-gray-900);
    color: var(--color-gray-900);
    outline: 0;
}

/* Audio card */
.kg-audio-card {
    margin: 2rem 0;
    border: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
}

.kg-audio-card audio {
    width: 100%;
}

/* Mobile responsiveness for cards */
@media (max-width: 768px) {
    .kg-width-wide,
    .kg-width-full {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .kg-bookmark-container {
        flex-direction: row !important;
        height: 120px !important;
        min-height: 120px !important;
        max-height: 120px !important;
    }
    
    .kg-bookmark-thumbnail {
        flex: 0 0 100px !important;
        width: 100px !important;
        height: 100% !important;
        min-height: 120px !important;
        max-height: 120px !important;
        align-self: stretch !important;
        border-radius: 0 8px 8px 0 !important;
        order: 1 !important;
    }
    
    .kg-bookmark-content {
        flex: 1 !important;
        padding: 0.6rem !important;
        justify-content: flex-start !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        min-width: 0 !important;
    }
    
    .kg-bookmark-title {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
        margin: 0 0 0.3rem 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    .kg-bookmark-description {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
        margin: 0 0 0.4rem 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    .kg-bookmark-metadata {
        margin-top: auto !important;
        padding-top: 0.3rem !important;
        font-size: 0.6rem !important;
    }
    
    .kg-product-card {
        flex-direction: column;
        text-align: center;
    }
    
    .kg-product-card-image {
        flex: none;
    }
}

/* ==========================================================================
   Author Page Styles
   ========================================================================== */

.author-header {
    padding: 4rem 0;
    background: var(--section-background);
}

.author-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    gap: 1.5rem;
}

.author-name {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    color: var(--text-color);
    order: 1;
}

.author-avatar-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--ghost-accent-color);
    order: 2;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.author-avatar-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ghost-accent-color);
    color: white;
    font-size: 5rem;
    border: 6px solid var(--ghost-accent-color);
    order: 2;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.author-bio {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    max-width: 500px;
    order: 3;
}

.author-social-links {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    order: 4;
}

.author-social-link {
    color: var(--ghost-accent-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid var(--ghost-accent-color);
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-social-link:hover {
    background: var(--ghost-accent-color);
    color: white;
    transform: translateY(-2px);
}

.author-location {
    color: var(--text-light);
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: var(--section-background);
    border-radius: 25px;
    border: 2px solid var(--border-color);
}

.author-stats {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    order: 5;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: var(--background-color);
    border-radius: 25px;
    border: 2px solid var(--border-color);
}

.author-posts {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .author-name {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    
    .author-avatar-large,
    .author-avatar-placeholder {
        width: 150px;
        height: 150px;
        border-width: 4px;
    }
    
    .author-avatar-placeholder {
        font-size: 4rem;
    }
    
    .author-bio {
        font-size: 1.1rem;
    }
    
    .author-social-links {
        gap: 1rem;
    }
    
    .author-social-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Post author name link styling */
.author-name-link {
    font-size: inherit;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    color: white;
    text-decoration: none;
    margin: 0;
    order: unset;
}

.author-name-link:hover {
    text-decoration: underline;
    color: white;
}

/* ==========================================================================
   Page Template Styles
   ========================================================================== */

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

.page-feature-image {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.page-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.page-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

.page-content {
    margin: 3rem 0;
    line-height: 1.7;
    font-family: var(--font-primary) !important;
}

.page-content p,
.page-content div,
.page-content span {
    font-family: var(--font-primary) !important;
}

.page-content h1,
.page-content h2, 
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.page-content ul,
.page-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style: none;
}

.page-content li {
    margin: 0.5rem 0;
    position: relative;
}

.page-content ul li::before {
    content: "•";
    position: absolute;
    left: -1.5rem;
    color: var(--accent-color);
}

.page-content ul ul {
    margin-left: 1.5rem;
}

.page-content ul ul li {
    padding-left: 0;
}

.page-content ul ul li::before {
    content: "◦";
}

.page-content ul ul ul li::before {
    content: "▪";
}

.page-content ol li {
    counter-increment: list-counter;
}

.page-content ol {
    counter-reset: list-counter;
}

.page-content ol li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: -1.5rem;
    color: var(--accent-color);
    font-weight: 600;
}

.page-content img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    border-radius: 0;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-container {
        padding: 0 0.5rem;
    }
}
