/**
 * Flexible Articles Layout Styling - Finebrushes Eksell Theme
 * Uses Eksell theme CSS variables for fonts
 */

/* Font variables for Eksell theme */
:root {
    --finebrushes-body-font: var(--eksell-body-font, 'Public Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif);
    --finebrushes-headings-font: var(--eksell-headings-font, 'Public Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif);
}

.flexible-articles-layout {
    margin-bottom: 0;
    margin-top: 0;
}

.flexible-articles-container {
    width: calc(100% - var(--eksell-inner-gutter, 4rem));
    max-width: var(--eksell-inner-width-max, 120rem);
    margin: 0 auto;
    padding-left: 0;
}

/* Match single post alignment on large screens */
@media (min-width: 1400px) {
    .flexible-articles-container {
        margin-left: 6rem;
        margin-right: auto;
    }
}

/* ============================================
   HERO SECTION - Split Layout Design (Aligned with content)
   ============================================ */
.hero-section.hero-split {
    display: flex;
    max-width: 100%;
    margin: 40px 0 40px 0;
    min-height: 320px;
    background-color: #e8636c;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.hero-image-side {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.hero-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-content-side {
    flex: 0 0 50%;
    max-width: 50%;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 50px;
    z-index: 2;
}

.hero-tagline {
    font-family: var(--finebrushes-body-font) !important;
    font-size: 11px !important;
    font-weight: bold !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #fff !important;
    margin-bottom: 15px !important;
}

.hero-main-title {
    font-family: var(--finebrushes-headings-font) !important;
    font-size: 42px !important;
    font-weight: normal !important;
    font-style: italic !important;
    line-height: 1.15 !important;
    color: #fff !important;
    margin: 0 0 20px 0 !important;
}

.hero-subtitle {
    font-family: var(--finebrushes-body-font) !important;
    font-size: 14px !important;
    font-weight: normal !important;
    line-height: 1.6 !important;
    color: #fff !important;
    margin: 0 0 25px 0 !important;
    max-width: 320px !important;
}

.hero-button {
    display: inline-block !important;
    background-color: #ffffff !important;
    color: #e8636c !important;
    font-family: var(--finebrushes-body-font) !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    padding: 12px 30px !important;
    text-decoration: none !important;
    border-radius: 30px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.hero-button:hover {
    background-color: #f5f5f5 !important;
    color: #e8636c !important;
}

/* Mobile Hero */
@media (max-width: 992px) {
    .hero-section.hero-split {
        flex-direction: column;
        height: auto;
        min-height: auto;
        margin: 0 15px 30px 15px;
        max-width: calc(100% - 30px);
    }
    
    .hero-image-side {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        height: 250px;
    }
    
    .hero-content-side {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        padding: 30px 20px;
    }
    
    .hero-main-title {
        font-size: 32px !important;
    }
}

@media (max-width: 767px) {
    .hero-main-title {
        font-size: 36px !important;
    }
    
    .hero-subtitle {
        font-size: 13px !important;
        max-width: 100% !important;
    }
}

/* ============================================
   CREATIVE OVERVIEW SECTION
   ============================================ */
.creative-overview-section {
    padding: 60px 0;
    background-color: #fff;
    max-width: 100%;
    margin: 0;
}

.creative-overview-heading {
    font-family: var(--finebrushes-headings-font) !important;
    font-size: 28px !important;
    font-weight: normal !important;
    font-style: italic !important;
    color: #333 !important;
    text-align: center !important;
    margin: 0 0 40px 0 !important;
    padding: 0 !important;
}

.creative-overview-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.creative-overview-item {
    text-align: center;
    position: relative;
}

.creative-overview-item a {
    text-decoration: none !important;
    display: block;
}

.creative-overview-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.creative-overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.creative-overview-item:hover .creative-overview-image img {
    transform: scale(1.05);
}

.creative-overview-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 10px;
    font-family: var(--finebrushes-body-font) !important;
    font-size: 11px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #333 !important;
    line-height: 1.3 !important;
    border-radius: 0 0 8px 8px;
}

/* Category-specific label colors */
.creative-overview-item:nth-child(1) .creative-overview-name {
    background-color: #e3f4f7; /* Light blue - Painting Techniques */
}

.creative-overview-item:nth-child(2) .creative-overview-name {
    background-color: #e8e0f0; /* Light purple - Drawing & Lettering */
}

.creative-overview-item:nth-child(3) .creative-overview-name {
    background-color: #fce4ec; /* Light pink - Craft & Surface */
}

.creative-overview-item:nth-child(4) .creative-overview-name {
    background-color: #fff9e6; /* Light yellow - Inspiration */
}

/* Mobile Creative Overview */
@media (max-width: 900px) {
    .creative-overview-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 500px) {
    .creative-overview-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .creative-overview-name {
        font-size: 9px !important;
        padding: 8px 5px;
    }
}

/* ============================================
   CATEGORY SECTIONS - New Design with Colored Backgrounds
   ============================================ */
.category-section {
    padding: 60px 30px;
    max-width: 100%;
    margin: 0 0 0 0;
    border-radius: 12px;
}

.category-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Section-specific background colors */
.painting-techniques-section {
    background-color: #e3f4f7 !important; /* Light blue */
}

.drawing-lettering-section {
    background-color: #e8e0f0 !important; /* Light purple */
}

.craft-surface-painting-section {
    background-color: #fce4ec !important; /* Light pink */
}

.inspiration-ideas-section {
    background-color: #fff9e6 !important; /* Light yellow */
}

.category-heading {
    font-family: var(--finebrushes-headings-font) !important;
    font-size: 26px !important;
    font-weight: normal !important;
    font-style: italic !important;
    color: #333 !important;
    text-align: center !important;
    margin: 0 0 40px 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
}

.category-icon {
    width: 28px;
    height: 28px;
    display: inline-block;
    vertical-align: middle;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.category-article-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: left;
}

.category-article-image {
    overflow: hidden;
    position: relative;
    padding-top: 70%;
}

.category-article-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Category label on image */
.category-article-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: #e8636c;
    color: #fff !important;
    font-family: var(--finebrushes-body-font) !important;
    font-size: 9px !important;
    font-weight: bold !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    padding: 5px 10px !important;
    border-radius: 3px;
    z-index: 2;
}

.category-article-content {
    padding: 15px;
}

.category-article-title {
    font-family: var(--finebrushes-body-font) !important;
    font-size: 15px !important;
    font-weight: normal !important;
    line-height: 1.4 !important;
    margin: 0 0 12px 0 !important;
    color: #333 !important;
}

.category-article-title a {
    color: #333 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
}

.category-article-title a:hover {
    color: #e8636c !important;
}

.read-more-link {
    font-family: var(--finebrushes-body-font) !important;
    font-size: 11px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #333 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more-link::after {
    content: '→';
    font-size: 12px;
}

.read-more-link:hover {
    color: #e8636c !important;
}

/* Hide old excerpt */
.category-article-excerpt {
    display: none !important;
}

/* Mobile Category Sections */
@media (max-width: 992px) {
    .category-articles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .category-articles {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .category-heading {
        font-size: 22px !important;
    }
    
    .category-section {
        padding: 40px 15px;
    }
}

/* ============================================
   PINK INSPIRATION BANNER
   ============================================ */
.inspiration-banner {
    max-width: 100%;
    margin: 0;
    padding: 60px 30px;
    text-align: center;
    border-radius: 12px;
}

.pink-banner {
    background-color: #f8b4c4;
}

.inspiration-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.banner-tagline {
    font-family: var(--finebrushes-body-font) !important;
    font-size: 12px !important;
    font-weight: bold !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    color: #fff !important;
    display: block !important;
    margin-bottom: 20px !important;
}

.banner-title {
    font-family: var(--finebrushes-headings-font) !important;
    font-size: 32px !important;
    font-weight: normal !important;
    font-style: italic !important;
    line-height: 1.3 !important;
    color: #333 !important;
    margin: 0 0 20px 0 !important;
}

.banner-text {
    font-family: var(--finebrushes-body-font) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #333 !important;
    margin: 0 !important;
}

/* Mobile Banner */
@media (max-width: 767px) {
    .banner-title {
        font-size: 24px !important;
    }
    
    .banner-title br {
        display: none;
    }
    
    .banner-text {
        font-size: 14px !important;
    }
}

/* ============================================
   TEAM / OUR CREATIVES SECTION
   ============================================ */
.team-section.our-creatives-section {
    background-color: #fff;
    padding: 60px 0;
    text-align: center;
    max-width: 100%;
    margin: 0;
}

.team-heading {
    font-family: var(--finebrushes-headings-font) !important;
    font-size: 32px !important;
    font-weight: normal !important;
    font-style: italic !important;
    color: #333 !important;
    margin: 0 0 20px 0 !important;
}

.team-description {
    font-family: var(--finebrushes-body-font) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #666 !important;
    max-width: 700px !important;
    margin: 0 auto 40px auto !important;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.team-member {
    text-align: center;
    width: 200px;
}

.team-member-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px auto;
    border-radius: 10px;
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-name {
    font-family: var(--finebrushes-body-font) !important;
    font-size: 13px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #333 !important;
    margin: 0 0 5px 0 !important;
}

.team-member-title {
    font-family: var(--finebrushes-body-font) !important;
    font-size: 12px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #f8b4c4 !important;
    margin: 0 !important;
}

.team-button {
    display: inline-block !important;
    background-color: #f8b4c4 !important;
    color: #fff !important;
    font-family: var(--finebrushes-body-font) !important;
    font-size: 12px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 12px 30px !important;
    text-decoration: none !important;
    border-radius: 3px !important;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

.team-button:hover {
    background-color: #e5a0b0 !important;
    color: #fff !important;
}

/* Mobile Team */
@media (max-width: 767px) {
    .team-members {
        gap: 30px;
    }
    
    .team-member {
        width: 150px;
    }
    
    .team-member-image {
        width: 140px;
        height: 140px;
    }
}

/* ============================================
   YELLOW BACKGROUND SECTION (Craft & Surface)
   ============================================ */
.yellow-bg-section {
    background-color: #f5d547 !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    padding: 60px 20px !important;
    max-width: none !important;
}

.yellow-bg-section .category-articles {
    max-width: 1160px;
    margin: 0 auto;
}

.yellow-bg-section .category-article-item {
    background: transparent;
}

.yellow-bg-section .category-article-title a {
    color: #333 !important;
}

.yellow-bg-section .category-article-title a:hover {
    color: #666 !important;
}

.yellow-bg-section .read-more-link {
    color: #333 !important;
}

.yellow-bg-section .read-more-link:hover {
    color: #666 !important;
}

/* ============================================
   FOOTER STYLES (Pink Footer)
   ============================================ */
/* Note: Footer styling should be in footer.php or theme settings */

/* ============================================
   GENERAL RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 767px) {
    .flexible-articles-layout {
        margin-top: 0;
    }
    
    .hero-section,
    .inspiration-banner,
    .yellow-bg-section {
        margin-left: -15px !important;
        margin-right: -15px !important;
        width: calc(100% + 30px) !important;
    }
}

/* ============================================
   HIDE OLD ELEMENTS
   ============================================ */
.explore-section,
.editors-pick-section,
.hero-content-wrapper,
.hero-category,
.hero-title:not(.hero-main-title),
.hero-excerpt,
.category-article-meta,
.category-label {
    display: none !important;
}

/* Eksell theme uses its own menu system - no overrides needed */

/* ============================================
   NEW FOOTER STYLES (Pink Design)
   ============================================ */
.main-footer.finebrushes-footer {
    background-color: #e8636c !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.finebrushes-footer .footer-pink-section {
    background-color: #e8636c;
    padding: 40px 20px;
    text-align: center;
}

.finebrushes-footer .footer-logo {
    margin-bottom: 20px;
}

.finebrushes-footer .footer-logo-img {
    max-width: 180px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    filter: none !important;
}

.finebrushes-footer .footer-logo-text {
    font-family: var(--finebrushes-headings-font);
    font-size: 36px;
    font-style: italic;
    color: #fff;
}

.finebrushes-footer .footer-pinterest-icon {
    display: inline-block;
    margin-bottom: 20px;
}

.finebrushes-footer .footer-pinterest-icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    color: #e8636c;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.finebrushes-footer .footer-pinterest-icon a:hover {
    transform: scale(1.1);
}

.finebrushes-footer .footer-pinterest-icon svg {
    width: 20px;
    height: 20px;
    fill: #e8636c;
}

.finebrushes-footer .footer-categories-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.finebrushes-footer .footer-categories-nav a {
    font-family: var(--finebrushes-body-font);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.finebrushes-footer .footer-categories-nav a:hover {
    opacity: 0.8;
}

.finebrushes-footer .footer-bottom-section {
    background-color: #fff;
    padding: 25px 20px;
    text-align: center;
}

.finebrushes-footer .footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.finebrushes-footer .footer-legal-links a {
    font-family: var(--finebrushes-body-font);
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.finebrushes-footer .footer-legal-links a:hover {
    color: #333;
}

.finebrushes-footer .footer-copyright {
    font-family: var(--finebrushes-body-font);
    font-size: 12px;
    color: #fff;
    border-top: none;
    padding: 0;
    margin: 2rem 0 1rem 0;
    text-align: center;
}

/* Mobile Footer */
@media (max-width: 767px) {
    .finebrushes-footer .footer-categories-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .finebrushes-footer .footer-legal-links {
        flex-direction: column;
        gap: 10px;
    }
    
    /* FIX: Remove top gap on mobile header */
    #site-header,
    #site-header.stick-me,
    #site-header.is-sticky,
    header#site-header {
        margin-top: 0 !important;
        padding-top: 0 !important;
        top: 0 !important;
    }
    
    .header-inner,
    #site-header .header-inner,
    .section-inner.header-inner {
        padding-top: 10px !important;
        margin-top: 0 !important;
    }
    
    /* Remove any body top padding that might create gap */
    body {
        padding-top: 0 !important;
    }
    
    /* Remove admin bar offset if logged out */
    html:not(.admin-bar) body {
        margin-top: 0 !important;
    }
}

/* ============================================
   FINEBRUSHES ACCORDION (Step-by-Step)
   ============================================ */
   
/* Typography Overrides */
.single-post .entry-content h3,
.tutorial h3 {
    font-size: 2.9rem !important;
}

.single-post .entry-content h4,
.tutorial h4 {
    font-size: 2.2rem !important;
}

.fb-accordion-title {
    font-size: 2.2rem !important;
}

/* Numbered H2 headings in single posts */
.single-post .entry-content {
    counter-reset: h2-counter;
}

.single-post .entry-content h2 {
    counter-increment: h2-counter;
}

.single-post .entry-content h2::before {
    content: counter(h2-counter) ". ";
}

/* Exclude H2s inside ConvertKit form from numbering */
.single-post .entry-content .no-toc-number h2 {
    counter-increment: none;
}

.single-post .entry-content .no-toc-number h2::before {
    content: none;
}

/* Accordion group container */
.fb-accordion-group {
    margin: 3rem 0;
    padding-left: 0;
    position: relative;
}

.fb-accordion {
    margin: 0 0 0 0;
    padding: 0;
    position: relative;
    padding-bottom: 1.5rem;
}

.fb-accordion:last-child {
    padding-bottom: 0;
}

/* Ensure all accordion elements allow overflow for the line */
.fb-accordion,
.fb-accordion-content,
.fb-accordion-header,
.fb-accordion-group {
    overflow: visible !important;
}

/* Vertical line segment on each accordion - connects to next */
.fb-accordion::after {
    content: '';
    position: absolute;
    left: 14px;
    top: 35px; /* Start well below the icon */
    height: calc(100% - 40px); /* End well above next icon */
    width: 2px;
    background-color: #f45d6f;
    z-index: 1; /* Above content but below icon */
}

/* Last accordion: no line */
.fb-accordion:last-child::after,
.fb-accordion.fb-accordion-last::after {
    display: none;
}

.fb-accordion-icon {
    box-shadow: none;
    position: relative;
    z-index: 2;
    background: #f45d6f;
}

/* Header styling */
.fb-accordion-header {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
    position: relative;
    z-index: 1; /* Above the line */
    background: transparent;
    border: none;
    text-align: left;
    padding: 0;
}

/* The Icon (Pink Circle) */
.fb-accordion-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background-color: #f45d6f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    transition: background-color 0.2s ease, transform 0.3s ease;
    position: relative;
    z-index: 5; /* High z-index to stay above line */
    box-shadow: none; /* Remove white ring that was covering the line */
}

/* SVG Arrow inside icon */
.fb-accordion-icon svg {
    width: 12px;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
}

/* Rotate arrow when open */
.fb-accordion:not(.fb-accordion-closed) .fb-accordion-icon svg {
    transform: rotate(180deg);
}

/* Title Styling */
.fb-accordion-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: #1a202c;
    line-height: 1.3;
}

/* Content Container */
.fb-accordion-content {
    padding-left: calc(30px + 1.2rem); /* Icon width + margin */
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    color: #4a5568;
    overflow: hidden; /* Ensure hidden when collapsed */
}

/* List styling inside content */
.fb-accordion-content ul {
    margin: 0;
    padding-left: 1.2rem;
    list-style: disc;
}

.fb-accordion-content ul li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

/* Special Boxes (PIMP IT UP) */
.fb-accordion-content .box-pimp-it-up {
    background-color: #fef9e7; /* Light yellow */
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.fb-accordion-content .box-pimp-it-up h5 {
    color: #f45d6f;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* ============================================
   SEARCH MODAL - ContentBerg Inspired
   ============================================ */

/* Full-screen overlay */
.search-modal {
    background: rgba(255, 255, 255, 0.98) !important;
    padding-left: 0 !important;
}

.search-modal:before {
    display: none !important;
}

.search-modal-inner {
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    transform: none !important;
}

.search-modal.active .search-modal-inner {
    box-shadow: none !important;
}

.search-modal-inner .section-inner {
    max-width: 700px;
    width: 100%;
    padding: 0 30px;
    flex-direction: column;
    align-items: center;
}

/* Search Form Styling */
.modal-search-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-search-form .search-field {
    width: 100%;
    padding: 0 0 15px 0 !important;
    margin-bottom: 20px;
    border: none !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-radius: 0 !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #1a202c !important;
    background: transparent !important;
    text-align: center;
    outline: none !important;
    box-shadow: none !important;
}

.modal-search-form .search-field:focus {
    border-bottom-color: #f45d6f !important;
}

.modal-search-form .search-field::placeholder {
    color: #a0aec0;
    font-weight: 700;
}

.modal-search-form .search-label {
    display: none;
}

.modal-search-form .search-submit {
    background: #f45d6f !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 40px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 30px !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-search-form .search-submit:hover {
    background: #e04a5c !important;
    transform: translateY(-2px);
}

/* Search hint text */
.modal-search-form::after {
    content: 'Type and press Enter to search';
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: #718096;
}

/* Close button */
.search-untoggle {
    position: fixed !important;
    top: 30px !important;
    right: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.search-untoggle-inner {
    width: 50px !important;
    height: 50px !important;
    background: #f7fafc !important;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.search-untoggle:hover .search-untoggle-inner {
    background: #edf2f7 !important;
}

.search-untoggle svg {
    width: 20px;
    height: 20px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .modal-search-form .search-field {
        font-size: 28px !important;
    }
    
    .search-untoggle {
        top: 15px !important;
        right: 15px !important;
    }
    
    .search-untoggle-inner {
        width: 40px !important;
        height: 40px !important;
    }
}

/* ============================================
   ARTICLE BOXES - Brush Guide / Pencil Guide
   ============================================ */

.article-box {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
    overflow: hidden;
    position: relative;
}

.article-box-brush {
    background-image: url('../images/article-boxes/bg-brush.jpg');
}

.article-box-pencil {
    background-image: url('../images/article-boxes/bg-pencil.jpg');
}

.article-box-inner {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 50px 60px;
    border-radius: 20px;
    position: relative;
    z-index: 5;
}

.article-box-subtitle {
    font-family: 'Roboto', var(--finebrushes-body-font), sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #e8656a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 -8px 0;
}

.article-box-title {
    font-family: 'Roboto', var(--finebrushes-headings-font), sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #e8656a;
    line-height: 1.2;
    margin: 0;
    max-width: 400px;
}

.article-box-text {
    font-family: 'Roboto', var(--finebrushes-body-font), sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #180703;
    line-height: 1.5;
    margin: 0;
    max-width: 400px;
}

.article-box-button {
    background-color: #e8656a;
    color: #ffffff !important;
    font-family: 'Roboto', var(--finebrushes-body-font), sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 15;
    text-decoration: none;
    display: inline-block;
}

.article-box-button:hover {
    background-color: #d45459;
    color: #ffffff !important;
    text-decoration: none;
}

.article-box-button:active {
    background-color: #c44449;
}

/* Brush box image */
.article-box-brushes {
    position: absolute;
    bottom: 0;
    left: 20px;
    height: 140px;
    width: auto;
    pointer-events: none;
    z-index: 10;
}

/* Pencil box images */
.article-box-pencils {
    position: absolute;
    bottom: 0;
    left: 30px;
    height: 130px;
    width: auto;
    pointer-events: none;
    z-index: 5;
}

.article-box-sketch {
    position: absolute;
    top: -120px;
    right: -120px;
    height: 250px;
    width: auto;
    pointer-events: none;
    z-index: 5;
}

/* Tablet */
@media (max-width: 900px) {
    .article-box {
        padding: 25px;
    }

    .article-box-inner {
        padding: 40px 50px;
        max-width: 500px;
    }

    .article-box-title {
        max-width: 350px;
    }

    .article-box-text {
        max-width: 350px;
    }

    .article-box-button {
        width: auto;
        max-width: none;
        padding: 12px 20px;
    }

    .article-box-brushes {
        height: 110px;
        left: 15px;
    }

    .article-box-pencils {
        height: 110px;
        left: 20px;
    }

    .article-box-sketch {
        height: 180px;
        top: -80px;
        right: -100px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .article-box {
        padding: 20px;
    }

    .article-box-inner {
        padding: 35px 30px;
        max-width: 100%;
    }

    .article-box-title {
        font-size: 24px;
        max-width: 280px;
    }

    .article-box-text {
        font-size: 14px;
        max-width: 280px;
    }

    .article-box-button {
        width: auto;
        max-width: none;
        z-index: 20;
        position: relative;
    }

    .article-box-brushes {
        height: 80px;
        left: 10px;
        z-index: 5;
    }

    .article-box-pencils {
        height: 80px;
        left: 15px;
    }

    .article-box-sketch {
        height: 150px;
        top: -60px;
        right: -80px;
    }
}

/* ============================================
   COLORMIXING BANNER - Color Mixing Chart Download
   ============================================ */

.colormixing-banner {
    background-color: #e8656a;
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0;
    border-radius: 12px;
    margin: 40px 0;
    overflow: hidden;
    position: relative;
}

.colormixing-banner-image {
    flex: 0 0 280px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.colormixing-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.colormixing-banner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 30px 30px 30px 0;
    position: relative;
    z-index: 10;
}

.colormixing-banner .colormixing-banner-subtitle,
p.colormixing-banner-subtitle,
.single-post .entry-content p.colormixing-banner-subtitle,
.single-post .entry-content .colormixing-banner p.colormixing-banner-subtitle {
    font-family: 'Roboto', var(--finebrushes-body-font), sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 0 -8px 0 !important;
}

.colormixing-banner .colormixing-banner-title,
h3.colormixing-banner-title,
.single-post .entry-content h3.colormixing-banner-title,
.single-post .entry-content .colormixing-banner h3 {
    font-family: 'Roboto', var(--finebrushes-headings-font), sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.colormixing-banner .colormixing-banner-text,
p.colormixing-banner-text,
.single-post .entry-content p.colormixing-banner-text,
.single-post .entry-content .colormixing-banner p.colormixing-banner-text {
    font-family: 'Roboto', var(--finebrushes-body-font), sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.colormixing-banner .colormixing-banner-button,
a.colormixing-banner-button {
    background-color: #ffffff !important;
    color: #cb6e5d !important;
    font-family: 'Roboto', var(--finebrushes-body-font), sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    align-self: flex-start !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.colormixing-banner .colormixing-banner-button:hover,
a.colormixing-banner-button:hover {
    background-color: #f5f5f5 !important;
    color: #cb6e5d !important;
    text-decoration: none !important;
}

.colormixing-banner-button:active {
    background-color: #e8e8e8;
}

.colormixing-banner-watercolor {
    position: absolute;
    bottom: -35px;
    right: 0;
    left: 280px;
    height: 120px;
    width: auto;
    pointer-events: none;
}

/* Mobile */
@media (max-width: 640px) {
    .colormixing-banner {
        flex-direction: column;
        gap: 0;
        padding: 0;
        height: auto;
    }

    .colormixing-banner-image {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
        max-width: 100%;
    }

    .colormixing-banner-image img {
        transform: scale(1.2);
    }

    .colormixing-banner-content {
        text-align: center;
        align-items: center;
        padding: 25px 20px;
    }

    .colormixing-banner-title {
        font-size: 24px;
    }

    .colormixing-banner-text {
        font-size: 14px;
    }

    .colormixing-banner-button {
        align-self: center;
        width: 100%;
        max-width: 280px;
    }

    .colormixing-banner-watercolor {
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        height: 100px;
    }
}
