/* ===========================================================================
 * Tasting place owner CTA — styles for
 * template-parts/tasting_place_owner_cta.php
 *
 * Self-contained: the markup uses its own `tpo-` prefix, so nothing here
 * depends on event.css and nothing here can leak into .event-organizer.
 * Visually it matches the brand/distributor CTA.
 * ========================================================================= */

.tpo-cta {
    padding: 64px 0 72px;
    background: #fbf8f5;
}

.tpo-cta__title {
    margin: 0 0 40px;
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 600;
    font-size: 32px;
    color: #8A765C;
    letter-spacing: 2px;
}

.tpo-cta__grid {
    display: grid;
    grid-template-columns: 340px 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.tpo-cta__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.tpo-cta__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 20px;
}

.tpo-cta__col-title {
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.1;
    color: #B3702D;
}

/* Fixed height keeps both buttons on the same baseline even when one text
   wraps to two lines and the other to one. */
.tpo-cta__col-text {
    margin: 0 0 20px;
    color: #5f574e;
    font-size: 15px;
    line-height: 1.6;
    font-family: "Work Sans", serif;
    min-height: 50px;
}

.tpo-cta__btn {
    display: inline-block;
    padding: 7px 20px;
    border: 1px solid #d9d2c8;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #554F4F;
    text-decoration: none;
    font-family: "Work Sans", sans-serif;
    transition: background .15s, border-color .15s;
}

.tpo-cta__btn:hover,
.tpo-cta__btn:focus {
    background: #f0ebe2;
    border-color: #c9c0b4;
}

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 900px) {
    .tpo-cta__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .tpo-cta__col {
        padding-top: 0;
    }

    .tpo-cta__col-text {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .tpo-cta {
        padding: 40px 0 48px;
    }

    .tpo-cta__title,
    .tpo-cta__col-title {
        font-size: 26px;
    }
}
