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

/* Hamburger toggle base styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle .bar {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

@media (max-width: 768px) {
    /* Mobile nav: show hamburger, hide links until toggled */
    .menu-toggle { display: block; }
    nav { position: relative; }
    /* Hide legacy dropdown completely in mobile; overlay replaces it */
    .nav-links,
    .nav-links.open {
        display: none !important;
        position: absolute;
        right: 15px;
        top: 70px;
        flex-direction: column;
        background: var(--secondary-color);
        padding: 12px 16px;
        border-radius: 12px;
        box-shadow: var(--box-shadow);
    }
    .nav-links li { margin: 8px 0; }
    .nav-links a { color: var(--light-color); }
}

/* Overlay Hamburger Menu (full-screen) */
.button_container {
    position: absolute;
    top: 20px;
    right: 20px;
    height: 27px;
    width: 35px;
    cursor: pointer;
    z-index: 1000;
    transition: opacity .25s ease;
}
.button_container:hover { opacity: .8; }
.button_container span {
    background: var(--primary-color);
    border: none;
    height: 5px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .35s ease;
}
.button_container span:nth-of-type(2) { top: 11px; }
.button_container span:nth-of-type(3) { top: 22px; }
.button_container.active .top {
    transform: translateY(11px) rotate(45deg);
    background: var(--light-color);
}
.button_container.active .middle {
    opacity: 0;
    background: var(--light-color);
}
.button_container.active .bottom {
    transform: translateY(-11px) rotate(-45deg);
    background: var(--light-color);
}

.overlay {
    position: fixed;
    background: var(--primary-color);
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    z-index: 2000;
}
.overlay-close {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 34px;
    color: var(--light-color);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2100;
    line-height: 1;
    padding: 4px 8px;
}
.overlay-close:hover { opacity: 0.85; }
.overlay.open {
    opacity: .95;
    visibility: visible;
    height: 100%;
}
.overlay nav {
    position: relative;
    max-height: 70%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-family: 'Varela Round', sans-serif;
    font-weight: 400;
    text-align: center;
    color: var(--light-color);
    overflow-y: auto;
    padding: 0 20px;
}
.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
}
.overlay li {
    display: block;
    min-height: 44px;
    position: relative;
    opacity: 0;
    margin: 10px 0;
}
.overlay.open li { animation: fadeInRight .4s ease forwards; }
.overlay a {
    display: block;
    position: relative;
    color: var(--light-color);
    text-decoration: none;
    overflow: hidden;
}
.overlay a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    transform: translateX(-50%);
    height: 3px;
    background: var(--light-color);
    transition: .35s;
}
.overlay a:hover::after,
.overlay a:focus::after { width: 100%; }

@keyframes fadeInRight {
    0% { opacity: 0; left: 20%; }
    100% { opacity: 1; left: 0; }
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #533254;
    --primary-light: #6a4069;
    --secondary-color: #DFBD55;
    --secondary-light: #FBD847;
    --dark-color: #000000;
    --light-color: #ffffff;
    --background-color: #f8f9fa;
    --text-color: #533254;
    --accent-color: #BB941C;
    --gradient-primary: linear-gradient(135deg, #533254 0%, #6a4069 100%);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --header-bg: var(--secondary-color);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--background-color);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
    position: relative;
}

a:hover {
    color: var(--primary-light);
}

a.animated-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-light);
    transition: var(--transition);
}

a.animated-link:hover:after {
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

/* Button Styles */
button, .button, input[type="submit"] {
    background: var(--gradient-primary);
    color: var(--light-color);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

button:hover, .button:hover, input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(106, 48, 147, 0.3);
}

/* Card Styles */
.card, .blog-post, .related-post, .comment {
    background-color: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    transform: translateY(0);
}

.card:hover, .blog-post:hover, .related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-up {
    animation: slideUp 0.8s ease-in-out;
}

.scale-in {
    animation: scaleIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Header Styles */
.header {
    background: var(--secondary-color);
    padding: 20px 0 80px;
    position: relative;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    box-shadow: var(--box-shadow);
    animation: headerFadeIn 1s ease-in-out;
}

@keyframes headerFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: var(--secondary-color);
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    z-index: -1;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--light-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-logo {
    height: 64px;
    width: auto;
    display: inline-block;
    filter: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--light-color);
    font-weight: 500;
    font-size: 14px;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    padding: 50px 0;
    animation: fadeIn 1.2s ease-in-out;
}

.header-content h1 {
    font-size: 48px;
    font-weight: 600;
    color: var(--light-color);
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Blog Grid Styles */
.blog-grid {
    padding: 80px 0;
}

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

.blog-card {
    background-color: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 20px;
}

.category {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--light-color);
    font-size: 12px;
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(106, 48, 147, 0.2);
}

.blog-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--dark-color);
}

.meta {
    font-size: 12px;
    color: #777;
    margin-bottom: 15px;
}

.read-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.read-more:hover::after {
    width: 100%;
}

/* Footer Styles */
.new-footer {
    background-color: #000000;
    color: var(--light-color);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.new-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo-section, .footer-location-section, .footer-connect-section {
    flex: 1;
    padding: 0 15px;
    animation: fadeIn 1s ease-in-out;
}

.footer-logo {
    width: 160px;
    margin-bottom: 15px;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
}

.footer-address {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: var(--light-color);
    font-size: 18px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.social-icon:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.footer-location-section h3, .footer-connect-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--secondary-color);
}

.location-details {
    display: flex;
    flex-direction: column;
}

.location-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.location-info p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.location-dot {
    margin: 0 8px;
    color: var(--secondary-color);
}

.map-container {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.map-container:hover {
    transform: scale(1.02);
}

.footer-connect-section p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-form {
    display: flex;
}

.footer-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 20px 0 0 20px;
    background: rgba(255,255,255,0.1);
    color: var(--light-color);
}

.footer-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.footer-submit {
    background: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 10px 20px;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.footer-submit:hover {
    background: var(--secondary-light);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 5%;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

.footer-nav a {
    color: var(--light-color);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* Blog Post Page Styles */
/* Blog Header */
.blog-header {
    background: transparent;
    padding: 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 65vh;

    border-radius: 0 0 40px 40px; /* top-left, top-right, bottom-right, bottom-left */

    display: flex;
    align-items: center;
}


.blog-header::before {
    content: none;
}

.blog-header::after { content: none; }

.blog-nav {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 6;
    animation: slideUp 0.8s ease-in-out;
}

.back-to-home {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.25);
    backdrop-filter: saturate(180%) blur(6px);
}

.back-to-home i { font-size: 16px; }

.back-to-home:hover {
    color: var(--secondary-color);
    transform: translateX(-2px);
}

.blog-title-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 16px 0 24px;
    margin-top: auto;
    margin-bottom: auto;
}

.blog-header .container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-header h1 {
    font-size: 56px;
    font-weight: 800;
    margin: 10px 0 8px;
    color: white;
    text-shadow: 0 3px 16px rgba(0,0,0,0.35);
    line-height: 1.1;
    animation: fadeIn 1s ease-in-out;
}

.category-tag {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 22px;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    animation: scaleIn 0.5s ease-in-out;
}

.post-meta {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeIn 1.2s ease-in-out;
}

/* Featured Image Section */
.featured-image-section {
    margin-top: -30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.featured-image {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    animation: scaleIn 0.8s ease-in-out;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: var(--transition);
}

.featured-image:hover img {
    transform: scale(1.02);
}

/* Blog Post Content */
.blog-post-content {
    padding: 48px 0 80px;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.main-content {
    position: relative;
    padding: 0 0 40px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-in-out;
}

.vertical-accent {
    position: absolute;
    left: -30px;
    top: 0;
    width: 4px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.article-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.highlighted-quote {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%);
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    font-style: italic;
    box-shadow: var(--box-shadow);
    position: relative;
}

.highlighted-quote:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 60px;
    color: rgba(0,0,0,0.1);
    font-family: 'Playfair Display', serif;
}

.article-image {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.article-image:hover img {
    transform: scale(1.02);
}

.image-caption {
    font-size: 14px;
    color: #777;
    font-style: italic;
    margin-top: 10px;
    text-align: center;
}

/* Sign Up Form */
.signup-section {
    margin: 60px 0;
    animation: slideUp 0.8s ease-in-out;
}

.signup-container {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.signup-container h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 22px;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.signup-form input {
    padding: 12px 15px;
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.signup-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(106, 48, 147, 0.3);
}

.signup-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(106, 48, 147, 0.4);
}

/* Author Info */
.author-info {
    margin: 40px 0;
    animation: fadeIn 1s ease-in-out;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    border-radius: 15px;
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.author-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.author-logo {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(106, 48, 147, 0.3);
}
.author-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.author-details h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-details p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

/* Related Posts */
.related-posts {
    padding: 60px 0;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.related-posts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.related-posts h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-post {
    background-color: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    animation: fadeIn 1s ease-in-out;
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.related-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.related-post h3 {
    padding: 15px 15px 5px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.related-meta {
    padding: 0 15px 15px;
    font-size: 12px;
    color: #777;
}

/* Comments Section */
.comments-section {
    padding: 60px 0;
    animation: fadeIn 1s ease-in-out;
}

.comments-section h2 {
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.comments-section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.comment {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 15px;
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.comment:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.comment-content h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.comment-content p {
    margin-bottom: 5px;
    line-height: 1.6;
}

.comment-date {
    font-size: 12px;
    color: #777;
}

.leave-comment {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    animation: slideUp 0.8s ease-in-out;
}

.leave-comment h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-form textarea {
    width: 100%;
    height: 150px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-family: 'Montserrat', sans-serif;
    resize: vertical;
    transition: var(--transition);
}

.comment-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(106, 48, 147, 0.1);
    outline: none;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-row input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(106, 48, 147, 0.1);
    outline: none;
}

.comment-form button {
    align-self: flex-start;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.comment-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(106, 48, 147, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        flex-wrap: wrap;
    }
    
    .footer-logo-section, .footer-location-section, .footer-connect-section {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vertical-accent {
        left: -20px;
    }
}

@media (max-width: 768px) {
    .header-content h1 {
        font-size: 36px;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .post-header h1 {
        font-size: 28px;
    }
    
    /* Blog Post Responsive Styles */
    .blog-header h1 {
        font-size: 28px;
    }
    
    .featured-image {
        margin: 0 15px;
    }
    
    .content-wrapper {
        padding: 0 20px;
    }
    
    .vertical-accent {
        left: -15px;
        width: 3px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    nav {
        flex-direction: column;
    }
    
    .nav-links {
        margin-top: 20px;
    }
    
    .nav-links li {
        margin: 0 10px;
    }
    
    .header-content h1 {
        font-size: 28px;
    }
    
    /* Blog Post Responsive Styles */
    .blog-header {
        padding: 20px 0;
        height: 50vh;
        border-radius: 16px;
    }
    
    .blog-title-container { padding: 64px 16px 16px; }
    .blog-header h1 { font-size: 32px; line-height: 1.15; }
    .post-meta { font-size: 16px; }
}
    
    .featured-image-section {
        margin-top: -20px;
    }
    .blog-post-content { padding: 28px 0 64px; }
}
    
    .vertical-accent {
        display: none;
    }
    
    .comment {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-avatar {
        margin-bottom: 10px;
    }
    
    .author-card {
        flex-direction: column;
        text-align: center;
    }
    
    .author-logo {
        margin: 0 auto 15px;
    }
}
.header nav { position: relative; }
/* Position hamburger inside header content beside the title */
.header .header-content { position: relative; }
.header .header-content .button_container {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 27px;
  display: inline-block;
}
/* Header site logo positioning */
.header .header-content .site-logo {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
}
.header .header-content .site-logo img {
  height: 80px;
  width: auto;
  display: block;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
@media (max-width: 576px) {
  .header .header-content .site-logo img {
    height: 64px;
  }
}
/* Keep hamburger bars constrained; prevent stretching */
.header .header-content .button_container span {
  width: 35px;
}
/* Footer credit link styling */
footer .copyright a {
  color: #FFEB3B;
  font-weight: 700;
}
footer .copyright a:hover {
  color: #FFF176;
}

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.photo-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Slideshow */
.slideshow {
  position: relative;
  margin: 16px 0;
}
.slideshow .slides {
  position: relative;
  overflow: hidden;
}
.slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.slideshow .slide.active {
  opacity: 1;
}
.slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.slideshow .prev,
.slideshow .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  z-index: 5;
  font-size: 20px;
}
.slideshow .prev { left: 8px; }
.slideshow .next { right: 8px; }

/* Carousel */
.carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
}
.carousel .viewport {
  overflow: hidden;
}
.carousel .track {
  display: flex;
  gap: 12px;
  transition: transform 0.3s ease;
}
.carousel .item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.carousel .prev,
.carousel .next {
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}
.pagination .page-btn {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
.pagination .page-btn.active {
  background: #000;
  color: #fff;
  border-color: #000;
}
/* Vibrant Sermons Pagination - Believers Legacy */
ul.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

ul.page-numbers li {
  margin: 0;
}

ul.page-numbers a,
ul.page-numbers span {
  display: inline-block;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #533254, #6a3c6f);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(83, 50, 84, 0.3);
  border: 2px solid transparent;
}

/* Glowing hover effect */
ul.page-numbers a:hover {
  background: linear-gradient(135deg, #fbd847, #f6e07a);
  color: #533254;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(251, 216, 71, 0.5);
  border-color: #fbd847;
}

/* Current (active) page */
ul.page-numbers .current {
  background: linear-gradient(135deg, #fbd847, #f6e07a);
  color: #533254;
  border: 2px solid #fbd847;
  box-shadow: 0 6px 15px rgba(251, 216, 71, 0.4);
  transform: scale(1.05);
}

/* Next/Prev buttons */
ul.page-numbers .next,
ul.page-numbers .prev {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Add subtle pulse on hover */
ul.page-numbers a:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(251, 216, 71, 0.3);
  opacity: 0;
  animation: pulse 0.6s ease-out forwards;
}

@keyframes pulse {
  from {
    opacity: 0.6;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.3);
  }
}
.blog-header .slideshow {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}
.blog-header .slideshow .slides {
  position: relative;
  height: 100%;
}
.blog-header .slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.back-to-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 12px;
  padding: 10px 16px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.back-to-blog-btn:hover { background: rgba(0,0,0,0.75); }
.back-to-blog-btn i { font-size: 16px; }
