/* ============================================================
 * Design Guidelines Page Styles
 * Pixel-perfect implementation of Figma:
 * https://www.figma.com/design/R6rCOVuKvVMf4Ap3HLFCpz (node 7-109)
 * Tokens: Navy #2B395D · Fuchsia #FB0060 · Seafoam #2E8696
 *         Magenta #B80067 · Body #525252 · Divider #CDD6DA
 * Fonts:  Headings = Lexend · Body = Inter
 * ========================================================== */

/* Local font fallback — header.php loads Lexend & Inter via Google */
.dg-hero,
.dg-tips-bar,
.dg-tips,
.dg-rules,
.dg-ideas,
.dg-keepinmind,
.dg-common-reasons,
.dg-cta,
.dg-faq {
    font-family: 'Inter', sans-serif;
    color: #525252;
}

/* Brand tokens scoped to this page */
.dg-hero,
.dg-tips-bar,
.dg-tips,
.dg-rules,
.dg-ideas,
.dg-keepinmind,
.dg-common-reasons,
.dg-cta,
.dg-faq {
    --blip-navy: #2B395D;
    --blip-fuchsia: #FB0060;
    --blip-seafoam: #2E8696;
    --blip-magenta: #B80067;
    --blip-body: #525252;
    --blip-divider: rgba(205, 214, 218, 0.5);
}

/* ===== Shared full-bleed container (1440px design width) ===== */
.dg-tips-bar .container,
.dg-tips .container,
.dg-rules .container,
.dg-ideas .container,
.dg-keepinmind .container,
.dg-common-reasons .container,
.dg-cta .container,
.dg-faq .container {
    max-width: 1440px;
    width: 100%;
}
/* Hero is full-bleed: text col 656px on left, image col fills the remaining viewport
   width so it always pins to the right edge regardless of viewport size. */
.dg-hero .container {
    max-width: 100%;
    width: 100%;
}
.dg-hero .row > [class*="col-"]:last-child {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
}

/* ============================================================
 * 1. HERO
 * Figma frame 37:110 → 1440x514, text col x=136 w=520, image col x=719 w=720
 * ========================================================== */
.dg-hero {
    background: #ffffff;
    padding: 0;
    overflow: hidden;
}
.dg-hero .container {
    padding-left: 0;
    padding-right: 0;
}
.dg-hero .row {
    --bs-gutter-x: 0px;
    margin: 0;
    align-items: stretch;
    flex-wrap: nowrap;
    justify-content: space-between;
    height: 514px;
}
.dg-hero .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
    flex: 0 0 auto;
}
/* Figma: text col left edge x=136 w=520, image col flush-right x=719 w=720 */
.dg-hero .row > [class*="col-"]:first-child {
    width: 656px;       /* 136 left padding + 520 text */
    max-width: 656px;
    padding-left: 136px;
    padding-top: 87px;  /* Figma: text starts 87px from hero top */
    align-self: flex-start;
}
.dg-hero .row > [class*="col-"]:last-child {
    width: 720px;
    max-width: 720px;
    padding: 0;
}
.dg-hero__text {
    max-width: 520px;
}
.dg-hero__title {
    font-family: 'Lexend', sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 63px;
    letter-spacing: 0;
    color: var(--blip-navy);
    margin: 0 0 30px;
}
.dg-hero__desc {
    max-width: 494px;
    margin: 0 0 37px;     /* Figma: 384 - 243 - 104 = 37px between desc box bottom and btn top */
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: var(--blip-body);
    font-weight: 400;
}
.dg-hero__desc p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: var(--blip-body);
    font-weight: 400;
    margin: 0;
}
.dg-hero__btn .btn,
.dg-cta__btn-wrap .btn {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    border-radius: 60px;
    padding: 11px 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid transparent;
    transition: opacity .15s ease, transform .15s ease;
}
.dg-hero__btn .btn-pink-pill {
    background: var(--blip-fuchsia);
    color: #ffffff;
}
.dg-hero__btn .btn-pink-pill:hover { opacity: .92; }
.dg-hero__image {
    position: relative;
    width: 100%;
    height: 514px;
    overflow: hidden;
    border-radius: 0;
}
.dg-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================================
 * 2. 5 TIPS BAR
 * ========================================================== */
.dg-tips-bar {
    background: #FF0C68;
    height: 124px;
    display: flex;
    align-items: center;
    padding: 29px 136px 32px 137px;
}
.dg-tips-bar .container { padding: 0; }
.dg-tips-bar__title {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 35px;
    line-height: 53px;
    color: #ffffff;
    text-align: center;
    margin: 0;
}

/* ============================================================
 * 3. TIPS GRID
 * ========================================================== */
.dg-tips {
    padding: 40px 0;
}
.dg-tips .container {
    padding-left: 136px;
    padding-right: 136px;
}
.dg-tips .row {
    --bs-gutter-x: 110px; /* Figma: ~110px between two 528/529 columns inside 1167px content area */
    margin: 0;
}
.dg-tips .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}
.dg-tips .row > [class*="col-"]:first-child { padding-right: 55px; }
.dg-tips .row > [class*="col-"]:last-child  { padding-left: 55px; }

.dg-tip {
    margin-bottom: 33px;
}
.dg-tip:last-child { margin-bottom: 0; }
.dg-tip__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}
.dg-tip__icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: block;
}
.dg-tip__title {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 63px;
    color: var(--blip-seafoam);
    margin: 0;
}
.dg-tip__text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: var(--blip-body);
    margin: 0;
}

/* Right-column gap is 48px between cards in Figma */
.dg-tips .row > [class*="col-"]:last-child .dg-tip { margin-bottom: 48px; }
.dg-tips .row > [class*="col-"]:last-child .dg-tip:last-child { margin-bottom: 0; }

/* ============================================================
 * 4. RULES OF BILLBOARD DESIGNS
 * ========================================================== */
.dg-rules {
    background: var(--blip-navy);
    padding: 51px 0 61px;
    color: #ffffff;
}
.dg-rules .container { padding: 0; }
.dg-rules__header {
    max-width: 924px;
    margin: 0 auto 9px;
    text-align: center;
}
.dg-rules__title {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 35px;
    line-height: 53px;
    color: #ffffff;
    margin: 0 0 23px;
}
.dg-rules__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #cccccc;
    margin: 0;
}
.dg-rules__category {
    padding: 20px 134px 20px 136px;
    margin-bottom: 9px;
}
.dg-rules__category:last-of-type { margin-bottom: 0; }
.dg-rules__category-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 1px;
}
.dg-rules__category-title {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 63px;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
}
.dg-rules__category-line {
    flex: 1 1 auto;
    height: 1px;
    background: #ffffff;
    display: block;
}
.dg-rules__category .row {
    --bs-gutter-x: 0;
    margin: 0;
    flex-wrap: nowrap;
    gap: clamp(40px, 8vw, 122px);
    justify-content: flex-start;
}
.dg-rules__category .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
    flex: 1 1 0;
    max-width: none;
    min-width: 0;
}

.dg-rules__list {
    list-style: disc;
    padding-left: 21px;
    margin: 0;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 26px;
}
.dg-rules__list li { margin: 0; }
.dg-rules__disclaimer {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 26px;
    color: #ffffff;
    margin: 6px 0 0;
}

/* ============================================================
 * 5. DESIGN IDEAS — What to do / What not to do
 * ========================================================== */
.dg-ideas {
    background: #ffffff;
    padding: 50px 0;
}
.dg-ideas .container {
    padding-left: 268px;
    padding-right: 268px;
}
.dg-ideas__title {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 35px;
    line-height: 53px;
    color: var(--blip-navy);
    text-align: center;
    margin: 0 0 15px;
}
.dg-ideas__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: var(--blip-body);
    text-align: center;
    /* Figma subtitle box h=66 (single line + trailing empty line); add 14px to land block at y=199 */
    margin: 0 0 29px;
}
.dg-ideas__slider-block {
    background: #F9F9F9;
    border-radius: 17px;
    padding: 9px 57px 59px;
    margin-top: 24px;
    text-align: center;
}
.dg-ideas__slider-label {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 63px;
    color: var(--blip-magenta);
    text-align: center;
    margin: 0 0 9px;
}
.dg-ideas__viewer {
    position: relative;
    width: 790px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 23px;
}
.dg-ideas__slide-img {
    width: 676px;
    aspect-ratio: 1200 / 336;
    overflow: hidden;
    border-radius: 4px;
    flex: 0 0 676px;
}
.dg-ideas__slide-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.dg-ideas__nav {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--blip-seafoam);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: background .15s ease;
}
.dg-ideas__nav:hover { background: #F1FAFB; }
.dg-ideas__nav svg { display: block; }

/* ============================================================
 * 6. KEEP IN MIND — 2x2 dark cards on seafoam bg
 * ========================================================== */
.dg-keepinmind {
    background: var(--blip-seafoam);
    padding: 58px 0 64px;
    color: #ffffff;
}
.dg-keepinmind .container {
    max-width: 1180px;
    padding: 0 20px;
}
.dg-keepinmind__title {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 35px;
    line-height: 53px;
    color: #ffffff;
    text-align: center;
    /* Figma title visual baseline gap = 44 between title bottom and subtitle top */
    margin: 0 auto 14px;
    max-width: 924px;
}
.dg-keepinmind__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #ffffff;
    text-align: center;
    /* Figma gap between subtitle bottom and grid = 32.5 */
    margin: 0 auto 32px;
    max-width: 924px;
}
.dg-keepinmind__grid {
    display: grid;
    grid-template-columns: repeat(2, 449px);
    gap: 11px 13px;
    justify-content: center;
    max-width: 911px;
    margin: 0 auto;
}
.dg-keepinmind__card {
    background: var(--blip-navy);
    border-radius: 8px;
    height: 240px;
    padding: 17px 14px 0;
    position: relative;
    overflow: hidden;
}
.dg-keepinmind__card-img {
    width: 421px;
    max-width: 100%;
    height: 118px;
    overflow: hidden;
    border-radius: 4px;
    margin: 0 auto 12px;
}
.dg-keepinmind__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dg-keepinmind__card-text {
    text-align: center;
    padding: 0 4px;
}
.dg-keepinmind__card-text,
.dg-keepinmind__card-text p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
    margin: 0;
}

/* ============================================================
 * 7. COMMON REASONS — navy split layout
 * ========================================================== */
.dg-common-reasons {
    background: var(--blip-navy);
    padding: 49px 0 68px;
    color: #ffffff;
}
.dg-common-reasons .container {
    padding-left: 137px;
    padding-right: 136px;
}
.dg-common-reasons .row {
    --bs-gutter-x: 0;
    margin: 0;
    align-items: center;
    flex-wrap: nowrap;
    gap: 56px;
}
.dg-common-reasons .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
    flex: 0 0 auto;
    margin-left: 0;
}
/* Figma split: left text col 540px, right list col 571px, gap 56px */
.dg-common-reasons .row > [class*="col-"]:first-child { width: 540px; max-width: 540px; }
.dg-common-reasons .row > [class*="col-"]:last-child  { width: 571px; max-width: 571px; }

.dg-common-reasons__title {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 35px;
    line-height: 53px;
    color: #ffffff;
    /* Figma column total h=216: title 97 + 22 gap + text 97. Use 13 mb to net the gap (since title renders 106 with 53 lh). */
    margin: 0 0 13px;
    max-width: 540px;
}
.dg-common-reasons__text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #ffffff;
    margin: 0;
    max-width: 540px;
    /* Figma text frame reserves 97px for this paragraph */
    min-height: 97px;
}
.dg-common-reasons__list {
    list-style: disc;
    padding-left: 24px;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #ffffff;
}
.dg-common-reasons__list li { margin: 0; }

/* ============================================================
 * 8. CTA — fuchsia → magenta gradient
 * ========================================================== */
.dg-cta {
    background: linear-gradient(160.58deg, #FB0060 10.78%, #B80067 98.47%);
    padding: 41px 258px 56px 258px;
    text-align: center;
    color: #ffffff;
}
.dg-cta .container {
    max-width: 925px;
    padding: 0;
}
.dg-cta__content {
    /* Figma 22:319 frame: 145px tall (title 60 + text frame 98 with overlap = 145). */
    min-height: 145px;
    margin-bottom: 5px;
}
.dg-cta__title {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 35px;
    line-height: 53px;
    color: #ffffff;
    text-align: center;
    margin: 0;
    /* Figma title frame is 60px tall */
    min-height: 60px;
}
.dg-cta__text {
    /* Figma text frame y=58 within 145-tall content frame; frame is 98 but overlaps title.
       Net space from title bottom (60) to content bottom (145) = 85. */
    min-height: 85px;
    padding: 0;
    box-sizing: border-box;
}
.dg-cta__text,
.dg-cta__text p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #ffffff;
    text-align: center;
    margin: 0 0 0;
}
.dg-cta__btn-wrap {
    margin-top: 5px;
    display: flex;
    justify-content: center;
}
.dg-cta__btn-wrap .btn-white-pill {
    background: #ffffff;
    color: #434343;
    border: 1px solid #ffffff;
}
.dg-cta__btn-wrap .btn-white-pill:hover { background: #f6f6f6; }

/* ============================================================
 * 9. FAQ — accordion with thin dividers
 * ========================================================== */
.dg-faq {
    background: #ffffff;
    padding: 50px 0;
}
.dg-faq .container {
    padding-left: 260px;
    padding-right: 260px;
}
.dg-faq__title {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 35px;
    line-height: 53px;
    color: var(--blip-navy);
    text-align: center;
    margin: 0 0 45px;
}
.dg-faq__list {
    border-top: 1px solid var(--blip-divider);
    /* Figma list frame is 631px tall — blocks total 579, leaving 52px reserved at bottom */
    padding-bottom: 52px;
}
.dg-faq__item {
    border-bottom: 1px solid var(--blip-divider);
}
.dg-faq__question {
    margin: 0;
}
.dg-faq__question button {
    width: 100%;
    background: none;
    border: 0;
    /* Figma surface padding 16/16 + content 24 + 2x3px dividers = 62. Use 18.5 to net 62 with 1px item border */
    padding: 18.5px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    color: var(--blip-seafoam);
    transition: color .15s ease;
}
.dg-faq__item--open .dg-faq__question button {
    color: var(--blip-navy);
}
.dg-faq__question button > span:first-child {
    flex: 1 1 auto;
    min-width: 0;
}
.dg-faq__toggle {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    position: relative;
    display: inline-block;
}
.dg-faq__toggle::before,
.dg-faq__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform .2s ease, opacity .2s ease;
}
.dg-faq__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.dg-faq__item--open .dg-faq__toggle::before {
    transform: translate(-50%, -50%) rotate(45deg);
    width: 16px;
}
.dg-faq__item--open .dg-faq__toggle::after {
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 16px;
}

.dg-faq__answer {
    display: none;
    padding: 16px 24px 32px;
}
.dg-faq__item--open .dg-faq__answer { display: block; }
.dg-faq__answer p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: rgba(60, 60, 67, 0.85);
    /* Figma: paragraphs share line height with no extra margin between */
    margin: 0;
}
.dg-faq__answer p:last-child { margin-bottom: 0; }
.dg-faq__answer a {
    color: rgba(60, 60, 67, 0.85);
    text-decoration: underline;
}
.dg-faq__answer a:hover { color: var(--blip-seafoam); }

.dg-cta .btn-white-pill:hover,
.dg-cta .btn-white-pill:focus {
    color: var(--blip-navy) !important;
}

/* ============================================================
 * RESPONSIVE — collapse Figma 1440px design to tablet/mobile
 * ========================================================== */
@media (max-width: 1199.98px) {
    .dg-hero .container,
    .dg-tips .container,
    .dg-common-reasons .container { padding-left: 60px; padding-right: 60px; }
    .dg-rules__category { padding-left: 60px; padding-right: 60px; }
    .dg-tips-bar { padding-left: 60px; padding-right: 60px; }
    .dg-ideas .container { padding-left: 60px; padding-right: 60px; }
    .dg-cta { padding-left: 60px; padding-right: 60px; }
    .dg-faq .container { padding-left: 60px; padding-right: 60px; }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
    .dg-hero .container {
        padding-left: 0;
        padding-right: 0;
    }
    .dg-hero .row > [class*="col-"]:first-child {
        flex: 0 0 52% !important;
        width: 52% !important;
        max-width: 52% !important;
        padding-left: clamp(60px, 8vw, 136px);
        padding-right: 32px;
    }
    .dg-hero .row > [class*="col-"]:last-child {
        flex: 0 0 48% !important;
        width: 48% !important;
        max-width: 48% !important;
    }
    .dg-common-reasons .row {
        gap: clamp(32px, 4vw, 56px);
    }
    .dg-common-reasons .row > [class*="col-"]:first-child,
    .dg-common-reasons .row > [class*="col-"]:last-child {
        flex: 1 1 0;
        width: auto;
        max-width: none;
        min-width: 0;
    }
}

@media (max-width: 991.98px) {
    .dg-hero { padding-top: 0; }
    .dg-hero .container,
    .dg-tips .container,
    .dg-common-reasons .container,
    .dg-rules__category,
    .dg-tips-bar,
    .dg-ideas .container,
    .dg-cta,
    .dg-faq .container { padding-left: 24px; padding-right: 24px; }
    .dg-hero .container {
        padding-left: 0;
        padding-right: 0;
    }
    .dg-hero .row {
        flex-wrap: nowrap;
        height: clamp(420px, 58vw, 514px);
    }
    .dg-hero .row > [class*="col-"]:first-child {
        flex: 0 0 52% !important;
        width: 52% !important;
        max-width: 52% !important;
        padding: 48px 24px 42px clamp(32px, 7vw, 60px);
        display: flex;
        align-items: center;
    }
    .dg-hero .row > [class*="col-"]:last-child {
        flex: 0 0 48% !important;
        width: 48% !important;
        max-width: 48% !important;
    }
    .dg-hero__title { font-size: 34px; line-height: 43px; margin-bottom: 22px; }
    .dg-hero__desc,
    .dg-hero__desc p { font-size: 15px; line-height: 24px; }
    .dg-hero__desc { margin-bottom: 24px; }
    .dg-hero__btn .btn { font-size: 16px; line-height: 20px; padding: 10px 24px; }
    .dg-hero__image { height: 100%; margin-top: 0; }
    .dg-tips-bar { height: auto; padding: 24px; }
    .dg-tips-bar__title { font-size: 26px; line-height: 36px; }
    .dg-tips .row > [class*="col-"]:first-child,
    .dg-tips .row > [class*="col-"]:last-child { padding: 0; }
    .dg-tips .row > [class*="col-"]:first-child .dg-tip:last-child { margin-bottom: 33px; }
    .dg-tip__title { font-size: 22px; line-height: 1.3; }
    .dg-rules__category { padding-top: 24px; padding-bottom: 24px; }
    .dg-rules__title,
    .dg-ideas__title,
    .dg-keepinmind__title,
    .dg-common-reasons__title,
    .dg-cta__title,
    .dg-faq__title { font-size: 26px; line-height: 36px; }
    .dg-rules__category-title { font-size: 22px; line-height: 1.4; white-space: normal; }
    .dg-rules__category .row {
        flex-wrap: wrap;
        gap: 16px;
    }
    .dg-rules__category .row > [class*="col-"]:first-child,
    .dg-rules__category .row > [class*="col-"]:last-child {
        flex: 0 0 100%;
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
    .dg-rules__category .row > [class*="col-"]:first-child { margin-bottom: 16px; }
    .dg-ideas__viewer {
        width: 100%;
        max-width: 790px;
        justify-content: center;
        gap: 14px;
    }
    .dg-ideas .swiper,
    .dg-ideas__slide-img {
        width: calc(100% - 96px);
        max-width: 676px;
        flex: 1 1 auto;
    }
    .dg-ideas__slider-block { padding: 16px 24px 32px; }
    .dg-keepinmind__grid {
        grid-template-columns: 1fr;
        max-width: 449px;
    }
    .dg-common-reasons .row { flex-wrap: wrap; gap: 24px; }
    .dg-common-reasons .row > [class*="col-"]:first-child,
    .dg-common-reasons .row > [class*="col-"]:last-child { padding: 0; width: 100%; max-width: 100%; }
    .dg-cta { padding-top: 32px; padding-bottom: 32px; }
}

@media (min-width: 576px) and (max-width: 1399.98px) {
    .dg-hero .container {
        padding-left: 0;
        padding-right: 0;
    }
    .dg-hero .row {
        flex-wrap: nowrap !important;
        height: clamp(420px, 45vw, 514px);
    }
    .dg-hero .row > [class*="col-"] {
        min-width: 0;
        box-sizing: border-box;
    }
    .dg-hero .row > [class*="col-"]:first-child {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
        padding: 44px clamp(20px, 3vw, 40px) 40px clamp(36px, 7vw, 92px);
        display: flex;
        align-items: center;
    }
    .dg-hero .row > [class*="col-"]:last-child {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
    }
    .dg-hero__text {
        max-width: 100%;
    }
    .dg-hero__title {
        font-size: clamp(34px, 4.2vw, 48px);
        line-height: 1.25;
        margin-bottom: 22px;
    }
    .dg-hero__desc {
        max-width: 100%;
        margin-bottom: 24px;
    }
    .dg-hero__image {
        height: 100%;
        margin-top: 0;
    }
    .dg-tips-bar {
        height: auto;
        padding: 24px clamp(32px, 6vw, 92px);
    }
    .dg-tips-bar__title {
        font-size: clamp(26px, 4vw, 35px);
        line-height: 1.35;
        max-width: 100%;
    }
}

/* ============================================================
 * MOBILE (≤575.98px) — Figma "BDG Mobile" frame 55:145, 425px wide
 * Lane: Hero (55:368) + 5 Tips Header (55:380) only
 * ========================================================== */
@media (max-width: 575.98px) {
    /* ---- HERO (Figma 55:368) ---- */
    .dg-hero {
        padding: 0;
    }
    .dg-hero .container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
        width: 100%;
    }
    .dg-hero .row {
        flex-wrap: wrap;
        height: auto;
        margin: 0;
    }
    /* No hero image on mobile per Figma */
    .dg-hero__image,
    .dg-hero .row > [class*="col-"]:last-child {
        display: none !important;
    }
    /* Text col: full width, Figma 42px horizontal padding, 35px top padding */
    .dg-hero .row > [class*="col-"]:first-child {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 35px 42px;
        align-self: auto;
    }
    .dg-hero__text {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 24px;          /* Figma flex gap */
    }
    .dg-hero__title {
        font-family: 'Lexend', sans-serif;
        font-weight: 800;
        font-size: 48px;
        line-height: 63px;
        color: var(--blip-navy);
        margin: 0;
        width: 100%;
    }
    .dg-hero__desc,
    .dg-hero__desc p {
        font-family: 'Inter', sans-serif;
        font-size: 16px;
        line-height: 26px;
        color: var(--blip-body);
        font-weight: 400;
        max-width: 100%;
        margin: 0;
    }
    .dg-hero__btn {
        margin: 0;
    }
    .dg-hero__btn .btn {
        font-family: 'Lexend', sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 1;
        padding: 11px 30px;
        border-radius: 60px;
    }

    /* ---- 5 TIPS HEADER (Figma 55:380) — reduced font on phones so it
       doesn't dominate the viewport (Figma 35/53 wraps to 4 lines on 425) ---- */
    .dg-tips-bar {
        background: #FF0C68;
        height: auto;
        padding: 24px 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .dg-tips-bar .container {
        padding: 0;
        max-width: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .dg-tips-bar__title {
        font-family: 'Lexend', sans-serif;
        font-weight: 700;
        font-size: 24px;
        line-height: 32px;
        color: #ffffff;
        text-align: center;
        margin: 0;
        max-width: 100%;
    }
}

/* ============================================================
 * MOBILE (≤575.98px) — Lane: Mobile C
 *   - DesignIdeas (Figma frame 151:161, 425×797)
 *   - KeepInMind: hidden (not in Figma mobile)
 * ========================================================== */
@media (max-width: 575.98px) {
    /* DesignIdeas section: container 42px side padding (x=42, w=341) */
    .dg-ideas { padding: 26px 0; }
    .dg-ideas .container {
        padding-left: 42px;
        padding-right: 42px;
    }
    /* Title: 35/53 Lexend Bold, 3-line height ~159 at 341 wide */
    .dg-ideas__title {
        font-size: 35px;
        line-height: 53px;
        margin: 0 0 15px;
    }
    /* Subtitle: Inter 16/26 */
    .dg-ideas__subtitle {
        font-size: 16px;
        line-height: 26px;
        margin: 0 0 15px;
    }
    /* Card 341×188: 9px top, label h=63, group at top=81/h=67, ~40 bottom */
    .dg-ideas__slider-block {
        padding: 9px 4px 41px;
        margin-top: 0;
        border-radius: 17px;
    }
    /* Stacked cards: Figma 15px gap between cards (203 between starts − 188 height) */
    .dg-ideas .dg-ideas__slider-block + .dg-ideas__slider-block {
        margin-top: 15px;
    }
    .dg-ideas__slider-label {
        font-size: 28px;
        line-height: 63px;
        margin: 0 0 9px;
    }
    /* Viewer: full width inside card padding (4px each side → 332 in 341 card) */
    .dg-ideas__viewer {
        width: 100%;
        max-width: 100%;
        gap: 10px;
        justify-content: center;
    }
    /* Slide image 242×67 (much smaller than desktop) */
    .dg-ideas__slide-img,
    .dg-ideas .dg-ideas__slide-img {
        width: calc(100% - 72px);
        max-width: 242px;
        flex: 1 1 auto;
        border-radius: 4px;
    }
    /* Nav arrows 26×26 (smaller than desktop 34) */
    .dg-ideas__nav,
    .dg-ideas .dg-ideas__nav {
        flex: 0 0 26px;
        width: 26px;
        height: 26px;
    }

    /* KeepInMind — not present in Figma mobile, hide entire section */
    .dg-keepinmind { display: none !important; }
}

/* ============================================================
 * MOBILE (≤575.98px) — Lane: Mobile B
 *   - Tips (Figma frame 55:436, 426×1316)
 *   - Rules (Figma frame 151:118, 425×2403)
 * ========================================================== */
@media (max-width: 575.98px) {
    /* ---- TIPS (Figma 55:436): 5 cards stacked, 42px side padding, 26px between ---- */
    .dg-tips { padding: 32px 0 40px; }
    .dg-tips .container {
        padding-left: 42px;
        padding-right: 42px;
    }
    .dg-tips .row {
        --bs-gutter-x: 0;
        margin: 0;
        flex-direction: column;
    }
    .dg-tips .row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        padding: 0;
        flex: 0 0 100%;
    }
    /* Card vertical gap: 26px between, 0 after last */
    .dg-tip {
        margin-bottom: 26px;
    }
    .dg-tip:last-child { margin-bottom: 0; }
    .dg-tips .row > [class*="col-"]:first-child .dg-tip:last-child { margin-bottom: 26px; }
    .dg-tips .row > [class*="col-"]:last-child .dg-tip { margin-bottom: 26px; }
    .dg-tips .row > [class*="col-"]:last-child .dg-tip:last-child { margin-bottom: 0; }

    .dg-tip__header {
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 12px;
    }
    .dg-tip__icon {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        margin-top: 0;
    }
    .dg-tip__title {
        font-family: 'Lexend', sans-serif;
        font-weight: 700;
        font-size: 28px;
        line-height: 33px;
        color: var(--blip-seafoam);
        margin: 0;
    }
    .dg-tip__text {
        font-family: 'Inter', sans-serif;
        font-size: 16px;
        line-height: 26px;
        color: var(--blip-body);
    }

    /* ---- RULES (Figma 151:118): single column lists ---- */
    .dg-rules { padding: 40px 0; }
    .dg-rules .container { padding-left: 44px; padding-right: 44px; }
    .dg-rules__header {
        max-width: 100%;
        text-align: left;
        margin: 0 0 32px;
        padding: 0;
    }
    .dg-rules__title {
        font-size: 35px;
        line-height: 53px;
        text-align: left;
        margin: 0 0 23px;
    }
    .dg-rules__subtitle {
        font-size: 16px;
        line-height: 26px;
        text-align: left;
    }
    .dg-rules__category {
        padding: 0;
        margin-bottom: 30px;
    }
    .dg-rules__category-header {
        gap: 0;
        margin-bottom: 4px;
    }
    .dg-rules__category-title {
        font-size: 28px;
        line-height: 1.3;
        white-space: normal;
        text-align: left;
    }
    /* Hide horizontal divider line on mobile (no room) */
    .dg-rules__category-line { display: none; }
    /* Stack the two ul columns into one block flow (bypass Bootstrap row flex) */
    .dg-rules__category .row {
        display: block !important;
        margin: 0 !important;
        --bs-gutter-x: 0 !important;
        --bs-gutter-y: 0 !important;
    }
    .dg-rules__category .row > [class*="col-"] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
        min-height: 0 !important;
    }
    .dg-rules__list {
        font-size: 14px;
        line-height: 26px;
        padding-left: 21px;
        margin: 0;
    }
    .dg-rules__list li { padding: 0; margin: 0; }
}

/* ============================================================
 * MOBILE (≤575.98px) — Lane: Mobile D
 *   - CommonReasons (Figma 151:176, 425×626)
 *   - CTA          (Figma 151:187, 425×378)
 *   - FAQ          (Figma 151:282, 425×1332)
 * ========================================================== */
@media (max-width: 575.98px) {
    /* ---- COMMON REASONS (Figma 151:176): single column, navy ---- */
    .dg-common-reasons { padding: 31px 0 35px; }
    .dg-common-reasons .container {
        padding-left: 44px;
        padding-right: 44px;
    }
    .dg-common-reasons .row {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 22px;
        margin: 0;
    }
    .dg-common-reasons .row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        padding: 0;
        flex: 0 0 100%;
    }
    .dg-common-reasons__title {
        font-size: 35px;
        line-height: 53px;
        max-width: 100%;
        margin: 0 0 20px;
    }
    .dg-common-reasons__text {
        font-size: 16px;
        line-height: 26px;
        max-width: 100%;
    }
    .dg-common-reasons__list {
        font-size: 16px;
        line-height: 26px;
        padding-left: 24px;
    }

    /* ---- CTA (Figma 151:187): gradient pill, full-width contact button ---- */
    .dg-cta {
        padding: 25px 44px 35px;
    }
    .dg-cta .container {
        max-width: 100%;
        padding: 0;
    }
    .dg-cta__content { margin: 0; }
    .dg-cta__title {
        font-size: 35px;
        line-height: 53px;
        margin: 0 0 5px;
    }
    .dg-cta__text,
    .dg-cta__text p {
        font-size: 16px;
        line-height: 26px;
    }
    .dg-cta__btn-wrap {
        margin-top: 19px;
        justify-content: center;
    }
    .dg-cta__btn-wrap .btn {
        width: 312px;
        max-width: 100%;
    }

    /* ---- FAQ (Figma 151:282): same accordion, full-width items ---- */
    .dg-faq { padding: 32px 0 0; }
    .dg-faq .container {
        padding-left: 42px;
        padding-right: 42px;
    }
    .dg-faq__title {
        font-size: 35px;
        line-height: 53px;
        text-align: left;
        margin: 0 0 32px;
    }
    .dg-faq__list { border-top: 1px solid var(--blip-divider); }
    .dg-faq__question button {
        font-size: 18px;
        line-height: 1.2;
        padding: 16px 0;
        gap: 16px;
    }
    .dg-faq__toggle {
        flex: 0 0 24px;
        width: 24px;
        height: 24px;
    }
    .dg-faq__answer {
        padding: 16px 24px 32px;
    }
    .dg-faq__answer p {
        font-size: 16px;
        line-height: 26px;
    }
}
