/*
Theme Name: Wiigwasike
Description: Child theme for Wiigwasike.AI based on Twenty Twenty-Five
Template: twentytwentyfive
Version: 1.1
*/

/* =========================================================
   WIIN LANDING PAGE
   ========================================================= */
main {
    padding-top: 0 !important;
}

/* Remove WordPress block-theme spacing between header, main and hero */
/* Remove spacing between the WordPress header, main area and WIIN hero */

.wp-site-blocks > main {
    margin-top: 0 !important;
}

.wp-block-template-part + main {
    margin-top: 0 !important;
}

main .wiin-hero {
    margin-top: 0 !important;
}

/* ---------------------------------------------------------
   BUTTONS
   --------------------------------------------------------- */

.wp-block-button__link {
    background: #46565b;
    color: #fff;
    border-radius: 6px;
    padding: 0.9rem 1.5rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus {
    background: #98c127;
}

/* ---------------------------------------------------------
   GENERAL WIIN SECTIONS
   --------------------------------------------------------- */

.wiin-section {
    width: 100%;
    padding: clamp(4rem, 7vw, 7rem) 2rem;
    box-sizing: border-box;
}

.wiin-section > * {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.wiin-section-soft {
    background: #f6f7f5;
}

.wiin-section h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.wiin-section p {
    margin-top: 0;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.wiin-section-last {
    padding-bottom: 2rem;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.wiin-section.wiin-hero { 
    padding-top: clamp(3rem, 5vw, 5rem);
    padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

/*
   The remaining available width is divided 55 / 45.
   Using a zero flex-basis prevents the column gap from
   interfering with the intended proportions.
*/
.wiin-hero-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
}

.wiin-hero-text {
    flex: 55 1 0;
    min-width: 0;
}

.wiin-hero-dashboard {
    flex: 45 1 0;
    min-width: 0;
}

.wiin-hero-dashboard img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

.wiin-section.wiin-hero h1,
.wiin-section.wiin-hero h2 {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: clamp(3rem, 4vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.wiin-section.wiin-hero .wiin-hero-text p {
    max-width: 650px;
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.wiin-hero .wp-block-buttons {
    margin-top: 1.5rem;
}

.wiin-hero .wp-block-button__link {
    padding: 0.9rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
}

.wiin-workflow {
    line-height: 1.5;
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.wiin-footer-part {
    margin-block-start: 0 !important;
}

.wiin-footer {
    margin-block-start: 0 !important;
    padding-top: 0 !important;

    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}

/* ---------------------------------------------------------
   RESPONSIVE — TABLET
   --------------------------------------------------------- */

@media (max-width: 781px) {

    .wiin-section {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .wiin-section.wiin-hero {
        padding: 1rem 1.25rem 3.5rem;
    }

    .wiin-hero-row {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }

    .wiin-hero-text,
    .wiin-hero-dashboard {
        flex: 1 1 auto;
        width: 100%;
    }

    .wiin-section.wiin-hero h1,
    .wiin-section.wiin-hero h2 {
        font-size: clamp(2.2rem, 6vw, 3rem);
    }

    .wiin-section.wiin-hero > * {
        max-width: 1100px;
    }

    .wiin-footer-part { 
        margin-block-start: 0 !important; 
        padding-block-start: 0 !important; 
    } 
 
    .wiin-footer { 
        margin-block-start: 0 !important; 
        padding-top: 1.5rem !important;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* ---------------------------------------------------------
   RESPONSIVE — PHONE
   --------------------------------------------------------- */

@media (max-width: 480px) {
    .wiigwasike-site-logo,
    .wiigwasike-site-logo img {
        width: 160px !important;
    }

    .wiin-section {
        padding: 3rem 1rem;
    }

    .wiin-section.wiin-hero {
        padding: 1rem 1rem 3.5rem;
    }

    .wiin-section.wiin-hero h1,
    .wiin-section.wiin-hero h2 {
        font-size: clamp(2rem, 9vw, 2.4rem);
        line-height: 1.02;
    }

    .wiin-hero-status {
        display: none;
    }

    .wiin-hero-cover {
        display: none;
    }
    
    .wiin-section-last {
        padding-bottom: 2rem;
    }

    .wiin-section p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .wiin-workflow {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .wiin-footer {
        font-size: 0.95rem;
        line-height: 1.5;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}