/** Add here any stule for the blocks on WP admin dashboard **/

/* Get In Touch Block Editor Styles */
.wp-block-cherry-get-in-touch {
    margin: 0;
    padding: 0;
}

.wp-block-cherry-get-in-touch .get-in-touch-wrapper {
    padding: 120px 48px;
    max-width: 1280px;
    margin: 0 auto;
}

.wp-block-cherry-get-in-touch .get-in-touch-title {
    font-size: 110px;
    letter-spacing: -2.2px;
    margin-bottom: 64px;
    font-family: 'Libre Baskerville', serif;
}

.wp-block-cherry-get-in-touch .get-in-touch-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.wp-block-cherry-get-in-touch .get-in-touch-card {
    padding: 40px;
    background: #FFFFFF;
    border-radius: 4px;
}

.wp-block-cherry-get-in-touch .get-in-touch-card h4 {
    font-size: 32px;
    margin-bottom: 24px;
    font-family: 'Libre Baskerville', serif;
}

.wp-block-cherry-get-in-touch .get-in-touch-card p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    font-family: 'Lato', sans-serif;
}

.wp-block-cherry-get-in-touch .get-in-touch-card .button {
    display: inline-block;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    cursor: pointer;
}

/* Button Block Styles */
.wp-block-cherry-button {
    margin: 1em 0;
}

.wp-block-cherry-button .button {
    display: inline-block;
    padding: 12px 24px;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wp-block-cherry-button .button__black {
    background-color: #000;
    color: #fff;
}

.wp-block-cherry-button .button__white {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
}

.wp-block-cherry-button .button:hover {
    opacity: 0.8;
}

.wp-block-cherry-button .button-link-input {
    margin-top: 10px;
}

.wp-block-cherry-button .button-link-input input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
}

/* Container Block Styles */
.wp-block-custom-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.wp-block-custom-container.row {
    flex-direction: row;
}

.wp-block-custom-container.column {
    flex-direction: column;
}

.wp-block-custom-container.justify-between {
    justify-content: space-between;
}

.wp-block-custom-container.justify-center {
    justify-content: center;
}

.wp-block-custom-container.align-center {
    align-items: center;
}

.wp-block-custom-container.gap-md {
    gap: 24px;
}

/* Page Section Block Styles */
.wp-block-cherry-page-section {
    padding: 4rem 0;
    margin: 0 auto;
    width: 100%;
}

/* Typography Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: "acumin-variable", sans-serif;
    margin-bottom: 1rem;
}

h1 {
    font-size: 72px;
    line-height: 1.2;
}

h2 {
    font-size: 48px;
    line-height: 1.3;
}

h3 {
    font-size: 40px;
    line-height: 1.4;
    font-weight: 800;
}
@media (max-width: 1000px) {
    h3{
        font-size: 32px;
        line-height: 36px;
        
    }
}

h4 {
    font-size: 24px;
    line-height: 1.5;
}

p {
    font-family: "Lato", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Image Styles */
.wp-block-image {
    margin: 0;
}

.wp-block-image img {
    width: 100%;
    height: auto;
}

/* Logo Grid Styles */
.wp-block-custom-container.logo-grid {
    flex-wrap: wrap;
}

.wp-block-custom-container.logo-grid .wp-block-image {
    flex: 0 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-block-custom-container.logo-grid .wp-block-image img {
    height: 60px;
    width: auto;
}

/* Main Grid Container */
.site-content {
    width: 100%;
    overflow-x: hidden;
}

.homepage-content,
.entry-content {
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    width: 100%;
}

/* Default block container */
.wp-block,
.entry-content > * {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
    padding-left: 40px;
    padding-right: 40px;
}

/* Text blocks (headings, paragraphs) */
.wp-block-heading,
.wp-block-paragraph,
.entry-content > h1,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > h5,
.entry-content > h6,
.entry-content > p {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
}

/* Group styles */
.wp-block-group,
.entry-content .wp-block-group {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Group content spacing */
.wp-block-group .wp-block-heading,
.wp-block-group .wp-block-paragraph,
.wp-block-group h1,
.wp-block-group h2,
.wp-block-group h3,
.wp-block-group h4,
.wp-block-group h5,
.wp-block-group h6,
.wp-block-group p {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

/* Ensure blocks inside wp-block-group stack vertically */
.wp-block-group {
  display: block !important;
}

.wp-block-group > .wp-block {
  display: block !important;
  float: none !important;
  clear: both !important;
}

/* Editor specific styles */
.editor-styles-wrapper {
    padding: 0 !important;
}

.editor-styles-wrapper .wp-block {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

/* Responsive adjustments */
@media (max-width: 1320px) {
    .wp-block,
    .wp-block-custom-container,
    .wp-block-cherry-page-section,
    .homepage-content,
    .entry-content > * {
        padding-left: 20px;
        padding-right: 20px;
    }

    .wp-block-group,
    .entry-content .wp-block-group,
    .wp-block-heading,
    .wp-block-paragraph,
    .entry-content > h1,
    .entry-content > h2,
    .entry-content > h3,
    .entry-content > h4,
    .entry-content > h5,
    .entry-content > h6,
    .entry-content > p {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 1024px) {
    .wp-block-cherry-get-in-touch .get-in-touch-title {
        font-size: 72px;
    }
}

@media (max-width: 768px) {
    .wp-block-cherry-get-in-touch .get-in-touch-wrapper {
        padding: 60px 24px;
    }
    
    .wp-block-cherry-get-in-touch .get-in-touch-title {
        font-size: 48px;
    }
    
    .wp-block-cherry-get-in-touch .get-in-touch-cards {
        grid-template-columns: 1fr;
    }
}

/* Info Card Block Styles */
.wp-block-cherry-info-card {
    padding: 2em;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2em;
}

.wp-block-cherry-info-card h4 {
    font-family: "Libre Baskerville", serif;
    font-style: italic;
    font-size: 24px;
    margin-bottom: 1em;
    color: #333;
}

.wp-block-cherry-info-card p {
    font-family: "Lato", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 1.5em;
    font-weight: bold;
}

.wp-block-cherry-info-card .button {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Content Slider Block Styles */
.wp-block-cherry-content-slider {
    margin: 2em 0;
    padding: 2em;
    background: #fff;
    border-radius: 8px;
}

.wp-block-cherry-content-slider .slides-navigation {
    margin-bottom: 2em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.wp-block-cherry-content-slider .slide-buttons {
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
}

.wp-block-cherry-content-slider .slide-controls {
    display: flex;
    gap: 1em;
    align-items: center;
}

.wp-block-cherry-content-slider .slide-button {
    padding: 8px 16px !important;
    height: auto !important;
}

.wp-block-cherry-content-slider .copy-image-layout {
    display: flex;
    gap: 2em;
    align-items: center;
}

.wp-block-cherry-content-slider .copy-image-layout.copy-right {
    flex-direction: row-reverse;
}

.wp-block-cherry-content-slider .copy-section,
.wp-block-cherry-content-slider .image-section {
    flex: 1;
}

.wp-block-cherry-content-slider .image-section img {
    max-width: 100%;
    height: auto;
}

.wp-block-cherry-content-slider .cards-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
}

.wp-block-cherry-content-slider .image-button {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f5f5f5;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.wp-block-cherry-content-slider .image-button img {
    max-width: 100%;
    height: auto;
}

.wp-block-cherry-content-slider .slides-container {
    position: relative;
    min-height: 200px;
}
.wp-block-cherry-content-slider .wp-block-cherry-content-slide {
    display: none;
    width: 100%;
    transition: opacity 0.3s;
}
.wp-block-cherry-content-slider .wp-block-cherry-content-slide.active {
    display: block;
}
.wp-block-cherry-content-slider .slider-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    margin-top: 1em;
}
.wp-block-cherry-content-slider .slider-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.wp-block-cherry-content-slider .slider-dot.active {
    background: #000;
}
.wp-block-cherry-content-slider .slider-prev,
.wp-block-cherry-content-slider .slider-next {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    margin: 0 8px;
    transition: background 0.2s, border 0.2s;
}
.wp-block-cherry-content-slider .slider-prev:hover,
.wp-block-cherry-content-slider .slider-next:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}