/* =====================================================================
   Meet Greek Singles - the Premium membership page (upgrade.php), milestone 3.
   One file for both templates: the Impact template links it from upgrade.html, and so does the phone template
   ({url_tmpl}main/mgs_impact/css/mgs-premium.css). Everything is scoped under .mgs-prem.
   Colours and fonts are the member area's (--mgs-* in css/mgs-member.css); the page's own names are --mp-*.
   Markup: upgrade.html and mgs_pricing.html (terms, boxes), MgsPremiumPage (hero, notice, cards, secure payments, features, "more than", points, Greek Kafenio).
   The page runs the full width of the screen, for her banner; the sections under it keep to 1120px (.mgs-prem-plans and the rule after it).
   2026-11-10 (the user, against Irene's mock-up "Premium Greek Singles Membership (1)"): the texts darker and heavier (her text is near-black navy),
   the plan cards more compact, rings and lines in deep gold and thicker, the three points with serif headings, the features' heading between gold lines.
   ===================================================================== */

.mgs-prem {
  --mp-navy: #002954;
  --mp-navy-deep: #001a3a;
  --mp-blue: #083068;
  --mp-gold: #e3b559;
  --mp-gold-deep: #d4a548;
  --mp-gold-text: #8f6420;
  --mp-cream: #fefcf8;
  --mp-cream-2: #f8f3ea;
  --mp-line: #e6dcc6;
  --mp-ink: #14244a;
  --mp-text: #10224a;   /* paragraphs: near-black navy, weight 600 (550 in the long billing list), as in her mock-up */
  --mp-ring: linear-gradient(155deg, #ffd981 0%, #f2b13a 45%, #d48d16 100%);   /* the icons' gold rings (the homepage cards' too) */
  --mp-sky: #e6f0fb;
  --mp-serif: var(--mgs-serif, "Noto Serif Display", Georgia, "Times New Roman", serif);
  --mp-sans: var(--mgs-sans, "Manrope", "Segoe UI", Roboto, Arial, sans-serif);
  box-sizing: border-box;
  padding: 0 0 40px;
  font-family: var(--mp-sans);
  color: var(--mp-ink);
  line-height: 1.5;
}
.mgs-prem *, .mgs-prem *::before, .mgs-prem *::after { box-sizing: border-box; }
.mgs-prem :where(h1, h2, h3, p, ul, li) { margin: 0; padding: 0; list-style: none; }
.mgs-prem :where(h1, h2, h3) { font-family: var(--mp-serif); font-weight: 700; color: var(--mp-blue); letter-spacing: 0; text-wrap: balance; }
.mgs-prem .mgs-prem-vendor { display: none !important; }
.mgs-prem svg { display: block; flex: none; }

/* ---------- the central column (desktop): the full width and plain on this page; upgrade.html adds the two classes with a line of script ---------- */
body.mgs-area .content .cont_w.mgs-prem-full { width: auto; max-width: none; margin: 0; }
body.mgs-area .column_main.mgs-prem-wide {
  width: auto; max-width: none; margin: 0; background: transparent !important; border: 0; box-shadow: none; border-radius: 0;
}
body.mgs-area .column_main.mgs-prem-wide .col_center { padding: 0; }
body.mgs-area .column_main.mgs-prem-wide .col_center .cont.mgs-prem { padding: 0 0 40px; background: none; border: 0; box-shadow: none; }
/* the two 193px side columns have no place beside a page of the full width: it stands on its own (the top bar holds the way back) */
body.mgs-area .column_main.mgs-prem-wide .col.left,
body.mgs-area .column_main.mgs-prem-wide .col.right { display: none !important; }

/* the order summary beside the payment card: Impact leaves it without a background (made for a dark overlay), so over the photo it could not be read */
body.mgs-area #pp_payment .info_profile_upgraded { background: #002954; border-radius: 0 3px 3px 0; color: #fff; }
body.mgs-area #pp_payment .info_profile_upgraded .bl { padding: 24px 20px; }
body.mgs-area #pp_payment .info_profile_upgraded .bl .name span,
body.mgs-area #pp_payment .info_profile_upgraded .bl p { color: #d6dfeb; }
body.mgs-area #pp_payment .info_profile_upgraded .bl p { font-size: 12px; line-height: 1.5; }
body.mgs-area #pp_payment .info_profile_upgraded .bl .price { font-size: 14px; }

/* ---------- the express request: the tick box of the payment pop-up (desktop, outside .mgs-prem) and of the sheet before payment (phone) ---------- */
.mgs-prem-express { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; text-align: left; font-size: 13px; line-height: 1.45; font-weight: 500; color: #26303f; cursor: pointer; }
.mgs-prem-express input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #002954; cursor: pointer; }
a.mgs-prem-express-link { display: block; margin: 0 0 14px 28px; text-align: left; font-size: 13px; font-weight: 700; color: #0a4a92; text-decoration: underline; text-underline-offset: 3px; }
#pp_payment .mgs-prem-express { margin: 14px 26px 6px; }
#pp_payment a.mgs-prem-express-link { margin: 0 26px 14px 54px; }
#pp_payment .mgs-prem-express span, .mgs-prem-express span { display: block; width: auto; height: auto; margin: 0; padding: 0; font: inherit; color: inherit; text-align: left; }
#pp_payment #pp_payment_proceed:disabled { opacity: .55; cursor: default; }
.mgs-prem-sheet[hidden] { display: none; }
.mgs-prem-sheet { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 26, 58, .6); }
.mgs-prem-sheet__box { width: 100%; max-width: 380px; padding: 22px 20px 16px; background: var(--mp-cream); border: 1.5px solid var(--mp-gold); border-radius: 14px; box-shadow: 0 10px 28px rgba(0, 26, 58, .3); }
.mgs-prem-sheet__plan { font-family: var(--mp-serif); font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--mp-blue); }
.mgs-prem-sheet__total { margin-top: 4px; font-weight: 700; font-size: 16px; color: var(--mp-navy); }
.mgs-prem-sheet__renew { margin: 6px 0 14px; font-size: 14px; color: var(--mp-navy); }
.mgs-prem .mgs-prem-choose-go { display: block; width: 100%; padding: 14px 18px; border: 0; border-radius: 999px; cursor: pointer; background: var(--mp-navy); color: #fff; font: 700 16px/1.2 var(--mp-sans); box-shadow: inset 0 0 0 2px var(--mp-gold); }
.mgs-prem .mgs-prem-choose-go:disabled { opacity: .5; cursor: default; }
.mgs-prem .mgs-prem-sheet__no { display: block; width: 100%; margin-top: 6px; padding: 10px; border: 0; background: none; color: var(--mp-navy); font: 600 15px/1.2 var(--mp-sans); cursor: pointer; }

/* ---------- hero ---------- */
/* Her photo (Sunset Romance Over the Acropolis, 1881x836, its sunset softened by _local/pages/grade_premium_hero.py) from edge to edge: the couple stays on
   the left, the text sits on the sky on the right, as in her design. The photo is held by its top, so the whole sky shows; the cards start under it (her
   PDF of 2026-11-06). The text box carries its own soft glow (::before): it stays inside the box at every width, the couple and the Acropolis stay clear;
   the text is navy on it (contrast checked, see test_public_pages.py). */
.mgs-prem-hero {
  position: relative;
  min-height: clamp(440px, 33vw, 620px);
  overflow: hidden;
  background: #eebfa8;
  display: flex;
  align-items: flex-start;
}
.mgs-prem-hero-bg, .mgs-prem-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mgs-prem-hero-bg img { object-fit: cover; object-position: 30% 0; }
.mgs-prem-hero-text { position: relative; z-index: 1; width: 41.5%; min-width: 400px; max-width: 580px; margin-left: 58.5%; padding: 28px 24px 44px 0; color: var(--mp-navy-deep); }
.mgs-prem-hero-text::before {
  content: ""; position: absolute; z-index: -1; top: 6px; right: -18px; bottom: -44px; left: -44px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 247, 233, .82) 0%, rgba(255, 247, 233, .74) 58%, rgba(255, 247, 233, 0) 100%);
}
.mgs-prem-eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .14em; color: #2f1e05; text-transform: uppercase; }
.mgs-prem-hero h1 { margin: 6px 0 12px; font-size: clamp(34px, 3.2vw, 44px); line-height: 1.1; color: var(--mp-blue); }
.mgs-prem-divider { display: flex; align-items: center; gap: 8px; color: #d99a1e; width: 170px; margin: 0 0 16px; }
.mgs-prem-divider i { flex: 1; height: 2.5px; border-radius: 2px; background: #e0a42c; }
.mgs-prem-subtitle { font-family: var(--mp-serif); font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--mp-navy-deep); margin-bottom: 10px; }
/* a glow around the letters themselves: on narrower screens the last lines reach the hills, and the big veil is not to spread there */
/* (Irene, 2026-11-09: easier to read over the sunset) the title and the sub-title get the same light halo, and the intro a little more of it; the photo itself is untouched */
.mgs-prem-eyebrow, .mgs-prem-hero h1, .mgs-prem-subtitle, .mgs-prem-intro { text-shadow: 0 0 5px rgba(255, 247, 233, .95), 0 0 12px rgba(255, 247, 233, .85); }
.mgs-prem-intro { text-shadow: 0 0 4px rgba(255, 247, 233, 1), 0 0 10px rgba(255, 247, 233, .95), 0 0 20px rgba(255, 247, 233, .8); }
.mgs-prem-intro { font-size: 17px; line-height: 1.55; font-weight: 600; color: #10203f; }

/* ---------- notice ---------- */
.mgs-prem-plans { position: relative; z-index: 2; margin-top: 44px; }
.mgs-prem-plans, .mgs-prem-features, .mgs-prem-more, .mgs-prem-points, .mgs-prem-kafenio, .mgs-prem-boxes { width: min(1120px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.mgs-prem-notice {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px;
  margin: 0 auto 22px; max-width: 760px; padding: 12px 20px;
  background: var(--mp-cream); border: 1.5px solid var(--mp-gold); border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 26, 58, .22); text-align: center; color: var(--mp-navy);
  font-weight: 600; font-size: 15px;
}
.mgs-prem .mgs-prem-manage {
  display: inline-block; padding: 8px 20px; border-radius: 999px; background: var(--mp-navy); color: #fff;
  font-weight: 700; font-size: 14px; text-decoration: none; border: 2px solid var(--mp-gold);
}
.mgs-prem .mgs-prem-manage:hover { background: var(--mgs-blue-600, #0a4a92); color: #fff; }

/* ---------- plan cards ---------- */
.mgs-prem-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.mgs-prem-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 22px 22px 20px; background: var(--mp-cream); border: 1.5px solid #e8b54a; border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(243, 192, 84, .22), 0 0 18px rgba(240, 180, 60, .22), 0 10px 24px rgba(0, 26, 58, .12);
}
.mgs-prem-badge {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 7px 28px; background: linear-gradient(180deg, var(--mgs-gold-300, #f3c054), var(--mp-gold-deep));
  color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .08em; border-radius: 6px; text-transform: uppercase;
  box-shadow: 0 3px 8px rgba(143, 100, 32, .35);
}
.mgs-prem-plan { font-variant-numeric: lining-nums; font-size: 25px; line-height: 1.2; text-transform: uppercase; }
.mgs-prem-tag { margin: 4px 0 8px; font-size: 16.5px; line-height: 1.35; font-weight: 600; color: var(--mp-text); min-height: 2.7em; }
.mgs-prem-price { font-family: var(--mp-serif); font-weight: 700; font-size: 50px; line-height: 1.05; font-variant-numeric: lining-nums; color: var(--mp-blue); }
.mgs-prem-month { margin: 4px 0 12px; font-size: 16.5px; line-height: 1.35; font-weight: 600; color: var(--mp-text); }
.mgs-prem-month span { display: block; font-size: 15px; font-weight: 500; color: #34435f; }
.mgs-prem .mgs-prem-choose {
  display: block; width: 100%; margin-top: auto; padding: 13px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--mp-navy); color: #fff; font: 700 17px/1.2 var(--mp-sans); text-transform: capitalize; box-shadow: inset 0 0 0 2px #f1c554, 0 4px 10px rgba(0, 26, 58, .18);
  transition: background .15s;
}
.mgs-prem .mgs-prem-choose:hover { background: var(--mgs-blue-600, #0a4a92); }
html[lang="el"] .mgs-prem .mgs-prem-choose { font-size: 16px; padding-left: 12px; padding-right: 12px; }   /* the Greek button text is a third longer: one line on a wide screen */
.mgs-prem .mgs-prem-choose:disabled { opacity: .6; cursor: default; }
.mgs-prem-terms { margin: 20px auto 0; max-width: 800px; text-align: center; font-size: 14px; line-height: 1.55; font-weight: 500; color: #2c3a55; }

/* ---------- secure payments: directly under the plans (Irene, 2026-11-09): text and logo(s) inside one gold frame, a thin gold line between them ---------- */
.mgs-prem-secure { display: flex; align-items: center; gap: 24px; margin-top: 28px; padding: 22px 34px 22px 28px; background: var(--mp-cream); border: 1.5px solid #e8b54a; border-radius: 14px; box-shadow: 0 0 16px rgba(240, 180, 60, .16); }
.mgs-prem-secure-text { flex: 1; min-width: 0; }
.mgs-prem-secure h2 { font-size: 24px; line-height: 1.25; margin-bottom: 4px; }
.mgs-prem-secure p { font-size: 16.5px; line-height: 1.5; font-weight: 600; color: var(--mp-text); }
/* her padlock is solid navy with a light keyhole, in a gold ring */
.mgs-prem-secure .mgs-prem-ico { width: 66px; height: 66px; }
.mgs-prem-secure .mgs-prem-ico svg { width: 36px; height: 36px; }
.mgs-prem-secure .mgs-prem-ico rect { fill: currentColor; }
.mgs-prem-secure .mgs-prem-ico circle { fill: #fdf3dc; stroke: none; }
/* the divider is the logos' own left border; it is not the full height of the frame, as in her mock-up (the margins keep it short) */
.mgs-prem-secure-logos { flex: none; align-self: stretch; display: flex; align-items: center; gap: 26px; margin: 2px 0; padding-left: 34px; border-left: 2px solid #e0a42c; }
.mgs-prem-secure-logos img { display: block; width: auto; height: 54px; mix-blend-mode: multiply; }   /* the PayPal file has a white ground: it takes the cream of the frame */
.mgs-prem-secure-logos img + img { height: 40px; }

/* ---------- features ---------- */
.mgs-prem-features { margin-top: 44px; text-align: center; }
.mgs-prem-features h2, .mgs-prem-more h2 { font-size: 34px; line-height: 1.2; }
/* her heading stands between two gold lines that fade out to the sides */
.mgs-prem-features h2 { display: flex; align-items: center; justify-content: center; gap: 26px; font-size: 40px; white-space: nowrap; }   /* the lines give way, the words do not */
.mgs-prem-features h2::before, .mgs-prem-features h2::after { content: ""; flex: 0 1 200px; min-width: 0; height: 2.5px; border-radius: 2px; background: linear-gradient(90deg, rgba(224, 164, 44, 0), #e0a42c 70%); }
.mgs-prem-features h2::after { background: linear-gradient(270deg, rgba(224, 164, 44, 0), #e0a42c 70%); }
.mgs-prem-lead { margin: 10px auto 26px; max-width: 680px; font-size: 17.5px; line-height: 1.5; font-weight: 600; color: var(--mp-text); }
.mgs-prem-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; text-align: left; }
.mgs-prem-feature { display: flex; align-items: center; gap: 18px; padding: 8px 0 9px; }
.mgs-prem-ico, .mgs-prem-pico { color: #0a2a60; }
.mgs-prem-ico {
  flex: none; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 2.5px solid transparent; box-shadow: 0 4px 10px rgba(196, 136, 36, .16);
  background: radial-gradient(circle at 50% 38%, #fffaf1 0%, #fcefd9 70%, #f7e3c0 100%) padding-box, var(--mp-ring) border-box;
}
.mgs-prem-feature .mgs-prem-ico svg { width: 33px; height: 33px; stroke-width: 2; }
.mgs-prem-feature h3 { font-size: 21px; line-height: 1.25; margin: 1px 0 3px; }
.mgs-prem-feature p { font-size: 16.5px; line-height: 1.45; font-weight: 600; color: var(--mp-text); text-wrap: pretty; }

/* ---------- more than a Premium membership ---------- */
.mgs-prem-more {
  display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); margin-top: 40px;
  background: var(--mp-cream); border: 1px solid var(--mp-line); border-radius: 14px; overflow: hidden;
}
.mgs-prem-more-img { position: relative; min-height: 300px; }
.mgs-prem-more-img picture, .mgs-prem-more-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mgs-prem-more-img img { object-fit: cover; }
.mgs-prem-more-text { padding: 30px 28px 30px 32px; }
.mgs-prem-more h2 { font-size: 32px; }
.mgs-prem-more .mgs-prem-divider { margin: 10px 0 14px; }
.mgs-prem-more-text > p { font-size: 16.5px; line-height: 1.55; font-weight: 600; color: var(--mp-text); margin-bottom: 12px; }
.mgs-prem-callout {
  display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 18px; background: var(--mp-sky); border-radius: 8px;
}
.mgs-prem-callout p { font-family: var(--mp-serif); font-weight: 700; font-size: 18.5px; line-height: 1.4; color: #0a2a60; }

/* ---------- three points ---------- */
.mgs-prem-points { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; padding: 26px 10px; background: var(--mp-sky); border-radius: 14px; }
.mgs-prem-point { display: flex; align-items: flex-start; gap: 16px; padding: 4px 26px; }
.mgs-prem-point + .mgs-prem-point { border-left: 1px solid #c5d8ee; }
.mgs-prem-pico { flex: none; color: var(--mp-blue); }
.mgs-prem-pico svg { width: 50px; height: 50px; stroke-width: 1.5; }
.mgs-prem-point h3 { font-family: var(--mp-serif); font-size: 20px; line-height: 1.25; font-weight: 700; color: #0a2a60; margin-bottom: 3px; }   /* serif, as in her mock-up */
.mgs-prem-point p { font-size: 15.5px; line-height: 1.45; font-weight: 600; color: var(--mp-text); text-wrap: pretty; }

/* ---------- Greek Kafenio: a community feature, a section of its own directly after the Premium features (Irene, 2026-11-09) ---------- */
.mgs-prem-kafenio { display: flex; align-items: center; gap: 26px; margin-top: 40px; padding: 26px 32px; background: var(--mp-cream); border: 1.5px solid #e8b54a; border-radius: 14px; box-shadow: 0 0 16px rgba(240, 180, 60, .16); }
/* her kafenio illustration (2026-11-10, instead of the coffee icon): flat top against the banner's top edge, like on the homepage card; its bottom fades out */
.mgs-prem-kart { flex: none; align-self: flex-start; display: block; width: 250px; margin: -26px 0 -26px -8px; }
.mgs-prem-kart img { display: block; width: 100%; height: auto; }
.mgs-prem-kafenio-text { flex: 1; min-width: 0; }
.mgs-prem-kafenio h2 { font-size: 29px; line-height: 1.2; margin-bottom: 6px; }
.mgs-prem-kafenio p { font-size: 17px; line-height: 1.55; font-weight: 600; color: var(--mp-text); }
.mgs-prem a.mgs-prem-kbtn {
  flex: none; padding: 15px 30px; border-radius: 999px; background: var(--mp-navy); color: #fff; text-align: center; text-decoration: none;
  font: 700 17.5px/1.2 var(--mp-sans); box-shadow: inset 0 0 0 2px #f1c554, 0 4px 10px rgba(0, 26, 58, .18); transition: background .15s;
}
.mgs-prem a.mgs-prem-kbtn:hover { background: var(--mgs-blue-600, #0a4a92); color: #fff; }

/* ---------- narrower screens ---------- */
/* under 1300px the photo is smaller and the text box reaches the hills: smaller type, and the glow stays in the box but is firmer */
@media (max-width: 1300px) {
  .mgs-prem-hero-text { padding-top: 20px; }
  .mgs-prem-hero-text::before { top: 0; background: radial-gradient(closest-side, rgba(255, 247, 233, .92) 0%, rgba(255, 247, 233, .86) 66%, rgba(255, 247, 233, 0) 100%); }
  .mgs-prem-subtitle { font-size: 18px; margin-bottom: 8px; }
  .mgs-prem-intro { font-size: 15px; line-height: 1.5; }
  .mgs-prem-divider { margin-bottom: 12px; }
}
/* under 1200px the last lines lie on the hills and the Acropolis: a soft-edged panel covers the whole text, corners too; the photo moves left, off the box */
@media (max-width: 1200px) {
  .mgs-prem-hero-bg img { object-position: 60% 0; }
  .mgs-prem-hero-text::before { top: 14px; right: 6px; bottom: 36px; left: -8px; border-radius: 40px; background: rgba(255, 247, 233, .8); filter: blur(20px); }
}
@media (max-width: 1060px) {
  .mgs-prem-plans, .mgs-prem-features, .mgs-prem-more, .mgs-prem-points, .mgs-prem-kafenio, .mgs-prem-boxes { width: calc(100% - 32px); }
  .mgs-prem-hero-text { margin-left: auto; }
  .mgs-prem-cards { gap: 16px; }
  .mgs-prem-card { padding-left: 14px; padding-right: 14px; }
  .mgs-prem .mgs-prem-choose { font-size: 15.5px; padding: 12px 10px; }
  .mgs-prem-badge { padding: 7px 14px; font-size: 13px; letter-spacing: .04em; }   /* the Greek «ΔΗΜΟΦΙΛΕΣΤΕΡΗ ΕΠΙΛΟΓΗ» (2026-11-10) fits the narrow cards */
  .mgs-prem-features h2 { gap: 16px; }
  .mgs-prem-cols { gap: 0 32px; }
  .mgs-prem-point { padding: 4px 14px; }
  /* the banner: picture on the left, text with the button under it on the right (a row of three is too tight here) */
  .mgs-prem-kafenio { display: grid; grid-template-columns: 210px minmax(0, 1fr); grid-template-areas: "art text" "art btn"; gap: 12px 24px; align-items: start; }
  .mgs-prem-kart { grid-area: art; width: 210px; margin: -26px 0 -26px -8px; }
  .mgs-prem-kafenio-text { grid-area: text; }
  .mgs-prem a.mgs-prem-kbtn { grid-area: btn; justify-self: start; }
}
@media (max-width: 760px) {
  .mgs-prem { padding-bottom: 24px; }
  /* phone: the photo on top, in full colour; the text on navy under it (white on navy), the cards under the banner */
  .mgs-prem-hero { min-height: 0; border-radius: 0 0 14px 14px; display: block; background: var(--mp-navy-deep); }
  .mgs-prem-plans, .mgs-prem-features, .mgs-prem-more, .mgs-prem-points, .mgs-prem-kafenio, .mgs-prem-boxes { width: auto; }
  .mgs-prem-hero-bg { position: relative; display: block; aspect-ratio: 1000 / 619; }
  .mgs-prem-hero-bg img { object-position: 30% 50%; }
  .mgs-prem-hero-text::before { display: none; }
  .mgs-prem-hero-text { width: auto; min-width: 0; max-width: none; margin-left: 0; padding: 22px 20px 26px; color: #fff; }
  .mgs-prem-eyebrow { color: var(--mp-gold); }
  .mgs-prem-eyebrow, .mgs-prem-hero h1, .mgs-prem-subtitle, .mgs-prem-intro { text-shadow: none; }
  .mgs-prem-hero h1 { font-size: 32px; color: #fff; }
  .mgs-prem-divider { color: var(--mp-gold); }
  .mgs-prem-divider i { background: var(--mp-gold); }
  .mgs-prem-subtitle { color: #fff; }
  .mgs-prem-intro { color: rgba(255, 255, 255, .92); }
  .mgs-prem-subtitle { font-size: 17px; }
  .mgs-prem-intro { font-size: 15px; }
  .mgs-prem-plans { margin: 34px 14px 0; }
  .mgs-prem-cards { grid-template-columns: 1fr; gap: 28px; }
  .mgs-prem-card--badge { margin-top: 0; }
  .mgs-prem-tag { min-height: 0; }
  .mgs-prem-price { font-size: 48px; }
  /* the logo(s) go under the text, inside the same frame, behind a horizontal gold line instead of the vertical one */
  .mgs-prem-secure { flex-wrap: wrap; gap: 14px; padding: 18px 16px; }
  .mgs-prem-secure .mgs-prem-ico { width: 54px; height: 54px; }
  .mgs-prem-secure .mgs-prem-ico svg { width: 30px; height: 30px; }
  .mgs-prem-secure-text { flex-basis: calc(100% - 70px); }   /* beside the 54px padlock (gap 14px) */
  .mgs-prem-secure-logos { width: 100%; justify-content: center; gap: 22px; margin: 0; padding: 16px 0 0; border-left: 0; border-top: 1.5px solid var(--mp-gold); }
  .mgs-prem-secure-logos img { height: 46px; }
  .mgs-prem-secure-logos img + img { height: 34px; }
  .mgs-prem-features { margin: 34px 16px 0; }
  .mgs-prem-features h2, .mgs-prem-more h2 { font-size: 27px; }
  .mgs-prem-cols { grid-template-columns: 1fr; }
  .mgs-prem-more { grid-template-columns: 1fr; margin: 28px 14px 0; }
  .mgs-prem-more-img { min-height: 0; aspect-ratio: 1200 / 614; }
  .mgs-prem-more-text { padding: 22px 18px; }
  .mgs-prem-callout p { font-size: 16px; }
  .mgs-prem-points { grid-template-columns: 1fr; margin: 22px 14px 0; padding: 12px 6px; }
  .mgs-prem-point { padding: 12px 14px; }
  .mgs-prem-point + .mgs-prem-point { border-left: 0; border-top: 1px solid #c5d8ee; }
  .mgs-prem-kafenio { display: flex; flex-direction: column; text-align: center; gap: 14px; margin: 28px 14px 0; padding: 22px 18px; }
  .mgs-prem-kart { align-self: center; width: min(300px, 100%); margin: -22px auto -6px; }
  .mgs-prem-kafenio h2 { font-size: 24px; }
  .mgs-prem a.mgs-prem-kbtn { align-self: stretch; }
}

/* ---------- phone template ---------- */
.mgs-prem-phone { max-width: none; width: 100vw; margin: 0; padding-bottom: 16px; }   /* the phone shell is 27px wider than the screen (.main margin-right) */
.mgs-prem-phone + .bl_txt_power { display: none; }
.mgs-prem-form { margin-top: 18px; }
.mgs-prem-form #frm_upgrade_plan .bl:first-child, .mgs-prem-form #bl_btn_action_upgrade { display: none; }
.mgs-prem-form .bl label { display: block; margin-bottom: 6px; font-weight: 700; color: var(--mp-navy); }

/* ---------- the public pricing page (/pricing, a standalone page: mgs_pricing.html, the Premium page's sections plus two boxes) and the cards' extras ---------- */
.mgs-prem .mgs-prem-term { margin: -4px 0 12px; font-size: 14.5px; font-weight: 500; color: #3a4966; }
.mgs-prem a.mgs-prem-choose { text-align: center; text-decoration: none; color: #fff; }
.mgs-prem a.mgs-prem-choose:hover { color: #fff; }
.mgs-prem .mgs-prem-currency { margin-top: 12px; }
.mgs-prem-public { padding: 0 0 44px; }
.mgs-prem-public__lead { max-width: 720px; margin: 22px auto 0; text-align: center; font-size: 18px; line-height: 1.55; font-weight: 600; color: var(--mp-text); }
/* the billing box has three times the text of the other: it gets the wider column, so the two end at about the same height (no half-empty box) */
.mgs-prem-boxes { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 22px; margin-top: 32px; }
.mgs-prem-box { padding: 24px 30px 22px; background: var(--mp-cream); border: 1.5px solid #ecd3a0; border-radius: 14px; box-shadow: 0 6px 18px rgba(110, 76, 24, .07); }
.mgs-prem-box h2 { font-size: 27px; line-height: 1.2; margin-bottom: 12px; }
.mgs-prem-list li { position: relative; padding: 0 0 8px 26px; font-size: 16.5px; line-height: 1.5; font-weight: 550; color: var(--mp-text); }
.mgs-prem-list li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: #e0a42c; }
.mgs-prem-free .mgs-prem-list li { padding: 0 0 14px 32px; }
.mgs-prem-free .mgs-prem-list li::before { left: 2px; top: .28em; width: 18px; height: 18px; border-radius: 50%; background: #e0a42c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.mgs-prem-public__links { margin-top: 8px; font-size: 16px; line-height: 1.55; font-weight: 500; color: var(--mp-text); }
.mgs-prem-public__links a { color: var(--mgs-blue-700, #0a4a92); font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .mgs-prem-boxes { grid-template-columns: minmax(0, 1fr); }   /* side by side the billing box is three times as long as the other */
}
@media (max-width: 760px) {
  .mgs-prem-public { padding: 0 0 48px; }
  .mgs-prem-public__lead { margin-top: 20px; font-size: 16px; }
  .mgs-prem-boxes { grid-template-columns: 1fr; gap: 20px; margin: 28px 14px 0; }
  .mgs-prem-box { padding: 20px 18px; }
  .mgs-prem-box h2 { font-size: 23px; }
  .mgs-prem-list li { font-size: 15.5px; }
}
