/* ==========================================================
   DealCraft "Our Story" Widget Styles
========================================================== */

.dc-story-wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.dc-story-wrap * {
    box-sizing: border-box;
}

/* Grid Layout - Equal Height Columns */
.dc-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch; /* Stretch to keep equal height */
}

/* ---------- Left Column: Vertical Media Box ---------- */

.dc-story-media {
    position: relative;
    width: 100%;
    min-height: 520px;
    border-radius: none;
    overflow: hidden;
    background: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* For Standard Images & Self-Hosted MP4 Videos */
.dc-story-media img,
.dc-story-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* For YouTube / Vimeo Vertical Wrapper */
.dc-video-iframe-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dc-video-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

/* ---------- Right Column: Story Card ---------- */

.dc-story-card {
    background: #fdf5ec; /* Warm tint matching reference */
    border-radius: none;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dc-story-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}

.dc-story-title {
    font-size: clamp(26px, 2.5vw, 34px);
    font-weight: 800;
    color: #0b192c;
    line-height: 1.2;
    margin: 0 0 24px;
}

.dc-story-body {
    font-size: 15px;
    line-height: 1.65;
    color: #374151;
    margin-bottom: 24px;
}

.dc-story-body p {
    margin-bottom: 16px;
}

.dc-story-body p:last-child {
    margin-bottom: 0;
}

/* Footer (Signature + Button) */
.dc-story-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 16px;
}

.dc-story-author {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.dc-story-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #A67F68;
    color: #ffffff !important; /* Matches reference highlight style */
    border: none solid #A67F68;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 12px;
    border-radius: none;
    transition: all 0.25s ease;
}


.dc-story-btn:hover {
    background: #8F6B56;
    color: #ffffff !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .dc-story-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dc-story-media {
        min-height: 420px;
    }

    .dc-story-card {
        padding: 32px 24px;
    }
}

@media (max-width: 576px) {
    .dc-story-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .dc-story-btn {
        width: 100%;
        text-align: center;
    }
}