/*
Theme Name: Árnyékból a Fényre
Theme URI: https://arnyekbolafenyre.hu
Author: Takács Viktória
Author URI: https://arnyekbolafenyre.hu
Description: A warm, empathetic WordPress theme for grief counseling with animated gradient backgrounds and serene design elements. Features shadow-to-light transitions symbolizing the journey through grief.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arnyekbolafenyre
Tags: grief-counseling, therapy, wellness, custom-background, responsive-layout, accessibility-ready, animation
*/

/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */

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

:root {
    --dark-navy: #1A1D2E;
    --medium-navy: #2E3447;
    --sunrise-yellow: #D4A574;
    --sunrise-orange: #B8956A;
    --text-light: #F5F5F5;
    --text-dark: #2C3E50;
    --card-bg: rgba(255, 255, 255, 0.92);
    --shadow: rgba(0, 0, 0, 0.15);
    --transition-smooth: all 0.4s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ========================================
   DAY-TO-NIGHT SCROLL ANIMATION - SKY BACKGROUND
   ======================================== */

#sky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    /* Night sky - deeper, more contemplative */
    background: linear-gradient(to bottom, #1a2332 0%, #2d3b4e 100%);
    transition: background 2s ease;
}

/* Day sky - softer, warmer tones */
body.day #sky {
    background: linear-gradient(to bottom,
            #dac8b3 0%,
            #c9b79c 25%,
            #b8a58a 50%,
            #a89478 75%,
            #988366 100%);
}

/* Sun element (hidden by default at top) */
#sun {
    position: absolute;
    top: 110%;
    right: 15%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff8e6 0%, #edca95 40%, rgba(237, 202, 149, 0) 70%);
    box-shadow: 0 0 60px rgba(237, 202, 149, 0.5),
        0 0 100px rgba(237, 202, 149, 0.3);
    opacity: 0;
    transition: top 1s ease, opacity 1s ease;
}

/* Sun rises when day mode activates (on scroll) */
body.day #sun {
    top: 20%;
    opacity: 1;
}

/* Moon element (visible by default at top) */
#moon {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f8f8f8 0%, #e8e8e8 50%, rgba(232, 232, 232, 0) 70%);
    box-shadow: 0 0 40px rgba(220, 225, 235, 0.4),
        0 0 80px rgba(220, 225, 235, 0.2);
    opacity: 1;
    transition: top 1s ease, opacity 1s ease;
}

/* Moon sets when day mode activates (on scroll) */
body.day #moon {
    top: 110%;
    opacity: 0;
}

/* Day clouds - soft white pastel (hidden by default) */
.cloud-day {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 100px;
    opacity: 0;
    transition: opacity 2s ease;
    animation: cloudFloat 40s ease-in-out infinite;
}

/* Night clouds - soft gray pastel (visible by default) */
.cloud-night {
    position: absolute;
    background: rgba(140, 150, 170, 0.3);
    border-radius: 100px;
    opacity: 0.5;
    transition: opacity 2s ease;
    animation: cloudFloat 45s ease-in-out infinite;
}

/* Clouds fade in/out based on day/night */
body.day .cloud-day {
    opacity: 1;
}

body.day .cloud-night {
    opacity: 0;
}

/* Cloud shapes using pseudo-elements */
.cloud-day::before,
.cloud-day::after,
.cloud-night::before,
.cloud-night::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 100px;
}

/* Cloud 1 - Large centered */
.cloud-day.cloud-1 {
    width: 120px;
    height: 40px;
    top: 15%;
    left: 10%;
    animation-duration: 40s;
}

.cloud-day.cloud-1::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 20px;
}

.cloud-day.cloud-1::after {
    width: 60px;
    height: 40px;
    top: -15px;
    right: 20px;
}

/* Cloud 2 - Medium right side */
.cloud-day.cloud-2 {
    width: 100px;
    height: 35px;
    top: 35%;
    right: 5%;
    animation-duration: 35s;
    animation-delay: -10s;
}

.cloud-day.cloud-2::before {
    width: 45px;
    height: 45px;
    top: -20px;
    left: 15px;
}

.cloud-day.cloud-2::after {
    width: 50px;
    height: 35px;
    top: -12px;
    right: 15px;
}

/* Cloud 3 - Small left-center */
.cloud-day.cloud-3 {
    width: 80px;
    height: 30px;
    top: 50%;
    left: 25%;
    animation-duration: 45s;
    animation-delay: -20s;
}

.cloud-day.cloud-3::before {
    width: 40px;
    height: 40px;
    top: -18px;
    left: 12px;
}

/* Night clouds - different positions */
.cloud-night.cloud-1 {
    width: 140px;
    height: 45px;
    top: 25%;
    left: 15%;
    animation-duration: 50s;
}

.cloud-night.cloud-1::before {
    width: 55px;
    height: 55px;
    top: -28px;
    left: 25px;
}

.cloud-night.cloud-1::after {
    width: 65px;
    height: 45px;
    top: -18px;
    right: 25px;
}

.cloud-night.cloud-2 {
    width: 110px;
    height: 38px;
    top: 40%;
    right: 10%;
    animation-duration: 45s;
    animation-delay: -15s;
}

.cloud-night.cloud-2::before {
    width: 48px;
    height: 48px;
    top: -22px;
    left: 18px;
}

/* Cloud floating animation */
@keyframes cloudFloat {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    25% {
        transform: translateX(20px) translateY(-8px);
    }

    50% {
        transform: translateX(0) translateY(-15px);
    }

    75% {
        transform: translateX(-20px) translateY(-8px);
    }
}

/* Stars for night sky (visible by default) - softer, more subtle */
.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    opacity: 0.6;
    transition: opacity 1s ease;
    animation: twinkle 4s ease-in-out infinite;
}

body.day .star {
    opacity: 0;
}

/* Multiple stars at different positions */
.star:nth-child(1) {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.star:nth-child(2) {
    top: 20%;
    left: 40%;
    animation-delay: 0.3s;
}

.star:nth-child(3) {
    top: 15%;
    left: 70%;
    animation-delay: 0.6s;
}

.star:nth-child(4) {
    top: 30%;
    left: 25%;
    animation-delay: 0.9s;
}

.star:nth-child(5) {
    top: 35%;
    left: 60%;
    animation-delay: 1.2s;
}

.star:nth-child(6) {
    top: 25%;
    left: 85%;
    animation-delay: 1.5s;
}

.star:nth-child(7) {
    top: 45%;
    left: 10%;
    animation-delay: 1.8s;
}

.star:nth-child(8) {
    top: 40%;
    left: 50%;
    animation-delay: 2.1s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.3;
    }
}

/* ========================================
   ANIMATED GRADIENT BACKGROUND (DISABLED - Using Scroll-Based Animation Instead)
   ======================================== */

/* Commented out to prevent conflict with scroll-based day-to-night animation
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--medium-navy) 50%, var(--dark-navy) 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0% {
        background: linear-gradient(135deg, #1C1F2A 0%, #3A405A 50%, #1C1F2A 100%);
    }

    25% {
        background: linear-gradient(135deg, #3A405A 0%, #1C1F2A 50%, #3A405A 100%);
    }

    50% {
        background: linear-gradient(135deg, #FFD54F 0%, #FFCC00 50%, #FFE082 100%);
    }

    75% {
        background: linear-gradient(135deg, #3A405A 0%, #1C1F2A 50%, #3A405A 100%);
    }

    100% {
        background: linear-gradient(135deg, #1C1F2A 0%, #3A405A 50%, #1C1F2A 100%);
    }
}
*/

/* ========================================
   TYPOGRAPHY
   ======================================== */

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

h1 {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-light);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

h2 {
    font-size: 2.5rem;
    color: var(--sunrise-orange);
}

h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--sunrise-orange);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--sunrise-yellow);
    text-decoration: underline;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.site-header {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    flex: 1;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
}

.site-title a {
    color: var(--sunrise-yellow);
    text-decoration: none;
}

.site-title a:hover {
    color: var(--sunrise-orange);
}

.site-description {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
}

.custom-logo-link {
    display: block;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

/* Navigation Menu */
.main-navigation {
    position: relative;
}

.menu-toggle {
    display: none;
    background: var(--sunrise-orange);
    color: var(--dark-navy);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: var(--transition-smooth);
}

.primary-menu a:hover,
.primary-menu .current-menu-item a,
.primary-menu .current_page_item a {
    color: var(--sunrise-yellow);
    background: rgba(255, 213, 79, 0.1);
    border-radius: 5px;
}

/* Submenu */
.primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(28, 31, 42, 0.95);
    backdrop-filter: blur(10px);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    border-radius: 5px;
    box-shadow: 0 4px 20px var(--shadow);
}

.primary-menu li:hover>.sub-menu {
    display: block;
}

.primary-menu .sub-menu a {
    padding: 10px 20px;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation .primary-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(28, 31, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 20px var(--shadow);
        min-width: 250px;
        gap: 0;
    }

    .main-navigation.toggled .primary-menu {
        display: flex;
    }

    .primary-menu .sub-menu {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: 20px;
    }

    .primary-menu li.focus>.sub-menu,
    .primary-menu li:hover>.sub-menu {
        display: block;
    }
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

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

section {
    padding: 80px 0;
}

/* ========================================
   SCROLL ANIMATIONS (CSS-only, simple)
   ======================================== */

/* Simple scroll animation - elements start hidden and fade in when scrolling into view */
section:not(.hero),
.service-card,
.post-card,
.contact-item {
    opacity: 0;
    animation: fadeInOnScroll 0.8s ease forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

/* Stagger effect for cards */
.service-card:nth-child(1),
.post-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2),
.post-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3),
.post-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4),
.post-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card:nth-child(5),
.post-card:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card:nth-child(6),
.post-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInOnScroll {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback for browsers that don't support animation-timeline */
@supports not (animation-timeline: view()) {

    section:not(.hero),
    .service-card,
    .post-card,
    .contact-item {
        opacity: 1;
        transform: translateY(0);
        animation: none;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 40px 20px;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 1.5rem;
    /* Animation removed */
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.5);
    padding: 25px 35px;
    border-radius: 8px;
    backdrop-filter: blur(12px);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Sun and Moon Icon Container */
.hero-icons {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 2rem auto;
}

.hero-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 2s ease-in-out;
}

.sun-icon {
    opacity: 1;
    /* Animation removed - sun always visible */
}

.moon-icon {
    opacity: 0;
    /* Animation removed - moon hidden */
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, #B8956A, #A08760);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(184, 149, 106, 0.4);
    background: linear-gradient(135deg, #A08760, #B8956A);
    text-decoration: none;
}

/* Keep card paragraphs consistently dark (no animation) */
.service-card p,
.post-content p,
.comment-content p,
.widget p,
.entry-content p {
    animation: none;
    color: var(--text-dark);
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--sunrise-yellow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px var(--shadow);
    color: var(--text-dark);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(255, 204, 0, 0.3),
        0 0 40px rgba(255, 213, 79, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--sunrise-orange);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    text-align: center;
}

.contact h2 {
    margin-bottom: 2rem;
    color: var(--sunrise-yellow);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--sunrise-orange);
    transition: var(--transition-smooth);
}

.contact-item a {
    color: var(--text-light);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.contact-item:hover .contact-icon {
    transform: scale(1.2);
    color: var(--sunrise-yellow);
}

.contact-item:hover a {
    color: var(--sunrise-yellow);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 20px;
    text-align: center;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icon {
    font-size: 1.8rem;
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.social-icon:hover {
    color: var(--sunrise-yellow);
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-icons {
        width: 120px;
        height: 120px;
    }

    section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info {
        flex-direction: column;
        gap: 30px;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
    }

    /* Day-to-Night Animation - Mobile adjustments */
    #sun {
        width: 80px;
        height: 80px;
        right: 10%;
        top: 15%;
    }

    #moon {
        width: 70px;
        height: 70px;
        left: 15%;
    }

    .cloud-day.cloud-1,
    .cloud-night.cloud-1 {
        width: 90px;
        height: 30px;
    }

    .cloud-day.cloud-2,
    .cloud-night.cloud-2 {
        width: 75px;
        height: 26px;
    }

    .cloud-day.cloud-3 {
        width: 60px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-icons {
        width: 100px;
        height: 100px;
    }

    .service-card {
        padding: 30px 20px;
    }

    /* Day-to-Night Animation - Extra small screens */
    #sun {
        width: 60px;
        height: 60px;
    }

    #moon {
        width: 55px;
        height: 55px;
    }

    .cloud-day.cloud-1,
    .cloud-night.cloud-1 {
        width: 70px;
        height: 24px;
    }

    .cloud-day.cloud-2,
    .cloud-night.cloud-2 {
        width: 60px;
        height: 20px;
    }

    .cloud-day.cloud-3 {
        width: 50px;
        height: 18px;
    }

    /* Reduce cloud pseudo-elements on small screens */
    .cloud-day.cloud-1::before,
    .cloud-night.cloud-1::before {
        width: 35px;
        height: 35px;
        top: -18px;
    }

    .cloud-day.cloud-1::after,
    .cloud-night.cloud-1::after {
        width: 40px;
        height: 28px;
        top: -12px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus {
    outline: 3px solid var(--sunrise-yellow);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--sunrise-orange);
    color: var(--dark-navy);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ========================================
   WORDPRESS SPECIFIC STYLES
   ======================================== */

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.sticky {
    border-left: 4px solid var(--sunrise-orange);
}

.bypostauthor .avatar {
    border: 2px solid var(--sunrise-yellow);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

/* ========================================
   BLOG & POST STYLES
   ======================================== */

.main-content-wrapper {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    color: var(--sunrise-yellow);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.posts-wrapper {
    display: grid;
    gap: 40px;
}

.post-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition-smooth);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 204, 0, 0.2);
}

.post-thumbnail {
    width: 100%;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

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

.post-content {
    padding: 30px;
}

.entry-title {
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.entry-title a {
    color: var(--dark-navy);
    text-decoration: none;
}

.entry-title a:hover {
    color: var(--sunrise-orange);
}

.entry-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.entry-meta span {
    display: inline-block;
}

.entry-content {
    color: var(--text-dark);
    line-height: 1.8;
}

.entry-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.read-more-link {
    display: inline-block;
    color: var(--sunrise-orange);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.read-more-link:hover {
    color: var(--sunrise-yellow);
    transform: translateX(5px);
}

.tags-links {
    font-size: 0.9rem;
}

.tags-label {
    font-weight: 600;
    color: var(--dark-navy);
}

.tags-links a {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 204, 0, 0.1);
    border-radius: 20px;
    color: var(--sunrise-orange);
    text-decoration: none;
    margin-right: 5px;
    transition: var(--transition-smooth);
}

.tags-links a:hover {
    background: var(--sunrise-orange);
    color: white;
}

/* Pagination */
.navigation.pagination {
    margin: 3rem 0;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-block;
    padding: 10px 16px;
    background: var(--card-bg);
    color: var(--dark-navy);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition-smooth);
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--sunrise-orange);
    color: white;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--card-bg);
    border-radius: 15px;
    color: var(--text-dark);
}

.no-results .page-title {
    color: var(--dark-navy);
}

/* Search Form */
.search-form {
    display: flex;
    max-width: 500px;
    margin: 2rem auto;
    gap: 10px;
}

.search-form .search-field {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
}

.search-form .search-submit {
    padding: 12px 30px;
    background: var(--sunrise-orange);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.search-form .search-submit:hover {
    background: var(--sunrise-yellow);
    color: var(--dark-navy);
}

/* Widget Area / Sidebar */
.widget-area {
    padding: 20px;
}

.widget {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.widget-title,
.footer-widget-title {
    color: var(--dark-navy);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.widget a:hover {
    color: var(--sunrise-orange);
}

/* Comments */
.comments-area {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
    color: var(--text-dark);
}

.comments-title {
    color: var(--dark-navy);
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
}

.comment {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.comment-body {
    position: relative;
    padding-left: 80px;
}

.comment-author .avatar {
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
}

.comment-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.comment-content p {
    color: var(--text-dark);
}

.reply a {
    color: var(--sunrise-orange);
    font-weight: 600;
    text-decoration: none;
}

.comment-respond {
    margin-top: 3rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.comment-form input[type="submit"] {
    padding: 12px 30px;
    background: var(--sunrise-orange);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.comment-form input[type="submit"]:hover {
    background: var(--sunrise-yellow);
    color: var(--dark-navy);
}

/* Content Area & Sidebar Layout */
@media (min-width: 992px) {
    .main-content-wrapper {
        display: grid;
        grid-template-columns: 1fr 350px;
        gap: 40px;
    }

    .main-content-wrapper.no-sidebar {
        grid-template-columns: 1fr;
    }
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ========================================
   FRONT PAGE CONTENT
   ======================================== */

.front-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.front-page-content .entry-content {
    color: var(--text-dark);
    line-height: 1.8;
}

/* Block Editor Support */
.front-page-content .wp-block-group,
.front-page-content .wp-block-columns {
    margin-bottom: 2rem;
}

.front-page-content .wp-block-column {
    padding: 1rem;
}

.front-page-content .has-background {
    padding: 2rem;
}

/* Align Wide and Full Support */
.front-page-content .alignwide {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.front-page-content .alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* Block Spacing */
.front-page-content>*:not(.alignfull):not(.alignwide) {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .front-page-content {
        padding: 2rem 1rem;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    body::before {
        display: none;
    }

    .hero-icons,
    .cta-button,
    footer,
    .social-links {
        display: none;
    }
}