/*
Theme Name: Drupal Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A custom WordPress theme
Version: 1.0
*/

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header,
footer {
    background: #222;
    color: #fff;
    padding: 20px;
}

main {
    padding: 20px;
}


/* test development 27-4-2026 */

.cd-section {
    width: 100%;
    position: relative;
    overflow: visible;
    padding: 0;
    margin-top: 180px
}

section.content-block-section {
    overflow: hidden;
}

.cd-container {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 650px;
    gap: 60px;
}

.cd-reverse {
    flex-direction: row-reverse;
}


/* Left Content */

.cd-content {
    width: 50%;
    padding: 150px 30px 150px 155px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.cd-title {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 30px;
    color: #fff;
    max-width: 500px;
}

.cd-text {
    font-size: 16px;
    line-height: 1.8;
    color: #e8e8e8;
    max-width: 35rem;
}

.cd-text p {
    line-height: 1.5;
}


/* Button */

.cd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
    padding: 16px 38px;
    background: #c98b57;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    width: fit-content;
    transition: 0.3s ease;
    gap: 12px;
}

.cd-btn:hover {
    background: #b67945;
}

.cd-btn .arrow-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    /* extra space */
}

.cd-btn .arrow-icon img {
    width: 100%;
    height: auto;
    display: block;
}


/* .cd-btn::after {
    content: "→";
    margin-left: 10px;
    transition: 0.3s ease;
} */

.cd-btn:hover::after {
    transform: translateX(4px);
}


/* Right Image */

.cd-image-wrap {
    width: 50%;
    position: relative;
    overflow: visible;
}

.cd-image-frame {
    width: 100%;
    height: 100%;
    position: relative;
    margin-top: -100px
}

.cd-image-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}


/* Optional tilted border frame like screenshot */


/* .cd-image-frame::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 7px solid #c98b57;
    transform: rotate(-4deg);
    z-index: 2;
    pointer-events: none;
    width: 100%;
    height: 100%;
    top: 22px;
    right: 0;
} */

@media (max-width:1440px) {
    .cd-content {
        padding: 100px 30px 100px 155px;
    }
    .cd-image-wrap {
        width: 65%;
    }
}

@media (max-width:1025px) {
    .cd-content {
        padding: 50px 30px 50px 50px;
    }
    .cd-title {
        font-size: 40px;
    }
    .cd-text {
        font-size: 15px;
        line-height: 1.8;
        color: #e8e8e8;
        max-width: 40rem;
    }
}


/* Responsive */

@media (max-width: 991px) {
    .cd-section {
        margin-top: 80px;
    }
    .cd-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .cd-image-wrap {
        order: 1;
        width: 100%;
        margin-bottom: 30px;
    }
    .cd-content {
        order: 2;
        width: 100%;
        max-width: 85%;
    }
    .cd-text {
        font-size: 16px;
    }
    .cd-image-frame img {
        width: 100%;
        height: auto;
    }
    .cd-image-frame {
        margin-top: -80px;
        margin-right: 0;
        max-width: 90%;
    }
    section.content-block-section {
        padding-top: 150px;
        padding-bottom: 150px;
    }
    .cd-title {
        font-size: 50px;
    }
}

@media (max-width: 767px) {
    .cd-content {
        padding: 50px 20px;
    }
    .cd-title {
        font-size: 36px;
    }
    .cd-text {
        font-size: 15px;
        line-height: 1.7;
    }
    .cd-btn {
        display: flex;
        margin: 0 auto;
        justify-content: center;
        align-items: center;
        width: 85%;
        margin-top: 20px;
    }
    .cd-image-wrap {
        min-height: 100%;
    }
    .cd-container {
        gap: 0;
    }
    .cd-image-frame::before {
        width: 100%;
        height: 100%;
        top: 9px;
        left: -23px;
        transform: rotate(4deg);
        border: 4px solid #c98b57;
    }
}