/* Premium v1, 0.0134. Scoped to this variant; no changes to the other eight layouts. */
.eocrm-template-modern-v7 {
    --offer-navy:#1a1d23;
    --offer-blue:#2f8f3d;
    --offer-muted:#68758a;
    --offer-line:#dfe6ef;
    --offer-soft:#f5f7f9;
    --offer-shadow:0 12px 30px rgba(15,23,42,.07);
    color:var(--offer-navy);
    background:#f5faff;
    font-family:Inter,"Segoe UI",system-ui,sans-serif;
    font-size:14px;
    line-height:1.65;
}
.eocrm-template-modern-v7 .eocrm-offer-topbar { font-size:13px; margin-bottom:18px; }
.eocrm-template-modern-v7 .eocrm-offer-topbar a { color:#2f3a4e; }
.eocrm-template-modern-v7 .eocrm-premium-v7 {
    padding:22px;
    border:1px solid var(--offer-line);
    border-radius:16px;
    background:#fff;
}
.eocrm-template-modern-v7 .eocrm-premium-page-heading { padding:0 12px 32px; text-align:center; }
.eocrm-template-modern-v7 .eocrm-premium-page-heading h1 {
    margin:0; color:#0d3154; font-size:clamp(32px,4.5vw,64px); line-height:1.12; letter-spacing:0;
    font-family:"Cormorant Garamond",Georgia,serif; font-weight:600; overflow-wrap:anywhere;
}
.eocrm-template-modern-v7 .eocrm-premium-layout {
    display:grid; grid-template-columns:minmax(0,2fr) minmax(300px,1fr); gap:22px;
    align-items:start; padding:18px; border-radius:10px; background:#fafbfc;
}
.eocrm-template-modern-v7 .eocrm-premium-main,
.eocrm-template-modern-v7 .eocrm-premium-body,
.eocrm-template-modern-v7 .eocrm-premium-sidebar { display:grid; min-width:0; gap:18px; align-content:start; }
.eocrm-template-modern-v7 .eocrm-premium-sidebar { gap:16px; }
.eocrm-template-modern-v7 .eocrm-premium-intro { min-width:0; }
.eocrm-template-modern-v7 .eocrm-offer-gallery-main { min-height:0; aspect-ratio:25/14; border-radius:8px; box-shadow:none; }
.eocrm-template-modern-v7 .eocrm-offer-gallery-nav { color:#10223d; background:rgba(255,255,255,.95); border:0; box-shadow:0 8px 20px rgba(15,23,42,.15); }
.eocrm-template-modern-v7 .eocrm-offer-gallery-nav:hover { background:#2f3a4e; color:#fff; }
.eocrm-template-modern-v7 .eocrm-offer-gallery-counter { left:16px; right:auto; bottom:16px; padding:5px 10px; color:#10223d; background:rgba(255,255,255,.95); }
.eocrm-template-modern-v7 .eocrm-offer-gallery-thumbs { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; padding:2px; overflow:visible; }
.eocrm-template-modern-v7 .eocrm-offer-gallery-thumbs button { width:100%; min-width:0; aspect-ratio:1.4; border-radius:8px; opacity:1; }
.eocrm-template-modern-v7 .eocrm-offer-gallery-thumbs button[aria-selected=true] { border-color:var(--offer-blue); box-shadow:0 0 0 1px var(--offer-blue); }
.eocrm-template-modern-v7 .eocrm-offer-gallery-progress { display:none; }
.eocrm-template-modern-v7 .eocrm-premium-title-block { margin:22px 0; }
.eocrm-template-modern-v7 .eocrm-premium-status { display:inline-flex; padding:3px 10px; border-radius:999px; background:#eaf3eb; color:#276f32; font-size:12px; font-weight:800; text-transform:uppercase; }
.eocrm-template-modern-v7 .eocrm-premium-title-block h2 { margin:8px 0 10px; font-family:"Cormorant Garamond",Georgia,serif; font-size:38px; font-weight:600; line-height:1.12; overflow-wrap:anywhere; }
.eocrm-template-modern-v7 .eocrm-offer-location { align-items:flex-start; font-size:14px; }
.eocrm-template-modern-v7 .eocrm-offer-location span:last-child { min-width:0; overflow-wrap:anywhere; }
.eocrm-template-modern-v7 .eocrm-offer-facts.is-premium-facts { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; margin:0; }
.eocrm-template-modern-v7 .is-premium-facts>div { display:flex; align-items:flex-start; flex-direction:column; gap:6px; padding:14px; border-radius:8px; min-width:0; }
.eocrm-template-modern-v7 .is-premium-facts .eocrm-offer-icon { width:22px; height:22px; }
.eocrm-template-modern-v7 .is-premium-facts strong { font-size:16px; line-height:1.25; overflow-wrap:anywhere; }
.eocrm-template-modern-v7 .is-premium-facts small { font-size:12px; line-height:1.3; }
.eocrm-template-modern-v7 .eocrm-offer-card { min-width:0; padding:22px; border:1px solid var(--offer-line); border-radius:8px; box-shadow:var(--offer-shadow); }
.eocrm-template-modern-v7 .eocrm-offer-card>h2 { margin:0 0 16px; font-family:"Cormorant Garamond",Georgia,serif; font-size:22px; font-weight:600; line-height:1.25; }
.eocrm-template-modern-v7 .eocrm-offer-card>h2 .eocrm-offer-icon { color:#30343a; }
.eocrm-template-modern-v7 .eocrm-offer-definition-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 24px; }
.eocrm-template-modern-v7 .eocrm-offer-definition-list>div { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; padding:10px 0; align-items:start; }
.eocrm-template-modern-v7 .eocrm-offer-definition-list dt,
.eocrm-template-modern-v7 .eocrm-offer-definition-list dd { font-size:14px; line-height:1.55; overflow-wrap:anywhere; }
.eocrm-template-modern-v7 .eocrm-offer-icon-list { display:flex; flex-wrap:wrap; gap:10px 20px; }
.eocrm-template-modern-v7 .eocrm-offer-icon-list li { padding:0; border-radius:0; background:transparent; font-size:14px; font-weight:400; }
.eocrm-template-modern-v7 .eocrm-offer-description { color:#364152; font-size:15px; line-height:1.8; overflow-wrap:anywhere; }
.eocrm-template-modern-v7 .eocrm-premium-price-card .eocrm-offer-price { min-width:0; gap:5px; margin:14px 0 18px; }
.eocrm-template-modern-v7 .eocrm-premium-price-card strong { color:#364152; font-family:inherit; font-size:clamp(26px,2.55vw,36px); font-weight:900; line-height:1.15; overflow-wrap:anywhere; }
.eocrm-template-modern-v7 .eocrm-premium-price-card .eocrm-offer-price span { font-size:15px; font-weight:700; }
.eocrm-template-modern-v7 .public-button.is-primary { display:flex; justify-content:center; width:100%; min-height:42px; padding:10px 14px; border:1px solid #2f3a4e; border-radius:7px; background:#2f3a4e; color:#fff; box-shadow:none; font-size:13px; font-weight:700; text-align:center; white-space:normal; }
.eocrm-template-modern-v7 .public-button.is-primary:hover { background:#1e293b; border-color:#1e293b; }
.eocrm-template-modern-v7 a:focus-visible,
.eocrm-template-modern-v7 button:focus-visible { outline:3px solid #2f8f3d; outline-offset:3px; }
.eocrm-template-modern-v7 .is-premium-agent,
.eocrm-template-modern-v7 .eocrm-offer-contact { padding:18px; }
.eocrm-template-modern-v7 .eocrm-premium-agent-row { display:grid; grid-template-columns:86px minmax(0,1fr); gap:14px; align-items:center; }
.eocrm-template-modern-v7 .eocrm-premium-agent-photo { display:block; width:86px; height:86px; border-radius:50%; object-fit:cover; background:#eef2f7; }
.eocrm-template-modern-v7 .eocrm-premium-agent-photo.is-placeholder { display:grid; place-items:center; font-size:30px; color:#526276; }
.eocrm-template-modern-v7 .eocrm-premium-agent-copy { min-width:0; }
.eocrm-template-modern-v7 .eocrm-premium-agent-copy h3 { font-family:inherit; font-size:18px; font-weight:600; line-height:1.35; overflow-wrap:anywhere; }
.eocrm-template-modern-v7 .eocrm-premium-agent-copy p { margin:3px 0; font-size:12px; color:var(--offer-muted); overflow-wrap:anywhere; }
.eocrm-template-modern-v7 .eocrm-offer-agent-links { margin-top:8px; gap:7px; }
.eocrm-template-modern-v7 .eocrm-offer-agent-links a { min-width:0; align-items:flex-start; padding:0; background:transparent; color:#526276; border-radius:0; font-size:13px; font-weight:400; }
.eocrm-template-modern-v7 .eocrm-offer-agent-links a span:last-child { min-width:0; overflow-wrap:anywhere; }
.eocrm-template-modern-v7 .eocrm-offer-contact { scroll-margin-top:140px; }
.eocrm-template-modern-v7 .eocrm-offer-contact form { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.eocrm-template-modern-v7 .eocrm-offer-contact form>label { min-width:0; font-size:12px; font-weight:500; }
.eocrm-template-modern-v7 .eocrm-offer-contact form>label:nth-of-type(5),
.eocrm-template-modern-v7 .eocrm-offer-contact form>.eocrm-offer-consent,
.eocrm-template-modern-v7 .eocrm-offer-contact form>button,
.eocrm-template-modern-v7 .eocrm-offer-contact form>small { grid-column:1/-1; }
.eocrm-template-modern-v7 .eocrm-offer-contact input,
.eocrm-template-modern-v7 .eocrm-offer-contact textarea { min-width:0; border-radius:6px; background:#fff; font-size:14px; }
.eocrm-template-modern-v7 .eocrm-offer-contact input:not([type=checkbox]) { min-height:42px; }
.eocrm-template-modern-v7 .eocrm-offer-supplemental-grid { grid-template-columns:1fr; }
@media(max-width:1180px) {
    .eocrm-template-modern-v7 .eocrm-offer-facts.is-premium-facts { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .eocrm-template-modern-v7 .eocrm-offer-definition-list { grid-template-columns:1fr; }
}
@media(max-width:920px) {
    .eocrm-template-modern-v7 .eocrm-premium-layout { display:flex; flex-direction:column; }
    .eocrm-template-modern-v7 .eocrm-premium-main,
    .eocrm-template-modern-v7 .eocrm-premium-sidebar { display:contents; }
    .eocrm-template-modern-v7 .eocrm-premium-intro { width:100%; order:0; }
    .eocrm-template-modern-v7 .eocrm-premium-price-card { width:100%; order:1; }
    .eocrm-template-modern-v7 .eocrm-premium-body { width:100%; order:2; }
    .eocrm-template-modern-v7 .is-premium-agent { width:100%; order:3; }
    .eocrm-template-modern-v7 .eocrm-offer-contact { width:100%; order:4; }
    .eocrm-template-modern-v7 .eocrm-premium-price-card strong { font-size:32px; }
}
@media(max-width:600px) {
    .eocrm-template-modern-v7 .eocrm-premium-v7 { padding:12px; }
    .eocrm-template-modern-v7 .eocrm-premium-layout { padding:0; gap:16px; }
    .eocrm-template-modern-v7 .eocrm-premium-page-heading { padding:8px 0 24px; }
    .eocrm-template-modern-v7 .eocrm-premium-page-heading h1 { font-size:32px; }
    .eocrm-template-modern-v7 .eocrm-premium-title-block h2 { font-size:30px; }
    .eocrm-template-modern-v7 .eocrm-offer-gallery-main { aspect-ratio:4/3; }
    .eocrm-template-modern-v7 .eocrm-offer-gallery-thumbs { gap:6px; }
    .eocrm-template-modern-v7 .eocrm-offer-gallery-thumbs button { aspect-ratio:1; }
    .eocrm-template-modern-v7 .eocrm-offer-facts.is-premium-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
    .eocrm-template-modern-v7 .eocrm-offer-card { padding:18px; }
    .eocrm-template-modern-v7 .eocrm-offer-media-links { grid-template-columns:1fr; }
}
@media(max-width:380px) {
    .eocrm-template-modern-v7 .eocrm-premium-agent-row { grid-template-columns:64px minmax(0,1fr); gap:10px; }
    .eocrm-template-modern-v7 .eocrm-premium-agent-photo { width:64px; height:64px; }
    .eocrm-template-modern-v7 .eocrm-offer-contact form { grid-template-columns:1fr; }
}
