/*
Theme Name: SunnyTT Marketplace
Theme URI: https://sunnywebstudio.com
Author: Sunnywebstudio
Author URI: https://sunnywebstudio.com
Description: A lightweight, high-performance theme designed for tours and marketplace architecture. Fully optimized and Elementor-free.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 8.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sunnytt
Tags: one-column, custom-colors, custom-menu, custom-logo, featured-images, translation-ready, e-commerce, blog
*/

/* --- 1. Base Reset & Layout --- */

:root {
    --st-primary-color: #0B3C5D;
    --st-secondary-color: #ffcc05;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

img, svg, video {
    max-width: 100%;
    height: auto;
}


body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

#page {
    width: 100%;
    overflow-x: hidden;
}

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

/* --- 2. Top Bar --- */
.et-top-bar {
    background-color: var(--st-primary-color, #1e73be);
    color: #fff;
    padding: 10px 0;
    width: 100%;
}

.et-top-left, .et-top-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.et-info-item, .et-info-item a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

/* Top Navigation Menu Styles */
.top-menu-list {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.top-menu-list a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.top-menu-list a:hover {
    opacity: 0.8;
}

/* Isolated flexbox container for our elements only */
.sunnymkt-header-auth-group {
    display: flex;
    align-items: center;
    gap: 15px; /* Perfect uniform spacing between the link and all icons */
}

/* Standalone link styles */
.sunnymkt-header-auth-link {
    color: #ffffff; 
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    opacity: 1;
    transition: opacity 0.2s ease;
}

/* Interactive hover state */
.sunnymkt-header-auth-link:hover {
    opacity: 0.8;
}

/* --- 3. Main Header & Navigation --- */
.et-main-header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    width: 100%;
    position: relative;
    z-index: 1000;
}

.site-branding img {
    max-height: 60px;
    width: auto;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-weight: 700;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-parent > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_item > a,
.main-navigation .current_page_parent > a,
.main-navigation .current_page_ancestor > a {
    color: var(--st-secondary-color, #1a1a1a);
}

.main-navigation li {
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}


.blog-layout-container .blog-posts-column {
    flex: 1;
    min-width: 0; 
}

/* Desktop Dropdown Arrows */
@media (min-width: 992px) {
    .menu-item-has-children > a::after {
        content: ' ▼';
        font-size: 10px;
        margin-left: 5px;
        vertical-align: middle;
        opacity: 0.7;
    }
    
    .main-navigation ul ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        min-width: 200px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 100;
    }

    .main-navigation li:hover > ul {
        display: block;
    }
}



/* --- 4. Mobile Layout --- */
@media (max-width: 991px) {
    .et-top-bar {
        display: none;
    }

    /* Fixed Hamburger: Flexbox Centering */
    .et-hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background-color: var(--st-primary-color, #ffb100);
        border: none;
        border-radius: 4px;
        cursor: pointer;
        margin-left: auto;
        padding: 0;
        overflow: hidden;
    }

    .et-hamburger-box {
        width: 24px;
        height: 18px;
        position: relative;
        display: block;
    }

    .et-hamburger-inner, 
    .et-hamburger-inner::before, 
    .et-hamburger-inner::after {
        width: 24px;
        height: 2px;
        background-color: #fff;
        position: absolute;
        transition: 0.3s;
        left: 0;
    }

    .et-hamburger-inner { 
        top: 50%; 
        transform: translateY(-50%); 
    }

    .et-hamburger-inner::before { 
        content: ""; 
        top: -8px; 
    }
    .et-hamburger-inner::after { 
        content: ""; 
        top: 8px; 
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--st-primary-color, #ffb100);
        z-index: 9999;
    }

    .main-navigation.is-active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }

    .main-navigation a {
        color: #fff !important;
        padding: 12px 20px;
        display: block;
        font-weight: 600;
    }

    /* Mobile Sub-menu Trigger */
    .sub-menu-trigger {
        position: absolute;
        right: 0;
        top: 0;
        width: 50px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 22px;
        cursor: pointer;
        border-left: 1px solid rgba(255,255,255,0.2);
        z-index: 5;
    }

    .main-navigation ul ul {
        display: none !important;
        position: static;
        background-color: rgba(0,0,0,0.05);
        width: 100%;
        padding: 0;
    }

    .main-navigation li.sub-menu-open > ul {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .et-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }
}

/* --- 5. Social Icons --- */
.et-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 12px;
    color: #ffffff;
}

.et-social-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    display: block;
}

@media (min-width: 992px) {
    .et-hamburger {
        display: none !important;
    }
}

/* --- 6. Sticky Header Support --- */
@media (min-width: 992px) {
    .site-header {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 9999;
        width: 100%;
        transition: all 0.3s ease;
    }

    .et-main-header {
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        transition: padding 0.3s ease;
    }

    .site-branding img {
        transition: max-height 0.3s ease;
    }

    .header-scrolled .et-main-header {
        padding: 5px 0;
    }

    .header-scrolled .site-branding img {
        max-height: 40px;
    }
}

/* --- 7. Footer Styles --- */

.site-footer {
    padding: 0;
    margin-top: auto;
    width: 100%;
}

.footer-widgets-area {
    background-color: var(--st-primary-color);
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-widgets-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
    align-items: flex-start; /* Выравнивает колонки по верхнему краю, убирая касскадные сдвиги */
}

.footer-widget-column {
    flex: 1 1 calc(25% - 30px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-widget-column .widget-title {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: 100%;
    text-align: left;
}

.footer-widget-column .widget {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Reset default list padding and dots */
.footer-widget-column .widget ul,
.footer-widget-column .widget ol {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: left;
}

.footer-widget-column .widget li {
    margin-bottom: 8px;
}

.footer-widget-column .widget p,
.footer-widget-column .widget a {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-widget-column .widget a {
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-widget-column .widget a:hover,
.footer-widget-column .widget a:focus {
    opacity: 0.75;
    text-decoration: none;
}

.footer-bottom {
    background-color: var(--st-primary-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    width: 100%;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-copyright p a.designer-link {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
    transition: opacity 0.2s ease;
}

.footer-copyright p a.designer-link:hover,
.footer-copyright p a.designer-link:focus {
    opacity: 1;
    text-decoration: none;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .footer-widget-column {
        flex: 1 1 calc(50% - 30px);
    }
}

@media screen and (max-width: 600px) {
    .footer-widget-column {
        flex: 1 1 100%;
    }
}

/* ==========================================================================
   CUSTOM CONTACT FORM STYLES (SunnyTT Marketplace)
   ========================================================================== */

.contacts-banner-wrapper {
    margin-top: 40px;
}

   /* Main form container wrapper */
.contacts-form-wrapper {
    margin-top: 40px;
    background-color: #fcfdfd; /* Ultra-light tint to separate form zone */
    padding: 0px;
    border-radius: 8px;
    border: 1px solid #eef2f5;
    box-shadow: 0 4px 20px rgba(11, 60, 93, 0.04); /* Soft brand-colored shadow */
}

/* Explicit isolated border layout for the actual form element */
.st-custom-contact-form {
    border: 1px solid #cbd5e1; /* Clean, subtle border around the form fields */
    padding: 30px; /* Comfortable internal breathing space */
    border-radius: 6px;
    background-color: #ffffff; /* Contrast background inside the frame */
}

/* Individual form rows */
.st-custom-contact-form .form-group {
    margin-bottom: 25px;
}

/* Captcha group spacing alignment */
.st-custom-contact-form .captcha-group {
    margin-bottom: 30px;
    background-color: #f7fafc;
    padding: 15px 20px;
    border-radius: 6px;
    border-left: 4px solid var(--st-primary-color, #0B3C5D);
}

/* Labels layout and typography - CAPS LOCK REMOVED */
.st-custom-contact-form label {
    display: block;
    font-size: 15px; /* Slightly adjusted to look perfect in normal case */
    font-weight: 700;
    color: var(--st-primary-color, #0B3C5D);
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

/* Inputs and Textarea engineering */
.st-custom-contact-form input[type="text"],
.st-custom-contact-form input[type="email"],
.st-custom-contact-form input[type="tel"],
.st-custom-contact-form input[type="number"],
.st-custom-contact-form input[type="passwoerd"],

.st-custom-contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Specific styling for the short numeric math captcha input */
.st-custom-contact-form input[name="st_captcha_answer"] {
    max-width: 140px;
    text-align: center;
    font-weight: 700;
}


/* --- Required WordPress Classes --- */
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 0 auto 20px auto; }
.wp-caption { background: #f3f3f3; padding: 5px; border: 1px solid #ddd; text-align: center; }
.wp-caption-text { font-size: 11px; font-style: italic; }
.sticky { border: 1px solid #eee; }
.gallery-caption { font-size: 11px; }
.bypostauthor { font-weight: bold; }

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* --- Single Post Tags Styling --- */
.post-tags-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.post-tags-container .tags-label {
    font-weight: bold;
    margin-right: 5px;
}

/* Используем наши переменные без лишних классов */
.post-tags-container a,
.page-inner-content p a {
    color: var(--st-primary-color, #0B3C5D);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}

.post-tags-container a:hover,
.page-inner-content p a:hover {
    color: var(--st-secondary-color, #ffcc05);
    opacity: 1;
}

/* ==========================================================================
   7. Desktop Sticky & Transparent Header Logic
   ========================================================================== */

@keyframes stickyFadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 992px) {
    /* Header positioning */
    .site-header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        background: transparent;
    }

    /* Admin bar compensation for initial state */
    body.admin-bar .site-header {
        top: 32px;
    }

    /* Restore top bar background and layered visibility */
    .et-top-bar {
        background: var(--st-primary-color) !important;
        position: relative;
        z-index: 1000;
    }

    /* Transparent (Top) state styling */
    .site-header:not(.header-scrolled) .et-main-header {
        background: transparent !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }

    /* Scrolled (Sticky) state styling - WITH SMOOTH ANIMATION */
    .header-scrolled .et-main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: #ffffff !important;
        border-bottom: 1px solid #eeeeee;
        
    
        animation: stickyFadeInSlide 0.35s ease-out forwards;
    }

    /* Admin bar compensation for scrolled state */
    body.admin-bar .header-scrolled .et-main-header {
        top: 32px;
    }

    /* Logo swapping */
    .site-branding .logo-sticky { display: none; }
    .site-branding .logo-transparent { display: block; }
    .header-scrolled .site-branding .logo-transparent { display: none; }
    .header-scrolled .site-branding .logo-sticky { display: block; }

    /* --- Navigation Color Logic --- */

    /* 1. White links on the transparent header (Slider) */
    .site-header:not(.header-scrolled) .main-navigation a {
        color: #ffffff !important;
    }

    /* 2. Dark links on the sticky header */
    .header-scrolled .main-navigation a {
        color: #333333 !important;
    }

    /* 3. Highlight the active page */
    .main-navigation li.current_page_item > a,
    .main-navigation li.current-menu-item > a {
        color: var(--st-secondary-color) !important;
        font-weight: bold !important;
    }

    /* 4. Hover effect */
    .main-navigation a:hover {
        color: var(--st-secondary-color) !important;
    }
}

/* ==========================================================================
   8. Mobile Header Optimization
   ========================================================================== */

@media (max-width: 991px) {
    /* Hide the white/transparent logo variant on mobile */
    .site-branding .logo-transparent {
        display: none !important;
    }
    
    /* Ensure the main dark logo is visible */
    .site-branding .logo-sticky {
        display: block !important;
    }
}

/* --- Active link and Hover states for transparent header --- */

/* 1. Hover effect for transparent state */
.site-header:not(.header-scrolled) .nav-menu > li > a:hover {
    color: var(--st-secondary-color) !important;
}

/* 2. Active state for transparent state */
.site-header:not(.header-scrolled) .nav-menu li.current-menu-item > a,
.site-header:not(.header-scrolled) .nav-menu li.current_page_item > a {
    color: var(--st-secondary-color) !important;
    font-weight: bold !important;
}

/* ==========================================================================
   9. Regular Pages & Parallax Hero Section
   ========================================================================== */

/* Hero Section with Parallax Effect */
.page-hero-section {
    position: relative;
    height: 450px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    
    /* The core mechanics of pure CSS parallax */
    background-attachment: fixed; 
    
    display: flex;
    align-items: center;
}

/* Dark overlay to ensure contrast for white text and transparent header */
.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 60, 93, 0.6); /* --st-primary-color with 60% opacity */
    z-index: 1;
}

/* Hero Content Container - Aligned perfectly to the left grid */
.page-hero-section .hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: left;
    display: block;   /* Overriding standard .et-container flex behavior for direct block alignment */
    padding-top: 140px; /* Increased gap to sit beautifully below the absolute transparent header */
}

/* Main Page Title inside Hero - Left Aligned */
.page-title {
    color: #ffffff;
    font-size: 3rem;
    margin: 0 0 10px 0; /* Elegant bottom spacing before breadcrumbs */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

/* Breadcrumbs Styling inside Hero - Left Aligned */
.breadcrumbs {
    margin-top: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--st-secondary-color) !important;
}

.breadcrumbs-separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumbs-current {
    color: var(--st-secondary-color);
    font-weight: 600;
}

/* Main Content Area Layout */
.regular-page-main {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-content-container {
    display: block;
}

.blog-layout-container {
    align-items: flex-start; /* Aligns the sidebar strictly to the top on desktop layouts */
}

.page-inner-content {
    background: #ffffff;
    padding: 0px;
    border-radius: 0;
    box-shadow: none;
    line-height: 1.8;
    color: #444444;
}

/* Mobile adjustments for Parallax Hero */
@media (max-width: 991px) {
    .page-hero-section {
        height: 300px;
        background-attachment: scroll; 
        display: flex;
        align-items: center;
        padding-top: 0;
    }
    
    .page-hero-section .hero-container {
        width: 100%;
        text-align: left;
        padding-top: 0;
    }
    
    .page-title {
        font-size: 2rem;
        margin: 0;
        padding: 0 15px;
    }
    
    /* Return safe padding on mobile layouts so text doesn't touch screen edges */
    .page-inner-content {
        padding: 30px 20px;
    }
}

/* ==========================================================================
 10.  Global Responsive Layout Grid Fix
   ========================================================================== */

/* Enable wrapping for the layout container to allow sidebar to drop down */
.blog-layout-container {
    flex-wrap: wrap;
}

/* Force main content column to stay within bounds and not expand */
.blog-layout-container .blog-posts-column {
    flex: 1;
    min-width: 0;
    margin-right: 30px;
}

/* Global rule to prevent any image from breaking the layout width */
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* Tablet and Mobile Responsiveness (Screens under 991px) */
@media (max-width: 991px) {
    .blog-layout-container .blog-posts-column {
        max-width: 100%;
        flex: 1 1 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }

    /* Force sidebar and native widget area to drop down and take full width */
    .blog-layout-container .blog-sidebar-column,
    .blog-layout-container .widget-area {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        display: block !important;
    }
}

@media (max-width: 767px) {
    .breadcrumbs {
        display: none !important;
    }
}


/* ==========================================================================
   Sidebar & Widgets Architecture (Clean Minimalist Layout)
   ========================================================================== */

.blog-sidebar-column {
    width: 320px;
    flex-shrink: 0;
    padding-top: 40px;
}

/* Widget wrappers: both classic and new blocks */
.blog-sidebar-column .widget,
.blog-sidebar-column .widget_block,
.blog-sidebar-column .wp-block-group,
.blog-sidebar-column > [class^="wp-block-"] {
    background: transparent;
    padding: 0;
    margin-bottom: 35px;
    border: none;
    border-radius: 0;
}

/* Widget titles: classic, h2/h3 tags inside blocks, and search labels */
.blog-sidebar-column .widget-title,
.blog-sidebar-column .widget h2,
.blog-sidebar-column .widget h3,
.blog-sidebar-column .wp-block-heading,
.blog-sidebar-column .wp-block-search__label {
    font-size: 20px;
    font-weight: 700;
    color: var(--st-primary-color);
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--st-secondary-color);
    letter-spacing: 0.5px;
}

/* Lists in widgets (categories, archives, recent posts — classic and blocks) */
.blog-sidebar-column .widget ul,
.blog-sidebar-column .widget ol,
.blog-sidebar-column [class*="wp-block-"] ul,
.blog-sidebar-column [class*="wp-block-"] ol {
    list-style: none;
    padding-left: 0; /* Forced reset to align the list perfectly with the widget title */
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
}

/* Base list items setup */
.blog-sidebar-column .widget ul li,
.blog-sidebar-column .widget ol li,
.blog-sidebar-column [class*="wp-block-"] ul li,
.blog-sidebar-column [class*="wp-block-"] ol li {
    font-size: 15px;
    line-height: 1.5;
    padding: 6px 0; /* Keeps items closer together vertically */
    color: #555555;
    display: block; /* Allows nested sub-lists to drop down naturally without layout breaks */
}

/* Subcategories / Nested list items styling */
.blog-sidebar-column .widget ul li li,
.blog-sidebar-column [class*="wp-block-"] ul li li {
    padding: 4px 0 0 15px; /* Indents ONLY the child subcategory to the right */
    border-bottom: none; /* No separator lines inside nested subcategories */
}

/* Adding a dash before subcategory links */
.blog-sidebar-column .widget ul li li a::before,
.blog-sidebar-column [class*="wp-block-"] ul li li a::before {
    content: "- "; /* Prefends a dash precisely to the left of the child link text */
    color: #888888;
    margin-right: 2px;
}

/* Root list items separation border */
.blog-sidebar-column .widget > ul > li,
.blog-sidebar-column .widget > ol > li,
.blog-sidebar-column [class*="wp-block-"] > ul > li,
.blog-sidebar-column [class*="wp-block-"] > ol > li {
    border-bottom: 1px solid #f5f7f8;
}

/* Remove bottom border from the last root item */
.blog-sidebar-column .widget > ul > li:last-child,
.blog-sidebar-column .widget > ol > li:last-child,
.blog-sidebar-column [class*="wp-block-"] > ul > li:last-child,
.blog-sidebar-column [class*="wp-block-"] > ol > li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Links inside widget lists */
.blog-sidebar-column .widget ul li a,
.blog-sidebar-column .widget ol li a,
.blog-sidebar-column [class*="wp-block-"] ul li a,
.blog-sidebar-column [class*="wp-block-"] ol li a {
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.blog-sidebar-column .widget ul li a:hover,
.blog-sidebar-column .widget ol li a:hover,
.blog-sidebar-column [class*="wp-block-"] ul li a:hover,
.blog-sidebar-column [class*="wp-block-"] ol li a:hover {
    color: var(--st-secondary-color);
}

/* Search form: classic and Gutenberg block */
.blog-sidebar-column .search-form,
.blog-sidebar-column .wp-block-search__inside-wrapper {
    display: flex;
    width: 100%;
}

/* Search input field */
.blog-sidebar-column .search-field,
.blog-sidebar-column .wp-block-search__input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ccd0d4;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

/* Search submit button */
.blog-sidebar-column .search-submit,
.blog-sidebar-column .wp-block-search__button {
    background: var(--st-primary-color);
    color: #ffffff;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.2s;
}

.blog-sidebar-column .search-submit:hover,
.blog-sidebar-column .wp-block-search__button:hover {
    background: var(--st-secondary-color);
}

@media (max-width: 991px) {
    .blog-sidebar-column {
        padding-top: 0;
    }
}

/* ==========================================================================
   Marketplace Empty States & Notices
   ========================================================================== */

.marketplace-no-products {
    font-size: 16px;
    color: #666666; /* Muted gray color */
    line-height: 1.6;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
}

/* ==========================================================================
   Hero Search Form (Clean Horizontal Layout)
   ========================================================================== */

/* Main wrapper container for positioning below the slider */
.home-hero-search-section {
    position: relative;
    z-index: 99;
    margin-top: -40px; /* Pulls the form up to partially overlay the slider */
    padding-bottom: 30px;
}

/* White background card block for the form elements */
.hero-search-wrapper {
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Flex container managing the horizontal column alignment on desktop */
.hero-search-form {
    display: flex;
    flex-direction: row; /* Strict horizontal row alignment */
    align-items: center; /* Vertically centers fields and submit button */
    justify-content: space-between;
    gap: 15px; /* Column gutters */
    width: 100%;
}

/* Individual wrapper columns for each custom select drop-down */
.hero-search-form .search-field-group {
    flex: 1; /* Distributes free inline space evenly among elements */
    position: relative;
}

/* Vertical separating line between non-last parameters matching Wanderers style */
.hero-search-form .search-field-group:not(:last-of-type)::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    height: 25px;
    width: 1px;
    background-color: #e5e7eb; /* Soft gray architectural separator color */
}

/* Complete styling and resetting of native browser dropdown select boxes */
.hero-search-form .search-field-group select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #1f2937;
    padding: 12px 25px 12px 0; /* Inline padding-right prevents text overlap with custom arrow */
    font-weight: 500;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none; /* Disables standard engine browser dropdown assets */
    -moz-appearance: none;
    appearance: none;
    /* Custom neat vector dropdown arrow element down */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%234b5563' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");
    background-repeat: no-repeat;
    background-position: calc(100% - 5px) center;
}

/* Action button packaging preventing form stretch */
.hero-search-form .search-submit-group {
    flex: 0 0 auto; /* Button maintains hard explicit content width bounding */
}

/* Main contrasting contextual search action button */
.hero-search-form .hero-search-button {
    background-color: #2563eb; /* Theme primary focal tint - update to match brand palette */
    color: #ffffff;
    border: none;
    padding: 12px 35px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Button interactive states execution */
.hero-search-form .hero-search-button:hover {
    background-color: #1d4ed8;
}

/* ==========================================================================
   Hero Search Form (Clean Horizontal & Centered Layout)
   ========================================================================== */

/* Main wrapper container for positioning below the slider */
.home-hero-search-section {
    position: relative;
    z-index: 99;
    margin-top: -70px; /* Pulls the form up to partially overlay the slider */
    padding-bottom: 30px;
    width: 100%;
}

/* White background card block for the form elements - Centered */
.hero-search-wrapper {
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    max-width: 1140px; /* Binds form width to standard layout grid bounds */
    margin: 0 auto; /* Horizontally centers the box on the desktop page layout */
}

/* Flex container managing the horizontal column alignment on desktop */
.hero-search-form {
    display: flex;
    flex-direction: row; /* Strict horizontal row alignment */
    align-items: center; /* Vertically centers fields and submit button */
    justify-content: space-between;
    gap: 15px; /* Column gutters */
    width: 100%;
}

/* Individual wrapper columns for each custom select drop-down */
.hero-search-form .search-field-group {
    flex: 1; /* Distributes free inline space evenly among elements */
    position: relative;
}

/* Vertical separating line between non-last parameters matching Wanderers style */
.hero-search-form .search-field-group:not(:last-of-type)::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    height: 25px;
    width: 1px;
    background-color: #e5e7eb; /* Soft gray architectural separator color */
}

/* Complete styling and resetting of native browser dropdown select boxes */
.hero-search-form .search-field-group select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #1f2937;
    padding: 12px 25px 12px 0; /* Inline padding-right prevents text overlap with custom arrow */
    font-weight: 500;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none; /* Disables standard engine browser dropdown assets */
    -moz-appearance: none;
    appearance: none;
    /* Custom neat vector dropdown arrow element down */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%234b5563' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");
    background-repeat: no-repeat;
    background-position: calc(100% - 5px) center;
}

/* Action button packaging preventing form stretch */
.hero-search-form .search-submit-group {
    flex: 0 0 auto; /* Button maintains hard explicit content width bounding */
}

/* Main contrasting contextual search action button - Matched with old banner style */
.hero-search-form .hero-search-button {
    background-color: var(--st-secondary-color, #ffcc05); /* Inherits brand secondary accent tint */
    color: #ffffff;
    border: none;
    padding: 12px 35px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Button interactive states execution - Elegant lift effect */
.hero-search-form .hero-search-button:hover {
    background-color: var(--st-primary-color, #0B3C5D);
    transform: translateY(-2px);
}

@media (min-width: 769px) {
    .hero-search-wrapper {
        max-width: 1300px !important;
        width: 75%;
    }

    .hero-search-form {
        width: 100% !important;
    }

    .st-custom-select {
        position: relative;
        width: 100% !important;
    }

    .st-select-trigger {
        width: 100%;
        font-size: 15px;
        color: #1f2937;
        padding: 12px 25px 12px 0;
        font-weight: 500;
        cursor: pointer;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%234b5563' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");
        background-repeat: no-repeat;
        background-position: calc(100% - 5px) center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .st-select-dropdown {
        position: absolute;
        top: 100%;
        left: -15px;
        width: calc(100% + 30px);
        min-width: 260px;
        max-height: 300px;
        background-color: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        padding: 8px 0;
        margin: 5px 0 0 0;
        list-style: none;
        overflow-y: auto;
        z-index: 99999;
        display: none;
    }

    .st-select-dropdown.is-open {
        display: block;
    }

    .st-select-dropdown.open-upward {
        top: auto;
        bottom: 100%;
        margin: 0 0 5px 0;
        box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.15);
    }

    .st-select-item {
        padding: 12px 20px;
        font-size: 14px;
        color: #1f2937;
        cursor: pointer;
        transition: background-color 0.15s ease;
        white-space: nowrap;
    }

    .st-select-item:hover {
        background-color: #f3f4f6;
        color: #000000;
    }

    .st-select-item.is-selected {
        background-color: #f3f4f6;
        font-weight: 600;
    }
}

/* ==========================================================================
   Responsive Viewports Execution (Mobile Stack Breakdown)
   ========================================================================== */
@media (max-width: 768px) {
    .home-hero-search-section {
        margin-top: 0;
        padding: 15px 10px;
    }
    
    .hero-search-wrapper {
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box;
    }
    
    .hero-search-form {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100% !important;
    }
    
    .hero-search-form .search-field-group:not(:last-of-type)::after {
        display: none;
    }
    
    .hero-search-form .search-field-group select {
        border-bottom: 1px solid #f3f4f6;
        padding: 10px 0;
    }
    
    .hero-search-form .hero-search-button {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   Global Component: Section Titles (Reusable UI Element)
   ========================================================================== */
.st-section-title {
    width: 100% !important;
    display: block !important;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--st-primary-color);
    margin: 80px 0 20px 0;
    padding: 0;
}

/* Base adjustment for sections to ensure flex childs stack vertically */
.home-categories-section .et-container,
.home-featured-section .et-container,
.home-latest-section .et-container,
.home-advantages-section .et-container {
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
}

.home-categories-section {
    padding: 60px 0 30px 0;
    width: 100%;
}

/* Mobile Responsive Adjustments for Global Title */
@media (max-width: 768px) {
    .st-section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .home-categories-section {
        padding: 40px 0 20px 0;
    }
}


/* ==========================================================================
   Home Categories Grid & Cards Layout
   ========================================================================== */
.home-categories-section {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

.categories-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    gap: 45px 25px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    transition: transform 0.2s ease;
    box-sizing: border-box;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon-img {
    width: 100%;
    max-width: 120px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-bottom: 18px;
    display: block;
}

.category-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    text-align: center;
    line-height: 1.4;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (max-width: 991px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 20px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }
}

/* ==========================================================================
   Home Hot Offers Custom 4-Column Grid
   ========================================================================== */
.marketplace-products-grid.st-home-grid {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px 20px !important;
    float: none !important;
    clear: both !important;
}

.marketplace-products-grid.st-home-grid .marketplace-card-item {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 991px) {
    .marketplace-products-grid.st-home-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px 15px !important;
    }
}

@media (max-width: 568px) {
    .marketplace-products-grid.st-home-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 25px !important;
    }
}

/**
 * SECTION: Homepage Archive Redirection CTA
 * Description: Stylized layout controls and action button designed to transition users to the core marketplace catalog.
 */

/* Container wrapper architecture for desktop and default screens */
.marketplace-more-tours-wrapper {
    text-align: center;
    width: 100%;
    clear: both;
    padding-top: 10px;
    padding-bottom: 65px;
}

/* Base flat action button styling - Matched with primary theme parameters */
.st-flat-button {
    display: inline-block;
    background-color: var(--st-secondary-color, #ffcc05);
    color: #ffffff !important;
    border: none;
    padding: 14px 45px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Interactive focus and hover behaviors execution */
.st-flat-button:hover {
    background-color: var(--st-primary-color, #0B3C5D);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.st-flat-button:active {
    transform: translateY(0);
}

/* Mobile responsive styling layout execution */
@media screen and (max-width: 767px) {
    .marketplace-more-tours-wrapper {
        padding-top: 10px;
        padding-bottom: 45px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .st-flat-button {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 15px 20px;
        font-size: 13px;
        text-align: center;
    }
}

/**
 * SECTION: About Page Double CTA Buttons
 * Built atop native .st-flat-button specs with color inversion architecture.
 */

 .st-about-cta-flex-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.st-flat-button {
    display: inline-flex;
    /* Изменено: заставляем внутренние элементы (и перевод) переноситься по вертикали */
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    
    min-width: 180px;
    min-height: 48px; 
    padding: 12px 24px; 
    box-sizing: border-box;
    border: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none !important;
    line-height: 1.2;
    text-align: center; /* Центрируем строки текста, если их станет несколько */
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.st-flat-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.st-flat-button:active {
    transform: translateY(0);
}

.st-flat-button.btn-about-primary {
    background-color: var(--st-secondary-color, #ffcc05);
    color: #ffffff !important;
}

.st-flat-button.btn-about-primary:hover {
    background-color: var(--st-primary-color, #0B3C5D);
}

.st-flat-button.btn-about-secondary {
    background-color: var(--st-primary-color, #0B3C5D);
    color: #ffffff !important;
}

.st-flat-button.btn-about-secondary:hover {
    background-color: var(--st-secondary-color, #ffcc05);
}

@media screen and (max-width: 767px) {
    .marketplace-more-tours-wrapper.st-about-cta-flex-container {
        padding-top: 10px;
        padding-bottom: 45px;
        padding-left: 15px;
        padding-right: 15px;
        
        /* Меняем направление самого контейнера на мобилке: кнопки встанут друг под другом */
        display: flex; 
        flex-direction: column; 
        gap: 16px; /* Зазор между кнопками по вертикали */
        align-items: center;
    }

    .st-about-cta-flex-container .st-flat-button {
        display: inline-flex; 
        flex-direction: row; /* Внутри кнопки текст пусть идет обычной строкой */
        align-items: center;
        justify-content: center;
        
        /* Кнопки займут всю доступную ширину, но не будут гигантскими */
        width: 100%;
        max-width: 280px; 
        min-height: 50px;
        box-sizing: border-box;
        padding: 0 20px; 
        font-size: 14px; /* Можно вернуть нормальный читаемый размер */
        text-align: center;
    }
}

/**
 * SECTION: Universal Split Showcase Component
 * Layout: 50/50 grid aligned to the top with centered block typography.
 */

.st-split-showcase-section {
    width: 100%;
    background-color: #ffffff;
    padding-top: 60px;
    padding-bottom: 0;
    box-sizing: border-box;
}

.st-split-showcase-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 70px;
}

.st-split-showcase-content {
    width: 100%;
}

.st-showcase-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--st-primary-color, #0B3C5D);
    margin-top: 0;
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-align: center;
}

.st-showcase-lead {
    font-size: 18px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 40px;
    text-align: left;
}

.st-showcase-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.st-showcase-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 28px;
}

.st-showcase-list li:last-child {
    margin-bottom: 0;
}

.st-showcase-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--st-secondary-color, #ffcc05);
    font-weight: 700;
    font-size: 22px;
    line-height: 1;
}

.st-showcase-list li strong {
    display: block;
    font-size: 20px;
    color: var(--st-primary-color, #0B3C5D);
    margin-bottom: 8px;
    font-weight: 700;
}

.st-showcase-list li span {
    display: block;
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
}

.st-split-showcase-media {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.st-split-showcase-content > p:first-of-type {
    margin-top: 0;
}

.st-showcase-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
}

/* --- DOUBLE CTA BUTTONS ARCHITECTURE --- */

.st-about-cta-flex-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.st-flat-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 48px;
    padding: 12px 24px;
    box-sizing: border-box;
    border: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none !important;
    line-height: 1.2;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.st-flat-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.st-flat-button:active {
    transform: translateY(0);
}

.st-flat-button.btn-about-primary {
    background-color: var(--st-secondary-color, #ffcc05);
    color: #ffffff !important;
}

.st-flat-button.btn-about-primary:hover {
    background-color: var(--st-primary-color, #0B3C5D);
}

.st-flat-button.btn-about-secondary {
    background-color: var(--st-primary-color, #0B3C5D);
    color: #ffffff !important;
}

.st-flat-button.btn-about-secondary:hover {
    background-color: var(--st-secondary-color, #ffcc05);
}

/* --- RESPONSIVE MEDIA QUERIES --- */

@media screen and (max-width: 1024px) {
    .st-split-showcase-inner {
        gap: 40px;
    }
    
    .st-showcase-title {
        font-size: 34px;
    }
}

@media screen and (max-width: 991px) {
    .st-split-showcase-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

@media screen and (max-width: 767px) {
    .st-split-showcase-section {
        padding-top: 50px;
        padding-bottom: 0;
    }

    .st-showcase-title {
        font-size: 28px;
    }

    .marketplace-more-tours-wrapper.st-about-cta-flex-container {
        padding-top: 10px;
        padding-bottom: 45px;
        padding-left: 15px;
        padding-right: 15px;
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }

    .st-about-cta-flex-container .st-flat-button {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 260px;
        height: 54px;
        padding: 0 15px;
        font-size: 12px;
        line-height: 1.2;
        box-sizing: border-box;
        text-align: center;
        white-space: normal;
    }
}

/**
 * SECTION: Personal Author About Component
 * Layout: 1/3 photo left, 2/3 text right. Perfectly aligned to the top.
 * Upgraded with premium editorial typography and spacing.
 */

.st-about-author-section {
    width: 100%;
    background-color: #ffffff;
    padding-top: 60px; 
    padding-bottom: 60px;
    box-sizing: border-box;
}

.st-about-author-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: start;
    gap: 70px; 
}

/* LEFT COLUMN: Media Container */
.st-about-author-media {
    width: 100%;
}

.st-about-author-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07); 
    display: block;
}

/* RIGHT COLUMN: Typography Content */
.st-about-author-content {
    width: 100%;
}

.st-about-author-content > p:first-of-type {
    margin-top: 0;
    font-size: 21px; 
    line-height: 1.6;
    font-weight: 600;
    color: var(--st-primary-color, #0B3C5D); 
    margin-bottom: 30px;
}

.st-about-author-content p {
    font-size: 18px;
    line-height: 1.75; 
    color: #333333; 
    margin-bottom: 26px; 
}

.st-about-manifest {
    font-style: italic;
    color: #222222 !important;
    border-left: 3px solid var(--st-secondary-color, #ffcc05);
    padding-left: 20px;
}

.st-author-signature {
    font-family: "Georgia", "Times New Roman", cursive, serif;
    font-size: 28px;
    font-style: italic;
    font-weight: 900;
    align-content: center;
    color: #002fa7; 
    display: block;
    margin-top: 60px;
    letter-spacing: 0.5px;
    transform: rotate(-1deg);
    transform-origin: left center;
}

.invisible-on-desktop {
    display: none !important;
}

/* --- RESPONSIVE ADAPTATION --- */

@media screen and (max-width: 850px) {
    
    .st-about-author-inner {
        grid-template-columns: 1fr;
        gap: 35px; 
    }

    .st-about-author-media {
        width: 100%;
        max-width: 100%; 
        margin: 0 auto;
    }

    .st-author-signature {
        margin-top: 25px;
        text-align: center; 
        transform-origin: center center;
        font-size: 20px; 
    }
    
    .st-about-author-content > p:first-of-type {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .st-about-author-section {
        padding-top: 30px !important; 
    }

    .invisible-on-mobile {
        display: none !important;
    }
    
    .invisible-on-desktop {
        display: block !important;
        margin-top: 30px;
    }
}


/**
 * Consolidated Premium Navigation System (Desktop, Mobile, Submenus & Admin Bar Fix)
 */

@media (min-width: 992px) {
    .st-desktop-only { display: block !important; }
    .st-mobile-only  { display: none !important; }
}
@media (max-width: 991px) {
    .st-desktop-only { display: none !important; }
    .st-mobile-only  { display: block !important; }
}

/* ==========================================================================
   2. Mobile menue
   ========================================================================== */
.st-mobile-navigation-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    visibility: hidden;
    transition: visibility 0.4s ease-in-out;
}
.st-mobile-navigation-drawer.is-open {
    visibility: visible;
}
.st-mobile-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.st-mobile-navigation-drawer.is-open .st-mobile-drawer-overlay {
    opacity: 1;
}
.st-mobile-drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background-color: var(--st-primary-color, #0B3C5D);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    padding: 70px 24px 40px 24px;
    box-sizing: border-box;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.st-mobile-navigation-drawer.is-open .st-mobile-drawer-content {
    transform: translateX(0);
}
.st-mobile-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
}
.st-mobile-close:hover {
    color: var(--st-secondary-color, #ffcc05);
}

/* ==========================================================================
   3. Mobile menue
   ========================================================================== */
.mobile-nav-menu, 
.mobile-nav-menu .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav-menu > li {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav-menu li a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    padding: 14px 0;
    transition: color 0.2s ease;
}

.mobile-nav-menu .sub-menu-trigger {
    position: absolute;
    right: 0;
    top: 6px;
    width: 44px;
    height: 44px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 400;
    cursor: pointer;
    z-index: 5;
    transition: color 0.2s ease;
}
.mobile-nav-menu .sub-menu-trigger:hover {
    color: var(--st-secondary-color, #ffcc05);
}

.mobile-nav-menu .sub-menu {
    display: none;
    padding-left: 14px;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    margin-top: 4px;
    margin-bottom: 14px;
}
.mobile-nav-menu .menu-item-has-children.sub-menu-open > .sub-menu {
    display: block;
}

.st-mobile-navigation-drawer .mobile-nav-menu > li.current-menu-item > a,
.st-mobile-navigation-drawer .mobile-nav-menu > li.current-menu-ancestor > a,
.st-mobile-navigation-drawer .mobile-nav-menu > li.current-menu-parent > a {
    color: var(--st-secondary-color, #ffcc05) !important;
}

.st-mobile-navigation-drawer .mobile-nav-menu > li .sub-menu li a {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    padding: 10px 0 !important; /* Пространство вокруг пунктов подменю */
}
.st-mobile-navigation-drawer .mobile-nav-menu > li .sub-menu li a:hover {
    color: var(--st-secondary-color, #ffcc05) !important;
}

.st-mobile-navigation-drawer .mobile-nav-menu .sub-menu li.current-menu-item > a {
    color: var(--st-secondary-color, #ffcc05) !important;
    font-weight: 700 !important;
}


/* ==========================================================================
   4. Desctop Isolaton
   ========================================================================== */


.main-navigation .nav-menu .sub-menu {
    background-color: #ffffff !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12) !important;
    padding: 12px 0 !important; 
    border-radius: 4px;
}

.main-navigation .nav-menu .sub-menu li a {
    display: block !important;
    padding: 10px 22px !important; 
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    transition: all 0.2s ease !important;
}

.main-navigation .nav-menu > li.current-menu-item > a,
.main-navigation .nav-menu > li.current-menu-ancestor > a,
.main-navigation .nav-menu > li.current-menu-parent > a,
.main-navigation .nav-menu > li.current_page_item > a,
.main-navigation .nav-menu > li.current_page_ancestor > a {
    color: var(--st-secondary-color, #ffcc05) !important;
    font-weight: 700 !important;
}

.main-navigation .nav-menu > li .sub-menu li a {
    color: #333333 !important;
    font-weight: 500 !important;
    background: none !important;
}

.main-navigation .nav-menu .sub-menu li a:hover {
    color: var(--st-secondary-color, #ffcc05) !important;
    background-color: #f8fafc !important; 
    padding-left: 26px !important; 
}


/* ==========================================================================
   5. STICKY HEADER ON SCROLL
   ========================================================================== */
   
.site-header.header-scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.site-header.header-scrolled .main-navigation .nav-menu > li > a {
    color: var(--st-primary-color, #0B3C5D) !important;
}
.site-header.header-scrolled .main-navigation .nav-menu > li > a:hover {
    color: var(--st-secondary-color, #ffcc05) !important;
}

.site-header.header-scrolled .main-navigation .nav-menu > li.current-menu-item > a,
.site-header.header-scrolled .main-navigation .nav-menu > li.current-menu-ancestor > a,
.site-header.header-scrolled .main-navigation .nav-menu > li.current-menu-parent > a {
    color: var(--st-secondary-color, #ffcc05) !important;
}

.site-header.header-scrolled .et-hamburger-inner,
.site-header.header-scrolled .et-hamburger-inner::before,
.site-header.header-scrolled .et-hamburger-inner::after {
    background-color: var(--st-primary-color, #0B3C5D) !important;
}


/* ==========================================================================
   SUPER NUCLEAR SUBMENU SPECIFICITY FIX
   ========================================================================== */
/* ==========================================================================
   ULTIMATE SUBMENU ACTIVE STATE FIX (OVERRIDING ALL HEADER STATES)
   ========================================================================== */

/* 1. DESKTOP RESET: Force all submenu links under active parents to stay dark gray.
      Includes .site-header:not(.header-scrolled) to beat lines 850 & 880 in style.css */
body .site-header .main-navigation #primary-menu li.current-menu-item ul.sub-menu li a,
body .site-header .main-navigation #primary-menu li.current-menu-ancestor ul.sub-menu li a,
body .site-header .main-navigation #primary-menu li.current_page_item ul.sub-menu li a,
body .site-header:not(.header-scrolled) .main-navigation #primary-menu li.current-menu-item ul.sub-menu li a,
body .site-header:not(.header-scrolled) .main-navigation #primary-menu li.current-menu-ancestor ul.sub-menu li a {
    color: #333333 !important;
    font-weight: 500 !important;
    background: none !important;
}

/* 2. DESKTOP HOVER: Ensure submenu links turn orange and get a light background on hover */
body .site-header .main-navigation #primary-menu ul.sub-menu li a:hover,
body .site-header:not(.header-scrolled) .main-navigation #primary-menu ul.sub-menu li a:hover {
    color: var(--st-secondary-color, #ffcc05) !important;
    background-color: #f8fafc !important;
}

/* 3. DESKTOP ACTIVE SUB-ITEM: Strictly highlight ONLY the genuinely active submenu page */
body .site-header .main-navigation #primary-menu ul.sub-menu li.current-menu-item > a,
body .site-header .main-navigation #primary-menu ul.sub-menu li.current_page_item > a,
body .site-header:not(.header-scrolled) .main-navigation #primary-menu ul.sub-menu li.current-menu-item > a,
body .site-header:not(.header-scrolled) .main-navigation #primary-menu ul.sub-menu li.current_page_item > a {
    color: var(--st-secondary-color, #ffcc05) !important;
    font-weight: 700 !important;
}

/* 4. MOBILE RESET: Force drawer submenu links to stay semi-transparent white, even when parent is active or accordion is open (.sub-menu-open) */
body #mobile-navigation-drawer .mobile-nav-menu li.current-menu-item ul.sub-menu li a,
body #mobile-navigation-drawer .mobile-nav-menu li.current-menu-ancestor ul.sub-menu li a,
body #mobile-navigation-drawer .mobile-nav-menu li.sub-menu-open ul.sub-menu li a {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 500 !important;
}

/* 5. MOBILE HOVER: Keep mobile hover state working perfectly */
body #mobile-navigation-drawer .mobile-nav-menu ul.sub-menu li a:hover {
    color: var(--st-secondary-color, #ffcc05) !important;
}

/* 6. MOBILE ACTIVE SUB-ITEM: Strictly highlight ONLY the genuinely active submenu page inside drawer */
body #mobile-navigation-drawer .mobile-nav-menu ul.sub-menu li.current-menu-item > a,
body #mobile-navigation-drawer .mobile-nav-menu ul.sub-menu li.current_page_item > a {
    color: var(--st-secondary-color, #ffcc05) !important;
    font-weight: 700 !important;
}

/* Custom styling for hyperlinks inside the contact page content area */
.contacts-welcome-text a {
    color: var(--st-primary-color, #0B3C5D);
    font-weight: 700;
    text-decoration: none;
    text-underline-offset: 4px; /* Makes the underline look elegant and not glued to the text */
    transition: color 0.2s ease-in-out; /* Smooth color transition on hover */
}

.contacts-welcome-text a:hover,
.contacts-welcome-text a:focus {
    color: var(--st-secondary-color, #ffcc05);
    text-decoration: none; /* Removes underline on hover for a cleaner look */
}

/**
 * SECTION: Full-width Accent Divider Banner
 * Breakout layout element with brand background color.
 */
.st-accent-divider-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: var(--st-primary-color, #0B3C5D);
    padding: 80px 20px;
    text-align: center;
    box-sizing: border-box;
}

.st-accent-divider-inner {
    max-width: 900px;
    margin: 0 auto;
}

.st-accent-divider-text {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 30px;
    line-height: 1.5;
    font-style: italic;
    font-weight: 600;
    color: #ffffff !important;
    letter-spacing: 1px;
    margin: 0;
}


@media screen and (max-width: 850px) {
    .st-accent-divider-banner {
        padding: 50px 20px !important;
    }
    .st-accent-divider-text {
        font-size: 22px;
        line-height: 1.4;
    }
}

/**
 * SECTION: Parners Page B2B Card Grid
 */
/* Main block wrapper */
.st-b2b-hero-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 20px 0 40px 0;
}

/* Centered header styles */
.st-b2b-header-center {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 50px auto;
}

.st-b2b-main-title {
    font-size: 36px;
    line-height: 1.25;
    font-weight: 800;
    color: #0B3C5D;
    margin: 0 0 15px 0;
    text-align: center;
}

.st-b2b-main-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #555555;
    margin: 0;
}

/* Columns layout below headers */
.st-b2b-split-body {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
    align-items: flex-start;
}

.st-b2b-split-media,
.st-b2b-split-text {
    flex: 1 1 50%;
    width: 50%;
    min-width: 0;
}

.st-b2b-split-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.st-b2b-split-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Responsive view */
@media screen and (max-width: 991px) {
    .st-b2b-header-center {
        margin-bottom: 35px;
    }

    .st-b2b-main-title {
        font-size: 36px;
    }

    .st-b2b-main-subtitle {
        font-size: 18px;
    }

    .st-b2b-split-body {
        flex-direction: column;
        gap: 30px;
    }

    .st-b2b-split-media,
    .st-b2b-split-text {
        width: 100%;
        flex: 1 1 100%;
    }
}

/* ==========================================================================
   BLOCK 2: FEATURES LIST WITH PNG ICONS
   ========================================================================== */

/* Feature vertical stack configuration */
.st-b2b-features-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
    width: 100%;
}

/* Individual feature row (Icon + Text wrapper) */
.st-b2b-feature-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 25px;
    width: 100%;
}

/* Custom background container wrapper for the PNG icon */
.st-b2b-feature-icon {
    flex: 0 0 130px;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px; /* Pushes the icon down to balance with the text */
}

/* Strict scaling rule for custom PNG images within icon box */
.st-b2b-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Feature textual area adjustments */
.st-b2b-feature-text {
    flex: 1;
}

/* Fixed selector to h3 to maintain consistency across the site */
.st-b2b-feature-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--st-primary-color, #0B3C5D);
    margin: 0 0 8px 0;
    text-align:left;
}

/* Updated typography matching the main page standards */
.st-b2b-feature-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
    margin: 0;
}

/* Remove default theme shadow from the showcase image to use custom collage graphics */
.st-split-showcase-media .st-showcase-image {
    box-shadow: none !important;
}

.st-split-showcase-media {
    display: flex;
    align-items: center;     
    justify-content: center; 
}

/* Apply vertical centering ONLY on desktop screens */
@media (min-width: 769px) {
    .st-split-showcase-inner {
        display: flex;
        align-items: center; /* Centers the collage vertically against the text on desktop */
    }
}



/* Responsive Mobile Layout Grid for Features */
@media (max-width: 768px) {
    .st-b2b-feature-item {
        flex-direction: column;
        align-items: center;
        text-align: left;
        gap: 15px;
    }

    .st-b2b-feature-text h3 {
        text-align: center;
    }

    .st-split-showcase-inner {
        display: flex;
        flex-direction: column; /* Forces single column stack on mobile devices */
    }
    
}

/* ==========================================================================
   BLOCK 3: PARTNER ONBOARDING STEPS (1, 2, 3)
   ========================================================================== */

/* Container for the three step cards */
.st-b2b-steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 100%;
    margin: 40px auto;
}

/* Individual step card styling */
.st-b2b-step-card {
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 8px;
    padding: 35px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.st-b2b-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Large step number indicator */
.st-b2b-step-number {
    font-size: 48px;
    font-weight: 800;
    color: #ffcc05; 
    line-height: 1;
    margin-bottom: 15px;
}

/* Step title styling */
.st-b2b-step-title {
    font-size: 20px;
    font-weight: 700;
    color: #0B3C5D;
    margin: 0 0 12px 0;
}

/* Step description styling */
.st-b2b-step-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    margin: 0;
}

/* Final CTA button section */
.st-b2b-final-cta {
    text-align: center;
    margin-top: 50px;
}

.st-b2b-final-cta .st-flat-button {
    padding: 16px 45px;
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
}

/* Responsive adjustments for tablets and mobile devices */
@media screen and (max-width: 991px) {
    .st-b2b-steps-container {
        grid-template-columns: 1fr; /* Switch to single column layout */
        gap: 20px;
    }
    
    .st-b2b-step-card {
        padding: 30px 25px;
    }
    
    .st-b2b-step-number {
        font-size: 40px;
    }
}

.sunnymkt-frontend-form input[type="text"]:user-invalid,
.sunnymkt-frontend-form input[type="email"]:user-invalid,
.sunnymkt-frontend-form input[type="password"]:user-invalid {
    border: 2px solid #ea5455 !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 6px rgba(234, 84, 85, 0.2) !important;
}

/* Block the top Google Translate banner frame only */
body {
    top: 0 !important;
    position: static !important;
}

.goog-te-banner-frame, 
.goog-te-banner, 
iframe[id^=":1."] {
    display: none !important;
    visibility: hidden !important;
}

/* Hide Google attribution text and logo */
.goog-te-gadget {
    font-size: 0 !important;
    color: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}

/* Mobile navigation drawer styles for Google Translate */
@media (max-width: 991px) {
    #google_translate_element {
        margin: 20px 24px 15px 24px !important;
        display: block !important;
        width: calc(100% - 48px) !important;
    }

    #google_translate_element .goog-te-gadget {
        width: 100% !important;
    }

    #google_translate_element .goog-te-combo {
        width: 100% !important;
        height: 42px !important;
        line-height: 42px !important;
        font-size: 16px !important;
        padding: 6px 12px !important;
        border-color: #e0e0e0 !important;
        background-color: #f9f9f9 !important;
    }
}

/* Hide the parent container text nodes completely */
.goog-te-gadget {
    font-size: 0 !important;
    color: transparent !important;
    line-height: 0 !important;
}

/* Hide the Google logo link and attribution spans */
.goog-logo-link,
.goog-logo-link img,
.goog-te-gadget > span {
    display: none !important;
    visibility: hidden !important;
}

/* Restore font size, visibility and layout for the select box */
.goog-te-combo {
    font-size: 13px !important;
    color: #333333 !important;
    line-height: normal !important;
    display: inline-block !important;
    visibility: visible !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

/* Password wrapper layout */
.sunnymkt-password-input-wrapper {
    position: relative;
    width: 100%;
}

/* Ensure password text does not overlap the icon */
.sunnymkt-password-input-wrapper input[type="password"],
.sunnymkt-password-input-wrapper input[type="text"] {
    padding-right: 40px !important;
}

/* Toggle eye button styling */
.sunnymkt-toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: #666666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sunnymkt-toggle-password:hover {
    color: #000000;
}

/* Add top margin to separate the submit button from input fields in auth forms */
.sunnymkt-profile-form-wrapper .sunnymkt-form-submit-row {
    margin-top: 20px;
}

/**
 * ====================================================================
 * Supplier Reviews & Rating System (Vertical Spacing Only)
 * ====================================================================
 */

/* --- 1. Header Rating Badge --- */
.st-header-rating-badge {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.st-header-rating-count {
    color: #6b7280;
    font-size: 0.9em;
}

/* --- 2. Visual Stars --- */
.st-stars-visual {
    display: flex;
    gap: 2px;
    font-size: 1.6rem; 
}

.st-star {
    line-height: 1;
}

.st-star-full {
    color: #f59e0b;
}

.st-star-empty {
    color: #e5e7eb;
}

.st-star-half {
    position: relative;
    color: #e5e7eb;
}

.st-star-half::after {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    color: #f59e0b;
    width: 50%;
    overflow: hidden;
}

/* --- 3. Form Notices --- */
.st-notice-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* --- 4. Vertical Air & Spacing for Form Elements --- */

.st-review-form-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
}

.st-supplier-review-form {
    display: flex;
    flex-direction: column;
    gap: 20px; 
}

.st-form-row {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Вертикальный отступ между названием поля и инпутом */
}

.st-form-row select,
.st-form-row textarea {
    width: 100%;
    padding: 12px 14px;
    box-sizing: border-box;
}


/* --- YOUR ORIGINAL BUTTON (Untouched) --- */

.st-supplier-review-form button[type="submit"] {
    background-color: var(--st-secondary-color);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 48px;
    width: fit-content !important;
    padding: 12px 24px;
    box-sizing: border-box;
    border: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none !important;
    line-height: 1.2;
    text-align: center;
    color: #ffffff;
    margin-top: 30px;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.st-supplier-review-form button[type="submit"]:hover {
    background-color: var(--st-primary-color);
}

/**
 * ====================================================================
 * Supplier Reviews List Styles
 * ====================================================================
 */

.st-reviews-list-container {
    margin-bottom: 40px;
}

.st-review-item {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

/* Убираем рамку и отступ у последнего отзыва в списке */
.st-review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.st-review-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.st-review-author {
    font-size: 1.1rem;
    color: #1f2937;
}

.st-review-date {
    color: #6b7280;
    font-size: 0.9rem;
}

.st-review-stars {
    color: #f59e0b;
    margin-bottom: 12px;
    font-size: 1.2rem;
    line-height: 1;
}

.st-star-empty-inline {
    color: #e5e7eb;
}

.st-review-text {
    color: #4b5563;
    line-height: 1.6;
}

.st-no-reviews-yet {
    background: #e5e7eb;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    color: #6b7280;
}

.st-reviews-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    height: 0;
    margin: 30px 0;
}

/**
 * ====================================================================
 * Tour Page: Host / Organizer Card (Under Main Photo)
 * ====================================================================
 */

.st-tour-host-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 16px 20px;
    margin-top: 20px;
}

.st-host-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #1f2937;
    margin-bottom: 4px;
    font-weight: 600;
}

.st-host-title-link {
    display: inline-block;
    font-size: 1.8rem;
    color:  var(--st-primary-color, #0B3C5D);
    text-decoration: none !important;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.st-host-title-link:hover {
    color: var(--st-secondary-color, #f59e0b);
}

.st-host-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    color: inherit;
}

.st-host-rating-row .st-stars-visual {
    display: flex;
    gap: 2px;
    font-size: 1.1rem;
    line-height: 1;
}

.st-host-rating-row .st-star-full {
    color: #f59e0b;
}

.st-host-rating-row .st-star-empty {
    color: #e5e7eb;
}

.st-host-rating-row .st-star-half {
    position: relative;
    color: #e5e7eb;
}

.st-host-rating-row .st-star-half::after {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    color: #f59e0b;
    width: 50%;
    overflow: hidden;
}

.st-rating-score {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1f2937;
}

.st-rating-count {
    font-size: 0.85rem;
    color: #6b7280;
}

.st-host-no-rating {
    font-size: 0.85rem;
    color: #9ca3af;
}