/*
Theme Name: Reluxity Minimal
Theme URI: https://reluxity.com
Description: Ultra-lightweight, performance-focused theme for custom header/footer implementations. Optimized for page builders like Elementor with minimal CSS and maximum flexibility.
Author: Reluxity
Author URI: https://reluxity.com
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reluxity-minimal
Tags: minimal, performance, custom-header, custom-footer, elementor-ready, block-styles, one-column, flexible-header, accessibility-ready

This theme, like WordPress, is licensed under the GPL.
*/

/* Reset & Base Styles - Minimal footprint */
* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin: 0 0 1rem;
}

a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #005177;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.site {
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
}

.content-area {
    width: 100%;
    margin: 0 auto;
}

.content-area article {
    width: 100%;
    max-width: none;
}

.content-area .entry-content {
    width: 100%;
    max-width: none;
}

/* Elementor Compatibility */
.elementor-page .site-content {
    padding: 0;
}

.elementor-page .content-area {
    max-width: 100%;
    padding: 0;
}

/* WordPress Core */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.875rem;
    color: #666;
    padding: 0.5rem 0;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

/* Custom Header & Footer Areas */
.site-header,
.site-footer {
    width: 100%;
}

/* Utility Classes */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}



/* ========================================
   Custom Block Editor - Frontend Styles
   ======================================== */

/* General Block Styles */

.block-hero-overlay,
.block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 0;
    pointer-events: none;
}

.block-hero-content {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title-large {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #fff;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #fff;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #0073aa;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-button:hover {
    background: #005177;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.4);
    color: #fff;
}

/* Hero Layout: Centered */
.hero-layout-centered {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-layout-centered .block-hero-content {
    text-align: center;
    margin: 0 auto;
}

/* Hero Layout: Left Aligned */
.hero-layout-left-aligned {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-layout-left-aligned .block-hero-content {
    text-align: left;
    margin-left: 5%;
}

.hero-content-left {
    text-align: left;
}

/* Hero Layout: Bottom Left */
.hero-layout-bottom-left {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    min-height: 600px;
    overflow: hidden;
}

.hero-layout-bottom-left .block-hero-content {
    text-align: left;
    margin-left: 5%;
    margin-bottom: 5%;
    z-index: 2;
    padding: 0;
    max-width: none;
}

.hero-content-bottom-left {
    text-align: left;
}

.hero-layout-bottom-left .hero-title {
    margin-bottom: 0.5rem;
}

.hero-layout-bottom-left .hero-subtitle {
    margin-bottom: 1rem;
}

.hero-layout-bottom-left .shf-btn-primary,
.hero-layout-bottom-left .shf-btn-secondary {
    margin-top: 0;
    display: inline-block;
}

/* Hero Layout: Minimal */
.hero-layout-minimal {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
}

.hero-layout-minimal .block-hero-content {
    text-align: center;
    max-width: 1000px;
}

/* Text Block */
.block-text {
    width: 100%;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-text-content {
    width: 100%;
    max-width: 1200px;
    line-height: 1.8;
    font-size: var(--body-font-size);
    position: relative;
    z-index: 1;
}

.block-text-content h1,
.block-text-content h2,
.block-text-content h3,
.block-text-content h4,
.block-text-content h5,
.block-text-content h6 {
    font-family: var(--body-font);
    font-size: inherit;
    font-weight: 600;
}

.block-text-content p,
.block-text-content ul,
.block-text-content ol,
.block-text-content li {
    font-family: var(--body-font);
    font-size: inherit;
}

.block-text-content img.emoji {
    display: inline !important;
    width: 1em !important;
    height: 1em !important;
    vertical-align: -0.1em !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Image Block */
.block-image {
    width: 100%;
    padding: 2rem 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-image-wrapper {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.block-image-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.block-image-caption {
    margin-top: 1rem;
    text-align: center;
    font-style: italic;
    color: #666;
}

/* Two Column Block */
.block-two-column {
    width: 100%;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-two-column-wrapper {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.block-two-column-wrapper.single-column {
    grid-template-columns: 1fr;
    max-width: 800px;
}

.block-column {
    line-height: 1.8;
    font-size: var(--body-font-size);
    display: flex;
    flex-direction: column;
    min-height: 50vh;
}

.block-column-text > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.block-column-text > div > * {
    display: inline;
}

.block-column-text > div > p,
.block-column-text > div > h1,
.block-column-text > div > h2,
.block-column-text > div > h3,
.block-column-text > div > h4,
.block-column-text > div > h5,
.block-column-text > div > h6,
.block-column-text > div > div {
    display: block;
}

.block-column-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-column-image .column-image,
.block-column-image .image-placeholder {
    width: 100%;
    height: auto;
    min-height: 50vh;
    display: block;
    object-fit: cover;
}

.block-column-image picture,
.block-column-image img {
    width: 100%;
    height: 100%;
    min-height: 50vh;
    object-fit: cover;
}

.block-column-image .image-placeholder {
    padding: 80px;
    background: #f0f0f1;
    border-radius: 8px;
    text-align: center;
    color: #50575e;
    font-size: 1.5rem;
}

/* Stagger animations for two-column blocks */
.block-two-column[data-animation]:not([data-animation="none"]):not(.block-animated) .block-column .column-content > * {
    opacity: 0;
}

.block-two-column.block-animated .block-column-left {
    animation-delay: 0s;
}

.block-two-column.block-animated .block-column-right {
    animation-delay: 0.2s;
}

.block-two-column.block-animated .block-column .column-content > * {
    animation: block-fade-in 0.5s ease forwards;
    opacity: 0;
}

.block-two-column.block-animated .block-column-left .column-content > *:nth-child(1) {
    animation-delay: 0.4s;
}

.block-two-column.block-animated .block-column-left .column-content > *:nth-child(2) {
    animation-delay: 1.15s;
}

.block-two-column.block-animated .block-column-left .column-content > *:nth-child(3) {
    animation-delay: 1.9s;
}

.block-two-column.block-animated .block-column-left .column-content > *:nth-child(4) {
    animation-delay: 2.65s;
}

.block-two-column.block-animated .block-column-right .column-content > *:nth-child(1) {
    animation-delay: 0.6s;
}

.block-two-column.block-animated .block-column-right .column-content > *:nth-child(2) {
    animation-delay: 1.35s;
}

.block-two-column.block-animated .block-column-right .column-content > *:nth-child(3) {
    animation-delay: 2.1s;
}

.block-two-column.block-animated .block-column-right .column-content > *:nth-child(4) {
    animation-delay: 2.85s;
}

.hide-desktop {
    display: none !important;
}

@media (max-width: 768px) {
    .hide-desktop {
        display: block !important;
    }
    .hide-mobile {
        display: none !important;
    }
    
    /* Remove padding on two-column text content on mobile */
    .block-two-column .text-content {
        padding: 0 !important;
    }
}

/* CTA Block */
.block-cta {
    width: 100%;
    background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
    color: #fff;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-cta-content {
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.cta-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #fff;
    opacity: 0.95;
}

.block-cta-content > div[style*="text-align"] {
    width: 100%;
    display: flex;
}

.block-cta-content > div[style*="text-align: left"] {
    justify-content: flex-start;
}

.block-cta-content > div[style*="text-align: center"] {
    justify-content: center;
}

.block-cta-content > div[style*="text-align: right"] {
    justify-content: flex-end;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #fff;
    color: #0073aa;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    color: #005177;
}

/* Gallery Block */
.block-gallery {
    width: 100%;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-gallery.full-width-gallery,
.block-area-gallery.full-width-gallery {
    padding-left: 0;
    padding-right: 0;
}

.block-area-gallery.wide-gallery {
    padding-left: 1rem;
    padding-right: 1rem;
}

.block-gallery.full-width-gallery .block-gallery-grid,
.block-area-gallery.full-width-gallery .block-gallery-grid,
.block-area-gallery.full-width-gallery .area-gallery-container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.block-gallery-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Responsive Block Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-layout-bottom-left .block-hero-content {
        margin-left: 3%;
        margin-bottom: 3%;
        max-width: 90%;
    }
    
    .block-two-column-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-heading {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .block-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .block-hero {
        min-height: 400px;
    }
    
    /* Remove stagger delays on mobile - animate both columns together */
    .block-two-column.block-animated .block-column-left,
    .block-two-column.block-animated .block-column-right {
        animation-delay: 0s !important;
    }
    
    .block-two-column.block-animated .block-column .column-content > * {
        animation-delay: 0.1s !important;
    }
    
    .block-two-column.block-animated .block-column .column-content > *:nth-child(1) {
        animation-delay: 0.2s !important;
    }
    
    .block-two-column.block-animated .block-column .column-content > *:nth-child(2) {
        animation-delay: 0.4s !important;
    }
    
    .block-two-column.block-animated .block-column .column-content > *:nth-child(3) {
        animation-delay: 0.6s !important;
    }
    
    .block-two-column.block-animated .block-column .column-content > *:nth-child(4) {
        animation-delay: 0.8s !important;
    }
}

/* ==================== Content Animations ==================== */
/* Initial state - hide animated content */
.block-hero[data-animation]:not([data-animation="none"]):not(.block-animated) .block-hero-content,
.block-cta[data-animation]:not([data-animation="none"]):not(.block-animated) .block-cta-content,
.block-text[data-animation]:not([data-animation="none"]):not(.block-animated) .block-text-content,
.block-two-column[data-animation]:not([data-animation="none"]):not(.block-animated) .block-column {
    opacity: 0;
}

/* Animation keyframes */
@keyframes block-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes block-fade-down {
    from { 
        opacity: 0; 
        transform: translateY(-30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes block-fade-up {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes block-slide-left {
    from { 
        opacity: 0; 
        transform: translateX(-50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes block-slide-right {
    from { 
        opacity: 0; 
        transform: translateX(50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes block-zoom-in {
    from { 
        opacity: 0; 
        transform: scale(0.8); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

/* Apply animations when block-animated class is added */
.block-hero[data-animation="fade-in"].block-animated .block-hero-content,
.block-cta[data-animation="fade-in"].block-animated .block-cta-content,
.block-text[data-animation="fade-in"].block-animated .block-text-content {
    animation: block-fade-in 0.8s ease forwards;
}

.block-two-column[data-animation="fade-in"].block-animated .block-column {
    animation: block-fade-in 0.8s ease forwards;
}

.block-hero[data-animation="fade-down"].block-animated .block-hero-content,
.block-cta[data-animation="fade-down"].block-animated .block-cta-content,
.block-text[data-animation="fade-down"].block-animated .block-text-content {
    animation: block-fade-down 0.8s ease forwards;
}

.block-two-column[data-animation="fade-down"].block-animated .block-column {
    animation: block-fade-down 0.8s ease forwards;
}

.block-hero[data-animation="fade-up"].block-animated .block-hero-content,
.block-cta[data-animation="fade-up"].block-animated .block-cta-content,
.block-text[data-animation="fade-up"].block-animated .block-text-content {
    animation: block-fade-up 0.8s ease forwards;
}

.block-two-column[data-animation="fade-up"].block-animated .block-column {
    animation: block-fade-up 0.8s ease forwards;
}

.block-hero[data-animation="slide-in-left"].block-animated .block-hero-content,
.block-cta[data-animation="slide-in-left"].block-animated .block-cta-content,
.block-text[data-animation="slide-in-left"].block-animated .block-text-content {
    animation: block-slide-left 0.8s ease forwards;
}

.block-two-column[data-animation="slide-in-left"].block-animated .block-column {
    animation: block-slide-left 0.8s ease forwards;
}

.block-hero[data-animation="slide-in-right"].block-animated .block-hero-content,
.block-cta[data-animation="slide-in-right"].block-animated .block-cta-content,
.block-text[data-animation="slide-in-right"].block-animated .block-text-content {
    animation: block-slide-right 0.8s ease forwards;
}

.block-two-column[data-animation="slide-in-right"].block-animated .block-column {
    animation: block-slide-right 0.8s ease forwards;
}

.block-hero[data-animation="zoom-in"].block-animated .block-hero-content,
.block-cta[data-animation="zoom-in"].block-animated .block-cta-content,
.block-text[data-animation="zoom-in"].block-animated .block-text-content {
    animation: block-zoom-in 0.8s ease forwards;
}

.block-two-column[data-animation="zoom-in"].block-animated .block-column {
    animation: block-zoom-in 0.8s ease forwards;
}

/* Contact block animations */
.block-contact[data-animation]:not([data-animation="none"]):not(.block-animated) .contact-content-wrapper {
    opacity: 0;
}

.block-contact[data-animation="fade-in"].block-animated .contact-content-wrapper {
    animation: block-fade-in 0.8s ease forwards;
}

.block-contact[data-animation="fade-down"].block-animated .contact-content-wrapper {
    animation: block-fade-down 0.8s ease forwards;
}

.block-contact[data-animation="fade-up"].block-animated .contact-content-wrapper {
    animation: block-fade-up 0.8s ease forwards;
}

.block-contact[data-animation="slide-in-left"].block-animated .contact-content-wrapper {
    animation: block-slide-left 0.8s ease forwards;
}

.block-contact[data-animation="slide-in-right"].block-animated .contact-content-wrapper {
    animation: block-slide-right 0.8s ease forwards;
}

.block-contact[data-animation="zoom-in"].block-animated .contact-content-wrapper {
    animation: block-zoom-in 0.8s ease forwards;
}

/* Area Map block animations */
.block-area-map[data-animation]:not([data-animation="none"]):not(.block-animated) .block-content-wrapper {
    opacity: 0;
}

.block-area-map[data-animation="fade-in"].block-animated .block-content-wrapper {
    animation: block-fade-in 0.8s ease forwards;
}

.block-area-map[data-animation="fade-down"].block-animated .block-content-wrapper {
    animation: block-fade-down 0.8s ease forwards;
}

.block-area-map[data-animation="fade-up"].block-animated .block-content-wrapper {
    animation: block-fade-up 0.8s ease forwards;
}

.block-area-map[data-animation="slide-in-left"].block-animated .block-content-wrapper {
    animation: block-slide-left 0.8s ease forwards;
}

.block-area-map[data-animation="slide-in-right"].block-animated .block-content-wrapper {
    animation: block-slide-right 0.8s ease forwards;
}

.block-area-map[data-animation="zoom-in"].block-animated .block-content-wrapper {
    animation: block-zoom-in 0.8s ease forwards;
}

/* Area Cards block animations */
.block-area-cards[data-animation]:not([data-animation="none"]):not(.block-animated) .area-cards-content-wrapper {
    opacity: 0;
}

.block-area-cards[data-animation="fade-in"].block-animated .area-cards-content-wrapper {
    animation: block-fade-in 0.8s ease forwards;
}

.block-area-cards[data-animation="fade-down"].block-animated .area-cards-content-wrapper {
    animation: block-fade-down 0.8s ease forwards;
}

.block-area-cards[data-animation="fade-up"].block-animated .area-cards-content-wrapper {
    animation: block-fade-up 0.8s ease forwards;
}

.block-area-cards[data-animation="slide-in-left"].block-animated .area-cards-content-wrapper {
    animation: block-slide-left 0.8s ease forwards;
}

.block-area-cards[data-animation="slide-in-right"].block-animated .area-cards-content-wrapper {
    animation: block-slide-right 0.8s ease forwards;
}

.block-area-cards[data-animation="zoom-in"].block-animated .area-cards-content-wrapper {
    animation: block-zoom-in 0.8s ease forwards;
}

/* Area Gallery block animations */
.block-area-gallery[data-animation]:not([data-animation="none"]):not(.block-animated) .area-gallery-container {
    opacity: 0;
}

.block-area-gallery[data-animation="fade-in"].block-animated .area-gallery-container {
    animation: block-fade-in 0.8s ease forwards;
}

.block-area-gallery[data-animation="fade-down"].block-animated .area-gallery-container {
    animation: block-fade-down 0.8s ease forwards;
}

.block-area-gallery[data-animation="fade-up"].block-animated .area-gallery-container {
    animation: block-fade-up 0.8s ease forwards;
}

.block-area-gallery[data-animation="slide-in-left"].block-animated .area-gallery-container {
    animation: block-slide-left 0.8s ease forwards;
}

.block-area-gallery[data-animation="slide-in-right"].block-animated .area-gallery-container {
    animation: block-slide-right 0.8s ease forwards;
}

.block-area-gallery[data-animation="zoom-in"].block-animated .area-gallery-container {
    animation: block-zoom-in 0.8s ease forwards;
}

/* Contact Form Styling */
.block-contact .contact-form {
    margin: 0 auto;
    padding: 40px 20px;
}

.block-contact .contact-heading {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 600;
}

.block-contact .form-field {
    margin-bottom: 20px;
}

.block-contact .form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1d2327;
    font-size: 14px;
}

.block-contact .form-field input,
.block-contact .form-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s ease;
}

.block-contact .form-field input:focus,
.block-contact .form-field textarea:focus {
    outline: none;
    border-color: var(--clf-primary-color, #1a3a52);
}

.block-contact .form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.block-contact .form-submit {
    text-align: center;
    margin-top: 30px;
}

.block-contact .form-submit button {
    min-width: 200px;
}

.block-contact .form-submit button span {
    position: relative;
    z-index: 1;
}

.block-contact .form-message {
    margin-top: 1rem;
    padding: 12px 16px;
    border-radius: 4px;
    text-align: center;
}

.block-contact .form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.block-contact .form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Block Variants */
.block-contact-image-form .contact-two-column,
.block-contact-form-image .contact-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.block-contact .contact-image-column {
    width: 100%;
}

.block-contact .contact-image {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .block-contact-image-form .contact-two-column,
    .block-contact-form-image .contact-two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .block-contact .contact-content-wrapper {
        padding: 0 20px;
    }
}
