/**
 * Layouts CSS
 * Page layouts and grid systems
 *
 * @package Flavor_Crypto
 */

/* ==========================================================================
   Unified Spacing Variables
   ========================================================================== */

/* These ensure consistent spacing across all page types */

/* ==========================================================================
   Homepage Layout
   ========================================================================== */

.fc-home-grid {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: var(--fc-spacing-xl);
    padding: var(--fc-spacing-2xl) 0;
}

@media (max-width: 1200px) {
    .fc-home-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fc-home-grid__sidebar-right {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .fc-home-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    /* Reorder: Spotlight first, then Latest, then Deep Dives */
    .fc-home-grid__main {
        order: 1;
    }

    .fc-home-grid__sidebar-left {
        order: 2;
    }

    .fc-home-grid__sidebar-right {
        order: 3;
    }
}

/* Home Sections */
.fc-home-section {
    margin-bottom: var(--fc-spacing-2xl);
}

/* Latest News Column */
.fc-latest-news {
    max-height: 800px;
    overflow-y: auto;
}

.fc-latest-news::-webkit-scrollbar {
    width: 4px;
}

.fc-latest-news::-webkit-scrollbar-track {
    background: var(--fc-bg-secondary);
}

.fc-latest-news::-webkit-scrollbar-thumb {
    background: var(--fc-border-color);
    border-radius: 2px;
}

/* Spotlight Section */
.fc-spotlight {
    display: flex;
    flex-direction: column;
    gap: var(--fc-spacing-lg);
}

.fc-spotlight__featured {
    margin-bottom: var(--fc-spacing-md);
}

.fc-spotlight__list {
    display: flex;
    flex-direction: column;
}

/* Deep Dives Section */
.fc-deep-dives {
    display: flex;
    flex-direction: column;
    gap: var(--fc-spacing-md);
}

/* ==========================================================================
   Archive Layout
   ========================================================================== */

.fc-archive-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--fc-spacing-2xl);
    padding: var(--fc-spacing-2xl) 0;
}

@media (max-width: 992px) {
    .fc-archive-layout {
        grid-template-columns: 1fr;
    }
}

/* Archive Header */
.fc-archive-header {
    margin-bottom: var(--fc-spacing-xl);
    padding-bottom: var(--fc-spacing-lg);
    border-bottom: 1px solid var(--fc-border-color);
}

.fc-archive-title {
    font-size: var(--fc-font-size-3xl);
    margin-bottom: var(--fc-spacing-sm);
}

.fc-archive-description {
    font-size: var(--fc-font-size-base);
    color: var(--fc-text-secondary);
    max-width: 600px;
}

/* Posts Grid */
.fc-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--fc-spacing-lg);
}

.fc-posts-list {
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Single Post Layout
   ========================================================================== */

.fc-single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--fc-spacing-2xl);
    padding: var(--fc-spacing-2xl) 0;
}

@media (max-width: 992px) {
    .fc-single-layout {
        grid-template-columns: 1fr;
    }
}

/* Article Header */
.fc-article-header {
    padding-top: var(--fc-spacing-2xl);
    margin-bottom: var(--fc-spacing-xl);
}

.fc-article-header__meta {
    display: flex;
    align-items: center;
    gap: var(--fc-spacing-md);
    margin-bottom: var(--fc-spacing-md);
}

.fc-article-header__title {
    font-size: var(--fc-font-size-4xl);
    line-height: var(--fc-line-height-tight);
    margin-bottom: var(--fc-spacing-md);
}

.fc-article-header__excerpt {
    font-size: var(--fc-font-size-lg);
    color: var(--fc-text-secondary);
    line-height: var(--fc-line-height-relaxed);
}

.fc-article-header__info {
    display: flex;
    align-items: center;
    gap: var(--fc-spacing-lg);
    padding: var(--fc-spacing-md) 0;
    border-top: 1px solid var(--fc-border-light);
    border-bottom: 1px solid var(--fc-border-light);
    margin-top: var(--fc-spacing-lg);
}

.fc-article-header__author {
    display: flex;
    align-items: center;
    gap: var(--fc-spacing-sm);
}

.fc-article-header__author-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--fc-radius-full);
}

.fc-article-header__author-name {
    font-weight: 600;
}

.fc-article-header__author-name a {
    color: var(--fc-text-primary);
    text-decoration: none;
}

.fc-article-header__author-name a:hover {
    color: var(--fc-accent-blue);
}

.fc-article-header__date {
    color: var(--fc-text-secondary);
    font-size: var(--fc-font-size-sm);
}

.fc-article-header__reading-time {
    color: var(--fc-text-muted);
    font-size: var(--fc-font-size-sm);
}

/* Featured Image */
.fc-article-featured-image {
    margin-bottom: var(--fc-spacing-xl);
    border-radius: var(--fc-radius-lg);
    overflow: hidden;
}

.fc-article-featured-image img {
    width: 100%;
    height: auto;
}

/* Article Content */
.fc-article-content {
    font-size: var(--fc-font-size-lg);
    line-height: var(--fc-line-height-relaxed);
}

.fc-article-content h2 {
    font-size: var(--fc-font-size-2xl);
    margin-top: var(--fc-spacing-2xl);
    margin-bottom: var(--fc-spacing-md);
}

.fc-article-content h3 {
    font-size: var(--fc-font-size-xl);
    margin-top: var(--fc-spacing-xl);
    margin-bottom: var(--fc-spacing-md);
}

.fc-article-content p {
    margin-bottom: var(--fc-spacing-lg);
}

.fc-article-content ul,
.fc-article-content ol {
    margin-bottom: var(--fc-spacing-lg);
    padding-left: var(--fc-spacing-xl);
}

.fc-article-content li {
    margin-bottom: var(--fc-spacing-sm);
}

.fc-article-content blockquote {
    margin: var(--fc-spacing-xl) 0;
    padding: var(--fc-spacing-lg);
    background-color: var(--fc-bg-secondary);
    border-left: 4px solid var(--fc-accent-blue);
    font-style: italic;
}

.fc-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--fc-radius-md);
    margin: var(--fc-spacing-lg) 0;
}

.fc-article-content a {
    color: var(--fc-accent-blue);
    text-decoration: underline;
}

.fc-article-content a:hover {
    text-decoration: none;
}

.fc-article-content code {
    font-family: var(--fc-font-mono);
    font-size: 0.9em;
    padding: 2px 6px;
    background-color: var(--fc-bg-secondary);
    border-radius: var(--fc-radius-sm);
}

.fc-article-content pre {
    font-family: var(--fc-font-mono);
    font-size: var(--fc-font-size-sm);
    padding: var(--fc-spacing-lg);
    background-color: var(--fc-bg-secondary);
    border-radius: var(--fc-radius-md);
    overflow-x: auto;
    margin: var(--fc-spacing-lg) 0;
}

.fc-article-content pre code {
    padding: 0;
    background: none;
}

/* Article Footer */
.fc-article-footer {
    margin-top: var(--fc-spacing-2xl);
    padding-top: var(--fc-spacing-xl);
    border-top: 1px solid var(--fc-border-color);
}

.fc-article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--fc-spacing-sm);
    margin-bottom: var(--fc-spacing-xl);
}

.fc-article-tags__label {
    font-weight: 600;
    color: var(--fc-text-secondary);
}

/* Related Posts */
.fc-related-posts {
    margin-top: var(--fc-spacing-2xl);
    padding-top: var(--fc-spacing-xl);
    border-top: 1px solid var(--fc-border-color);
}

.fc-related-posts__title {
    font-size: var(--fc-font-size-xl);
    margin-bottom: var(--fc-spacing-lg);
}

.fc-related-posts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--fc-spacing-lg);
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.fc-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--fc-spacing-xl);
}

.fc-sidebar--sticky {
    position: sticky;
    top: calc(var(--fc-header-height) + var(--fc-ticker-height) + var(--fc-spacing-lg));
}

/* Widget Styles */
.fc-widget {
    padding: var(--fc-spacing-lg);
    background-color: var(--fc-bg-secondary);
    border-radius: var(--fc-radius-lg);
}

.fc-widget-title {
    font-size: var(--fc-font-size-lg);
    font-weight: 700;
    margin: 0 0 var(--fc-spacing-md);
    padding-bottom: var(--fc-spacing-sm);
    border-bottom: 2px solid var(--fc-accent-blue);
}

/* ==========================================================================
   Author Page Layout
   ========================================================================== */

.fc-author-page {
    padding: var(--fc-spacing-2xl) 0 var(--fc-spacing-3xl);
}

/* Author Header on author archive page */
.fc-author-header {
    display: flex;
    gap: var(--fc-spacing-xl);
    padding: var(--fc-spacing-2xl);
    background-color: var(--fc-bg-secondary);
    border-radius: var(--fc-radius-lg);
    margin-bottom: var(--fc-spacing-2xl);
}

.fc-author-header__avatar {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: var(--fc-radius-full);
    overflow: hidden;
}

.fc-author-header__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc-author-header__info {
    flex: 1;
}

.fc-author-header__name {
    font-size: var(--fc-font-size-3xl);
    font-weight: 700;
    margin: 0 0 var(--fc-spacing-xs);
}

.fc-author-header__title {
    font-size: var(--fc-font-size-lg);
    color: var(--fc-text-secondary);
    margin: 0 0 var(--fc-spacing-md);
}

.fc-author-header__bio {
    font-size: var(--fc-font-size-base);
    line-height: var(--fc-line-height-relaxed);
    color: var(--fc-text-secondary);
    margin-bottom: var(--fc-spacing-lg);
}

.fc-author-header__bio p {
    margin-bottom: var(--fc-spacing-sm);
}

.fc-author-header__bio p:last-child {
    margin-bottom: 0;
}

.fc-author-header__expertise {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fc-spacing-xs);
    margin-bottom: var(--fc-spacing-lg);
}

.fc-author-header__social {
    display: flex;
    gap: var(--fc-spacing-sm);
    margin-bottom: var(--fc-spacing-lg);
}

.fc-author-header__stats {
    display: flex;
    gap: var(--fc-spacing-xl);
}

.fc-author-stat {
    font-size: var(--fc-font-size-sm);
    color: var(--fc-text-secondary);
}

.fc-author-stat strong {
    display: block;
    font-size: var(--fc-font-size-2xl);
    font-weight: 700;
    color: var(--fc-accent-blue);
}

/* Author Posts Section */
.fc-author-posts {
    margin-top: var(--fc-spacing-xl);
}

.fc-author-posts .fc-section-title {
    margin-bottom: var(--fc-spacing-xl);
}

@media (max-width: 768px) {
    .fc-author-header {
        flex-direction: column;
        text-align: center;
        padding: var(--fc-spacing-lg);
    }

    .fc-author-header__avatar {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    .fc-author-header__expertise {
        justify-content: center;
    }

    .fc-author-header__social {
        justify-content: center;
    }

    .fc-author-header__stats {
        justify-content: center;
    }
}

.fc-author-profile {
    display: flex;
    gap: var(--fc-spacing-xl);
    padding: var(--fc-spacing-2xl);
    background-color: var(--fc-bg-secondary);
    border-radius: var(--fc-radius-lg);
    margin-bottom: var(--fc-spacing-2xl);
}

.fc-author-profile__avatar {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: var(--fc-radius-full);
    overflow: hidden;
}

.fc-author-profile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc-author-profile__info {
    flex: 1;
}

.fc-author-profile__name {
    font-size: var(--fc-font-size-3xl);
    margin-bottom: var(--fc-spacing-xs);
}

.fc-author-profile__title {
    font-size: var(--fc-font-size-lg);
    color: var(--fc-text-secondary);
    margin-bottom: var(--fc-spacing-md);
}

.fc-author-profile__bio {
    font-size: var(--fc-font-size-base);
    line-height: var(--fc-line-height-relaxed);
    color: var(--fc-text-secondary);
    margin-bottom: var(--fc-spacing-lg);
}

.fc-author-profile__stats {
    display: flex;
    gap: var(--fc-spacing-xl);
    margin-bottom: var(--fc-spacing-lg);
}

.fc-author-profile__stat {
    text-align: center;
}

.fc-author-profile__stat-value {
    display: block;
    font-size: var(--fc-font-size-2xl);
    font-weight: 700;
    color: var(--fc-accent-blue);
}

.fc-author-profile__stat-label {
    font-size: var(--fc-font-size-sm);
    color: var(--fc-text-muted);
}

.fc-author-profile__social {
    display: flex;
    gap: var(--fc-spacing-sm);
}

@media (max-width: 768px) {
    .fc-author-profile {
        flex-direction: column;
        text-align: center;
    }

    .fc-author-profile__avatar {
        margin: 0 auto;
    }

    .fc-author-profile__stats {
        justify-content: center;
    }

    .fc-author-profile__social {
        justify-content: center;
    }
}

/* ==========================================================================
   Tools Page Layout
   ========================================================================== */

.fc-tool-layout {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--fc-spacing-2xl) 0;
}

.fc-tool-header {
    text-align: center;
    margin-bottom: var(--fc-spacing-2xl);
}

.fc-tool-header__title {
    font-size: var(--fc-font-size-3xl);
    margin-bottom: var(--fc-spacing-sm);
}

.fc-tool-header__description {
    font-size: var(--fc-font-size-lg);
    color: var(--fc-text-secondary);
}

.fc-tool-card {
    padding: var(--fc-spacing-2xl);
    background-color: var(--fc-bg-secondary);
    border-radius: var(--fc-radius-lg);
}

/* ==========================================================================
   Markets Page Layout
   ========================================================================== */

.fc-markets-layout {
    padding: var(--fc-spacing-xl) 0;
}

.fc-markets-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--fc-spacing-xl);
}

.fc-markets-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--fc-spacing-md);
    margin-bottom: var(--fc-spacing-2xl);
}

.fc-markets-stat {
    padding: var(--fc-spacing-lg);
    background-color: var(--fc-bg-secondary);
    border-radius: var(--fc-radius-lg);
    text-align: center;
}

.fc-markets-stat__value {
    font-size: var(--fc-font-size-2xl);
    font-weight: 700;
    font-family: var(--fc-font-mono);
    color: var(--fc-text-primary);
}

.fc-markets-stat__label {
    font-size: var(--fc-font-size-sm);
    color: var(--fc-text-secondary);
    margin-top: var(--fc-spacing-xs);
}

/* Markets Table */
.fc-markets-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--fc-bg-primary);
    border-radius: var(--fc-radius-lg);
    overflow: hidden;
    box-shadow: var(--fc-shadow-card);
}

.fc-markets-table th {
    padding: var(--fc-spacing-md) var(--fc-spacing-lg);
    text-align: left;
    font-size: var(--fc-font-size-sm);
    font-weight: 600;
    color: var(--fc-text-secondary);
    background-color: var(--fc-bg-secondary);
    border-bottom: 1px solid var(--fc-border-color);
}

.fc-markets-table td {
    padding: var(--fc-spacing-md) var(--fc-spacing-lg);
    border-bottom: 1px solid var(--fc-border-light);
}

.fc-markets-table tr:last-child td {
    border-bottom: none;
}

.fc-markets-table tr:hover {
    background-color: var(--fc-bg-secondary);
}

.fc-markets-table__coin {
    display: flex;
    align-items: center;
    gap: var(--fc-spacing-sm);
}

.fc-markets-table__coin-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--fc-radius-full);
}

.fc-markets-table__coin-name {
    font-weight: 600;
}

.fc-markets-table__coin-symbol {
    font-size: var(--fc-font-size-xs);
    color: var(--fc-text-muted);
    text-transform: uppercase;
}

.fc-markets-table__price {
    font-family: var(--fc-font-mono);
    font-weight: 600;
}

.fc-markets-table__change {
    font-family: var(--fc-font-mono);
}

/* ==========================================================================
   Glossary Layout
   ========================================================================== */

.fc-glossary-layout {
    padding: var(--fc-spacing-xl) 0;
}

.fc-glossary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fc-spacing-xs);
    margin-bottom: var(--fc-spacing-xl);
    padding: var(--fc-spacing-md);
    background-color: var(--fc-bg-secondary);
    border-radius: var(--fc-radius-lg);
}

.fc-glossary-nav__letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-weight: 600;
    color: var(--fc-text-secondary);
    background-color: var(--fc-bg-primary);
    border-radius: var(--fc-radius-md);
    text-decoration: none;
    transition: all var(--fc-transition-fast);
}

.fc-glossary-nav__letter:hover,
.fc-glossary-nav__letter--active {
    background-color: var(--fc-accent-blue);
    color: var(--fc-text-inverse);
}

.fc-glossary-nav__letter--disabled {
    opacity: 0.3;
    pointer-events: none;
}

.fc-glossary-section {
    margin-bottom: var(--fc-spacing-2xl);
}

.fc-glossary-section__letter {
    font-size: var(--fc-font-size-3xl);
    font-weight: 700;
    color: var(--fc-accent-blue);
    margin-bottom: var(--fc-spacing-md);
    padding-bottom: var(--fc-spacing-sm);
    border-bottom: 2px solid var(--fc-border-color);
}

.fc-glossary-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--fc-spacing-md);
}

.fc-glossary-item {
    padding: var(--fc-spacing-md);
    background-color: var(--fc-bg-secondary);
    border-radius: var(--fc-radius-md);
    transition: all var(--fc-transition-fast);
}

.fc-glossary-item:hover {
    background-color: var(--fc-bg-tertiary);
}

.fc-glossary-item__term {
    font-size: var(--fc-font-size-lg);
    font-weight: 600;
    margin-bottom: var(--fc-spacing-xs);
}

.fc-glossary-item__term a {
    color: var(--fc-text-primary);
    text-decoration: none;
}

.fc-glossary-item__term a:hover {
    color: var(--fc-accent-blue);
}

.fc-glossary-item__definition {
    font-size: var(--fc-font-size-sm);
    color: var(--fc-text-secondary);
    line-height: var(--fc-line-height-normal);
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.fc-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: var(--fc-spacing-2xl);
}

.fc-404__code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--fc-accent-blue);
    line-height: 1;
    margin-bottom: var(--fc-spacing-md);
}

.fc-404__title {
    font-size: var(--fc-font-size-2xl);
    margin-bottom: var(--fc-spacing-md);
}

.fc-404__description {
    font-size: var(--fc-font-size-lg);
    color: var(--fc-text-secondary);
    margin-bottom: var(--fc-spacing-xl);
    max-width: 500px;
}

/* ==========================================================================
   No Posts Found
   ========================================================================== */

.fc-no-posts {
    text-align: center;
    padding: var(--fc-spacing-3xl);
}

.fc-no-posts h2 {
    font-size: var(--fc-font-size-2xl);
    margin-bottom: var(--fc-spacing-md);
}

.fc-no-posts p {
    color: var(--fc-text-secondary);
    margin-bottom: var(--fc-spacing-lg);
}

/* ==========================================================================
   Homepage Builder Sections
   ========================================================================== */

.fc-homepage-section {
    margin-bottom: var(--fc-spacing-3xl);
}

.fc-homepage-section:last-child {
    margin-bottom: 0;
}

/* Section Header */
.fc-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--fc-spacing-lg);
    padding-bottom: var(--fc-spacing-md);
    border-bottom: 2px solid var(--fc-border-color);
}

.fc-section-title {
    font-family: var(--fc-font-heading);
    font-size: var(--fc-font-size-xl);
    font-weight: 700;
    color: var(--fc-text-primary);
    margin: 0;
}

.fc-section-link {
    font-size: var(--fc-font-size-sm);
    font-weight: 600;
    color: var(--fc-accent-blue);
    text-decoration: none;
    transition: color var(--fc-transition-fast);
}

.fc-section-link:hover {
    color: var(--fc-accent-blue-hover);
}

/* Text Block Section */
.fc-homepage-section--text {
    background: var(--fc-bg-secondary);
    padding: var(--fc-spacing-xl);
    border-radius: var(--fc-radius-lg);
}

.fc-homepage-section--text .fc-section-title {
    margin-bottom: var(--fc-spacing-md);
}

.fc-text-content {
    font-size: var(--fc-font-size-base);
    line-height: var(--fc-line-height-relaxed);
    color: var(--fc-text-secondary);
}

.fc-text-content p {
    margin-bottom: var(--fc-spacing-md);
}

.fc-text-content p:last-child {
    margin-bottom: 0;
}

/* Posts Grid */
.fc-posts-grid {
    display: grid;
    gap: var(--fc-spacing-lg);
}

.fc-posts-grid--cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.fc-posts-grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.fc-posts-grid--cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .fc-posts-grid--cols-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .fc-posts-grid--cols-3,
    .fc-posts-grid--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .fc-posts-grid--cols-2,
    .fc-posts-grid--cols-3,
    .fc-posts-grid--cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Posts List */
.fc-posts-list {
    display: flex;
    flex-direction: column;
    gap: var(--fc-spacing-md);
}

/* Newsletter Section */
.fc-homepage-section--newsletter {
    margin-top: var(--fc-spacing-2xl);
}

.fc-newsletter-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fc-spacing-2xl);
    background: linear-gradient(135deg, var(--fc-accent-blue) 0%, #1e40af 100%);
    padding: var(--fc-spacing-2xl);
    border-radius: var(--fc-radius-xl);
}

.fc-newsletter-section__content {
    flex: 1;
}

.fc-newsletter-section__title {
    font-family: var(--fc-font-heading);
    font-size: var(--fc-font-size-2xl);
    font-weight: 700;
    color: #fff;
    margin: 0 0 var(--fc-spacing-sm);
}

.fc-newsletter-section__description {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: var(--fc-font-size-base);
}

.fc-newsletter-section .fc-newsletter__form {
    flex: 1;
    max-width: 450px;
}

.fc-newsletter-section .fc-newsletter__form-group {
    display: flex;
    gap: var(--fc-spacing-sm);
}

.fc-newsletter-section .fc-newsletter__input {
    flex: 1;
    padding: var(--fc-spacing-md) var(--fc-spacing-lg);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--fc-radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: var(--fc-font-size-base);
}

.fc-newsletter-section .fc-newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.fc-newsletter-section .fc-newsletter__input:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.fc-newsletter-section .fc-newsletter__btn {
    padding: var(--fc-spacing-md) var(--fc-spacing-xl);
    background: #fff;
    color: var(--fc-accent-blue);
    border: none;
    border-radius: var(--fc-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--fc-transition-fast);
    white-space: nowrap;
}

.fc-newsletter-section .fc-newsletter__btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.fc-newsletter-section .fc-newsletter__message {
    margin-top: var(--fc-spacing-sm);
    font-size: var(--fc-font-size-sm);
    color: #fff;
}

@media (max-width: 768px) {
    .fc-newsletter-section {
        flex-direction: column;
        text-align: center;
    }

    .fc-newsletter-section .fc-newsletter__form {
        max-width: 100%;
        width: 100%;
    }

    .fc-newsletter-section .fc-newsletter__form-group {
        flex-direction: column;
    }
}
