/**
 * Editorial Content Module Styles
 * 
 * @package Gustoso Child Theme
 * @since 1.0
 */

/* ========================================
   CONTAINER
   ======================================== */

.gustoso-editorial-container {
    position: relative;
    min-height: 600px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    overflow: hidden;
}

/* ========================================
   OVERLAY
   ======================================== */

.gustoso-editorial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000;
    opacity: 0.3;
    z-index: 1;
}

/* ========================================
   CONTENT WRAPPER
   ======================================== */

.gustoso-editorial-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* ========================================
   CONTENT BOX
   ======================================== */

.gustoso-editorial-box {
    background-color: #ffffff;
    padding: 60px 100px;
    margin: 0;
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* ========================================
   TITLE
   ======================================== */

.gustoso-editorial-title {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0 0 30px 0;
    padding: 0 0 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #2c3340;
}

/* ========================================
   COLUMNS LAYOUT
   ======================================== */

.gustoso-editorial-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ========================================
   LEFT COLUMN - LARGE TEXT
   ======================================== */

.gustoso-editorial-left {
    padding-right: 20px;
}

.gustoso-editorial-large-text {
    font-weight: 300;
    font-size: 64px;
    line-height: 1.4;
    color: #2c3340;
    margin: 0;
    padding: 0;
}

.gustoso-editorial-large-text p {
    margin: 0 0 20px 0;
    padding: 0;
    font-family: 'Ysabeau Infant', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

.gustoso-editorial-large-text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   RIGHT COLUMN - PARAGRAPH & LINK
   ======================================== */

.gustoso-editorial-right {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.gustoso-editorial-paragraph {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    margin: 0 0 30px 0;
    padding: 0;
}

.gustoso-editorial-paragraph p {
    margin: 0 0 15px 0;
    padding: 0;
}

.gustoso-editorial-paragraph p:last-child {
    margin-bottom: 0;
}

/* ========================================
   LINK / BUTTON
   ======================================== */

.gustoso-editorial-link-wrapper {
    margin-top: auto;
}

.gustoso-editorial-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    text-decoration: none;
    color: var(--link-text-color, #2d3748);
    transition: all 0.3s ease;
}

.gustoso-editorial-link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--link-bg-color, #324158);
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #324158 !important;
}

.gustoso-editorial-link-button::before {
    content: "→";
    font-size: 18px;
    line-height: 1;
    color: #ffffff;
    display: block;
}

.gustoso-editorial-link-icon {
    display: none;
}

.gustoso-editorial-link:hover .gustoso-editorial-link-button {
    background: transparent !important;
    color: #324158 !important;
}

.gustoso-editorial-link:hover .gustoso-editorial-link-button::before {
    color: #324158 !important;
}

.gustoso-editorial-link-text {
    font-family: 'Ysabeau Infant', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 18px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.5;
    color: var(--link-text-color, #2d3748);
    padding-left: 0;
    border-bottom: 1px dotted transparent;
    transition: border-color 0.3s ease;
}

.gustoso-editorial-link:hover .gustoso-editorial-link-text {
    border-bottom: 1px dotted currentColor;
}

/* Remove any pseudo-elements from link text */
.gustoso-editorial-link-text::before,
.gustoso-editorial-link-text::after {
    display: none !important;
    content: none !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .gustoso-editorial-container {
        min-height: 500px;
        padding: 60px 30px;
    }
    
    .gustoso-editorial-content {
        padding: 0 15px;
    }
    
    .gustoso-editorial-box {
        padding: 50px 60px;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .gustoso-editorial-columns {
        gap: 40px;
    }
    
    .gustoso-editorial-large-text {
        font-size: 30px;
    }
}

/* Tablet Portrait / Large Mobile */
@media (max-width: 768px) {
    .gustoso-editorial-container {
        min-height: auto;
        padding: 40px 30px;
        width: 93%;
    }
    
    .gustoso-editorial-content {
        padding: 0 15px;
        display: block !important;
    }
    
    .gustoso-editorial-box {
        padding: 40px 30px;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .gustoso-editorial-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gustoso-editorial-left,
    .gustoso-editorial-right {
        padding-left: 0;
        padding-right: 0;
    }
    
    .gustoso-editorial-large-text {
        font-size: 26px;
    }
    
    .gustoso-editorial-paragraph {
        font-size: 13px;
        margin-bottom: 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .gustoso-editorial-container {
        padding: 30px 15px;
        width: 93%
    }
    
    .gustoso-editorial-content {
        padding: 0 10px;
    }
    
    .gustoso-editorial-box {
        padding: 30px 20px;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .gustoso-editorial-title {
        font-size: 10px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    
    .gustoso-editorial-columns {
        gap: 25px;
    }
    
    .gustoso-editorial-large-text {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .gustoso-editorial-paragraph {
        font-size: 12px;
        line-height: 1.7;
    }
    
    .gustoso-editorial-link-button {
        width: 40px;
        height: 40px;
    }
    
    .gustoso-editorial-link-button::before {
        font-size: 16px;
    }
    
    .gustoso-editorial-link-text {
        font-size: 16px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .gustoso-editorial-overlay {
        opacity: 0.1;
    }
    
    .gustoso-editorial-box {
        box-shadow: none;
        border: 1px solid #cccccc;
    }
    
    .gustoso-editorial-link {
        display: none;
    }
}



