/*
Theme Name: thefloralschool
Theme URI: https://bloomfloristryboca.com
Author: Bloom Into Floristry & Viva Flowers Shop
Author URI: https://vivaflowersshop.com
Description: Elegant, handcrafted WordPress theme for floral schools, ateliers, flower workshops, and boutique florists. Built with bespoke editorial typography, responsive masterclass schedules, dynamic enrollment forms, and seamless WooCommerce / contact integration.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: thefloralschool
Tags: education, floristry, workshops, modern, boutique, responsive-layout, custom-menu, featured-images
*/

/* Core Color Tokens */
:root {
  --color-forest: #1A3C34;
  --color-clay: #C47252;
  --color-cream: #F9F7F2;
  --color-forest-light: #244d43;
}

body {
  background-color: #F9F7F2;
  color: #1A3C34;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.serif-font, h1, h2, h3, .serif {
  font-family: 'Playfair Display', Georgia, serif;
}

.letter-spacing-lg {
  letter-spacing: 0.18em;
}

/* Smooth transitions */
a, button {
  transition: all 0.25s ease-in-out;
}

/* Modal styles */
.wp-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 60, 52, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.wp-modal-overlay.active {
  display: flex;
}



 
    /* Scroll to Top Button Styles */
    .sf-scroll-top {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background-color: var(--color-forest);
        color: var(--color-cream);
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
        
        /* Hidden by default */
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        
        /* Smooth transitions from style.css */
        transition: all 0.25s ease-in-out;
        box-shadow: 0 4px 12px rgba(26, 60, 52, 0.15);
    }

    /* Visible state (toggled via JS) */
    .sf-scroll-top.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Hover state */
    .sf-scroll-top:hover {
        background-color: var(--color-clay);
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(196, 114, 82, 0.3);
    }

    /* Responsive adjustment for mobile */
    @media (max-width: 768px) {
        .sf-scroll-top {
            bottom: 1.5rem;
            right: 1.5rem;
            width: 44px;
            height: 44px;
        }
    } .sf-latest-posts {
        background-color: var(--color-cream);
        padding: 5rem 1.5rem;
    }
    .sf-latest-posts-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    .sf-latest-posts-header {
        text-align: center;
        margin-bottom: 3.5rem;
    }
    .sf-latest-posts-eyebrow {
        display: inline-block;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.18em; /* From style.css */
        text-transform: uppercase;
        color: var(--color-clay);
        margin-bottom: 1rem;
    }
    .sf-latest-posts-title {
        font-family: 'Playfair Display', Georgia, serif; /* From style.css */
        font-size: 2.5rem;
        font-weight: 400;
        color: var(--color-forest);
        margin: 0;
    }
    .sf-latest-posts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
    .sf-latest-post-card {
        background: #FFFFFF;
        border: 1px solid rgba(26, 60, 52, 0.1);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(26, 60, 52, 0.04);
        transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out; /* From style.css */
        display: flex;
        flex-direction: column;
        text-decoration: none;
        color: inherit;
    }
    .sf-latest-post-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(26, 60, 52, 0.08);
    }
    .sf-latest-post-image {
        overflow: hidden;
        aspect-ratio: 16/10;
    }
    .sf-latest-post-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }
    .sf-latest-post-card:hover .sf-latest-post-image img {
        transform: scale(1.05);
    }
    .sf-latest-post-body {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }
    .sf-latest-post-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.75rem;
        font-size: 0.75rem;
    }
    .sf-latest-post-category {
        color: var(--color-clay);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }
    .sf-latest-post-date {
        color: rgba(26, 60, 52, 0.6);
    }
    .sf-latest-post-title {
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 1.25rem;
        font-weight: 400;
        color: var(--color-forest);
        line-height: 1.3;
        margin: 0 0 0.75rem;
        transition: color 0.25s ease-in-out; /* From style.css */
    }
    .sf-latest-post-card:hover .sf-latest-post-title {
        color: var(--color-clay);
    }
    .sf-latest-post-excerpt {
        font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
        font-size: 0.9rem;
        color: rgba(26, 60, 52, 0.7);
        line-height: 1.6;
        margin-bottom: 1.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex-grow: 1;
    }
    .sf-latest-post-read-more {
        font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
        font-size: 0.8125rem;
        font-weight: 600;
        color: var(--color-forest);
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        text-decoration: none;
        transition: all 0.25s ease-in-out; /* From style.css */
    }
    .sf-latest-post-card:hover .sf-latest-post-read-more {
        color: var(--color-clay);
        gap: 0.6rem;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .sf-latest-posts-title { font-size: 2rem; }
        .sf-latest-posts-grid { grid-template-columns: 1fr; }
    }