/* =========================================================
   Get Your Copy Block
   ========================================================= */

:root {
    --gyc-white: #ffffff;
    --gyc-cream: #F8F4EE;
    --gyc-tan: #C4B08A;
    --gyc-green: #1e4a38;
    --gyc-eyebrow: #2d5547;
    --gyc-text: #1a1a1a;
    --gyc-muted: #555555;
    --gyc-ring-track: #e0ddd5;
    --gyc-font-serif: Cormorant, serif;
    --gyc-font-sans: Montserrat, sans-serif;
}

/* Block wrapper — no padding; panels define their own space */
.get-your-copy-block {
    width: 100%;
    overflow: hidden;
}

/* =========================================================
   Panel
   ========================================================= */
.get-your-copy-block__panel {
    display: flex;
    min-height: 520px;
    background-color: var(--gyc-cream);
}

/* Normal: content left (white), image right (tan) */
.get-your-copy-block__panel--normal .get-your-copy-block__content-side {
    background-color: var(--gyc-cream);
}

.get-your-copy-block__panel.get-your-copy-block__panel--normal .get-your-copy-block__image-side {
    background-color: var(--gyc-tan);
    border-radius: 0 0 0 60px; /* concave corner: bottom-left of tan section */
}

.get-your-copy-block__panel.get-your-copy-block__panel--reverse .get-your-copy-block__image-side {
    background-color: var(--gyc-tan);
    border-radius: 0 60px 0 0; /* concave corner: bottom-right of tan section */
}

/* Reverse: image left (tan), content right (white) */
.get-your-copy-block__panel--reverse {
    flex-direction: row-reverse;
}

.get-your-copy-block__panel--reverse .get-your-copy-block__content-side {
    background-color: var(--gyc-cream);
}

/* =========================================================
   Content side
   ========================================================= */
.get-your-copy-block__content-side {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5rem 4rem;
    box-sizing: border-box;
}

.get-your-copy-block__content-inner {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 2rem;
}

/* Eyebrow */
.get-your-copy-block__eyebrow {
    font-family: 'Mona Sans Condensed', sans-serif;
    font-weight: 600;
    font-size: 21px;
    line-height: 1.3;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ab-green);
}

/* Title (wysiwyg) */
.get-your-copy-block__title {
    margin: 0;
}

.get-your-copy-block__title h1,
.get-your-copy-block__title h2,
.get-your-copy-block__title h3,
.get-your-copy-block__title h4,
.get-your-copy-block__title p {
    margin: 0;
    font-family: var(--gyc-font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--gyc-text);
}

.get-your-copy-block__title em,
.get-your-copy-block__title i {
    font-style: italic;
    font-weight: 700;
}

.get-your-copy-block__title strong,
.get-your-copy-block__title b {
    font-weight: 700;
    font-style: italic;
}

/* Description (wysiwyg) */
.get-your-copy-block__description {
    font-family: var(--gyc-font-sans);
    font-size: 13px;
    line-height: 1.75;
    color: var(--gyc-muted);
}

.get-your-copy-block__description p {
    margin: 0 0 0.75em;
}

.get-your-copy-block__description p:last-child {
    margin-bottom: 0;
}

.get-your-copy-block__description strong,
.get-your-copy-block__description b {
    color: var(--gyc-text);
    font-weight: 700;
}

/* Bullet list */
.get-your-copy-block__description ul {
    list-style: disc;
    margin: 0.25rem 0 0.75rem 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.get-your-copy-block__description ul li {
    padding-left: 0.25rem;
}

/* CTA — a lone link inside a <p> is treated as a pill button */
.get-your-copy-block__description p > a:only-child {
    display: inline-block;
    font-family: var(--gyc-font-sans);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background-color: var(--gyc-green);
    color: #ffffff;
    border-radius: 50px;
    padding: 12px 24px;
    line-height: 1;
    transition: background 0.2s;
    white-space: nowrap;
    margin-top: 0.5rem;
}

.get-your-copy-block__description p > a:only-child:hover {
    background-color: #163828;
}

/* =========================================================
   Image side
   ========================================================= */
.get-your-copy-block__image-side {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    box-sizing: border-box;
    overflow: hidden;
}

.get-your-copy-block__image {
    display: block;
    max-width: 100%;
    max-height: 460px;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* =========================================================
   Copies reserved badge
   ========================================================= */
.get-your-copy-block__badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 165px;
    height: 195px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    gap: 10px;
    box-sizing: border-box;
    z-index: 2;
}

.get-your-copy-block__badge-label {
    font-family: var(--gyc-font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #333333;
    text-align: center;
    white-space: nowrap;
}

/* Ring + inner circle sit in a fixed-size wrapper centered below the label */
.get-your-copy-block__badge-ring-wrap {
    position: relative;
    width: 120px;
    height: 120px;
}

/* SVG ring — outer faint ellipse, gradient inner ellipse, and the
   progress ellipse (dasharray driven by JS) */
.get-your-copy-block__badge-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.get-your-copy-block__badge-progress {
    fill: none;
    transition: stroke-dashoffset 0.3s ease;
}

/* Text sits above the SVG's gradient inner ellipse */
.get-your-copy-block__badge-inner {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.get-your-copy-block__badge-number {
    font-family: var(--gyc-font-sans);
    font-size: 17px;
    font-weight: 700;
    color: var(--gyc-white);
    line-height: 1;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
    .get-your-copy-block__panel,
    .get-your-copy-block__panel--reverse {
        flex-direction: column;
    }

    .get-your-copy-block__content-side,
    .get-your-copy-block__image-side {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .get-your-copy-block__content-side {
        padding: 3rem 2rem;
        justify-content: flex-start;
    }

    .get-your-copy-block__content-inner {
        max-width: 100%;
    }

    .get-your-copy-block__image-side {
        min-height: 340px;
        padding: 2.5rem 2rem 3.5rem;
    }

    /* Reset rounded corners on mobile */
    .get-your-copy-block__panel--normal .get-your-copy-block__image-side,
    .get-your-copy-block__panel--reverse .get-your-copy-block__image-side {
        border-radius: 0;
    }

    /* Scale the badge card down (same 165:195 aspect ratio) */
    .get-your-copy-block__badge {
        width: 140px;
        height: 165px;
        bottom: 1.5rem;
        right: 1.5rem;
        padding-top: 17px;
        gap: 8px;
    }

    .get-your-copy-block__badge-label {
        font-size: 9px;
    }

    .get-your-copy-block__badge-ring-wrap {
        width: 102px;
        height: 102px;
    }

    .get-your-copy-block__badge-inner {
        inset: 9px;
    }

    .get-your-copy-block__badge-number {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .get-your-copy-block__content-side {
        padding: 2.5rem 1.25rem;
    }

    .get-your-copy-block__title h1,
    .get-your-copy-block__title h2,
    .get-your-copy-block__title h3,
    .get-your-copy-block__title h4,
    .get-your-copy-block__title p {
        font-size: 2rem;
    }

    /* Scale the badge card down further (same 165:195 aspect ratio) */
    .get-your-copy-block__badge {
        width: 110px;
        height: 130px;
        bottom: 1rem;
        right: 1rem;
        padding-top: 13px;
        gap: 7px;
    }

    .get-your-copy-block__badge-label {
        font-size: 7px;
    }

    .get-your-copy-block__badge-ring-wrap {
        width: 80px;
        height: 80px;
    }

    .get-your-copy-block__badge-inner {
        inset: 7px;
    }

    .get-your-copy-block__badge-number {
        font-size: 11px;
    }
}
