/* DIVEIN Black Friday guide + partner form.
 *
 * Every value below is measured from live divein.com on 2026-11-20 (headless
 * Playwright on /articles/black-friday-scuba-deals/, /dive-computer/best-dive-computer/
 * and the home page). The source element is named on each rule. Colours not in
 * tokens.css are divein.com computed values. Nothing yellow: divein.com does not use it.
 */
:root {
  --ink: #1F2939;            /* body text colour */
  --muted: #626A74;          /* byline meta */
  --pill: #E1ECFD;           /* .divein-rg-card__meta-item */
  --search-bg: #F0F8FD;      /* .divein-search--header */
  --search-line: #C1E0F3;
  --btn-line: #CFCCCA;       /* .divein-btn--secondary border */
  --green: #00734D;          /* .pg-cta / .pg-buybar / .pg-mk-lowest */
  --green-tier: #ECF4F2;     /* .dvp-card__footer */
  --panel: #E8EEF4;          /* .fluentform newsletter box */
  --label-blue: #0077B6;     /* .dvp-section-label ("Featured") */
  --card-ring: #6BB3D9;      /* .dvp-card--partner outline */
  --foot-line: #9BCCE8;      /* footer group title underline */
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* body: Open Sans 400 14.4px/21.6px #1F2939 */
body { margin: 0; font-family: var(--font-body); font-size: 14.4px; line-height: 21.6px; color: var(--ink); background: #fff; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--navy); margin: 0; }
a { color: var(--navy); }
img { max-width: 100%; display: block; }
/* container: 1080px, 20px side padding */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--card-ring); outline-offset: 2px; }

/* ---- header: 60px, logo 115x25, .divein-shelf-tab__btn, .divein-search--header ---- */
.site-head { background: #fff; border-bottom: 1px solid #ECEAE8; }
.site-head .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.site-head .logo img { height: 25px; width: auto; }
.shelf { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.shelf a { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--navy); text-decoration: none; padding: 10px 12px; border-radius: 11px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.shelf a::after { content: ""; width: 5px; height: 5px; border-right: 1.5px solid var(--blue-300); border-bottom: 1.5px solid var(--blue-300); transform: rotate(45deg) translateY(-2px); }
.shelf a:hover { background: var(--blue-5); }
@media (max-width: 900px) { .shelf { display: none; } }

/* ---- article top: .breadcrumb-wrap 9px, h1 Montserrat 600 42/50.4 -1px, .divein-byline ---- */
.crumbs { font-size: 9px; line-height: 13.5px; color: var(--ink); margin: 14px 0 16px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-title { font-size: 42px; line-height: 50.4px; letter-spacing: -1px; margin-bottom: 18px; }
@media (max-width: 640px) { .page-title { font-size: 32px; line-height: 38.4px; } }
.byline { display: flex; align-items: center; gap: 8px; font-size: 9px; line-height: 13.5px; color: var(--muted); margin-bottom: 18px; }
.byline img { width: 30px; height: 30px; border-radius: 9999px; }
.byline b { color: var(--ink); font-weight: 600; letter-spacing: .9px; text-decoration: underline; }
.top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 32px; align-items: center; margin-bottom: 24px; }
/* content image: radius 15px */
.feature-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 60%; border-radius: 15px; }
.intro { margin: 0 0 12px; }
/* .divein-rg-card__meta-item: Open Sans 9px, #E1ECFD, radius 6, padding 5px 9px 4px */
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.facts li { font-size: 9px; line-height: 9px; color: var(--navy); background: var(--pill); border-radius: 6px; padding: 5px 9px 4px; }
@media (max-width: 760px) { .top { grid-template-columns: 1fr; } .top .feature-img { display: none; } }

/* ---- filter bar: tabs reuse .divein-shelf-tab__btn, fields reuse .divein-search--header ---- */
.controls { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid #ECEAE8; }
.controls .wrap { padding-top: 8px; padding-bottom: 10px; display: grid; gap: 8px; }
.chips { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.chip { flex: none; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--navy); background: transparent; border: 0; border-radius: 11px; padding: 10px 12px; cursor: pointer; }
.chip:hover { background: var(--blue-5); }
.chip[aria-pressed="true"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.chip .n { font-family: var(--font-body); font-weight: 400; color: var(--muted); margin-left: 3px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row .grow { flex: 1 1 220px; }
.controls input[type="search"], .controls select {
  width: 100%; font: 400 14.4px var(--font-body); color: #4D5663; background: var(--search-bg);
  border: 1px solid var(--search-line); border-radius: 11px; height: 40px; padding: 0 12px;
}
.controls input:focus, .controls select:focus { outline: 2px solid var(--card-ring); outline-offset: 0; }
/* .dvp-section-label: Open Sans 600 12px uppercase .96px #0077B6 */
.result-count { font-size: 12px; line-height: 16.8px; font-weight: 600; text-transform: uppercase; letter-spacing: .96px; color: var(--label-blue); margin: 24px 0 12px; }

/* ---- deal card (redesign 23 Nov 2026): 2px #6BB3D9 ring (.dvp-card), brand and category chip on the top edge,
   16:9 photo, product lines as bordered boxes, outline all-deals button. Calm type: one weight step only. ---- */
.grid { display: grid; gap: 26px 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 10px; align-items: stretch; }
@media (max-width: 1079px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: minmax(0, 1fr); } }
/* top edge: brand left, category chip right (the chip is the unchanged divein.com term pill) */
.dc-edge { position: absolute; top: -1px; left: 12px; right: 18px; transform: translateY(-50%); z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.dc-brand { min-width: 0; padding: 0 4px; background: #fff; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-brand:empty { display: none; }
.dc-edge { justify-content: space-between; }
.dc-edge .img-badge { margin-left: auto; position: relative; top: auto; right: auto; transform: none; flex: none; }
/* photo: the same 16:9 tile on every card; product shots on white blend into the light panel */
.dc-img { position: relative; margin: 12px 12px 0; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--blue-5); }
/* the place (trips and resorts): a pill on the photo's bottom-left corner */
.dc-place { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 7px; border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 1px 2px rgba(7,39,90,.18); font-size: 12px; line-height: 16px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-place svg { width: 12px; height: 12px; flex: none; color: var(--blue-400); }
/* the partner link: outline button (.pg-cta colours) */
@media (max-width: 560px) {
}

/* ---- buttons ---- */
.btn { font-family: var(--font-body); font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
/* .divein-btn--primary: Open Sans 600 11px, navy, radius 8, 7px 10px */
.btn-primary { background: var(--navy); color: #fff; border: 0; border-radius: 8px; font-size: 11px; line-height: 11px; padding: 7px 10px; }
/* .divein-btn--secondary: white, 1px #CFCCCA, radius 8, 6px 10px */
.btn-secondary { background: #fff; color: var(--navy); border: 1px solid var(--btn-line); border-radius: 8px; font-size: 11px; line-height: 11px; padding: 6px 10px; }
/* .pg-cta (Buy now): Open Sans 600 11px, green, 2px border, radius 4, height 33 */
.btn-buy { background: var(--green); color: #fff; border: 2px solid var(--green); border-radius: 4px; font-size: 11px; line-height: 13.2px; letter-spacing: .11px; height: 33px; padding: 0 8px; }
.btn-buy svg { width: 12px; height: 12px; }
/* .ff-btn-submit (Sign me up): Open Sans 600 14px, navy, radius 4, 4px 16px, height 36 */
.btn-form { background: var(--navy); color: #fff; border: 2px solid transparent; border-radius: 4px; font-size: 14px; line-height: 17.5px; padding: 4px 16px; height: 36px; }
.btn-primary:hover, .btn-form:hover { background: var(--blue-800); }
.btn-buy:hover { filter: brightness(.9); }
.btn-form:disabled { background: var(--blue-300); cursor: progress; }

/* ---- panels: .fluentform newsletter box (#E8EEF4, radius 15, padding 30) ---- */
.notice { background: var(--panel); border-radius: 15px; padding: 16px 20px; margin-top: 20px; }
.empty { grid-column: 1 / -1; text-align: center; background: var(--panel); border-radius: 15px; padding: 30px; }
/* content h3: Montserrat 600 22px/27.5px -1px */
.empty h3 { font-size: 22px; line-height: 27.5px; letter-spacing: -1px; margin-bottom: 6px; }
.empty p { margin: 0; }
.panel { margin-top: 48px; background: var(--panel); border-radius: 15px; padding: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
/* newsletter heading: Open Sans 700 28px/35px navy */
.panel h2 { font-family: var(--font-body); font-weight: 700; font-size: 28px; line-height: 35px; margin-bottom: 4px; }
.panel p { margin: 0; color: var(--navy); }

/* ---- footer: .dvf-band--deep (#07275A, 56px 32px), white logo 111x24, .dvf-group__title, .dvf-link ---- */
.site-foot { margin-top: 72px; background: var(--navy); color: #fff; font-size: 13px; line-height: 18.2px; }
.site-foot .wrap { padding-top: 56px; padding-bottom: 32px; display: grid; grid-template-columns: 1.3fr 1fr 1.6fr; gap: 32px; }
.site-foot .foot-logo { width: 111px; height: 24px; margin-bottom: 14px; }
.site-foot p { margin: 0; color: var(--pill); }
.foot-title { font-family: var(--font-display); font-weight: 700; font-size: 14.4px; color: #fff; padding-bottom: 10px; border-bottom: 2px solid var(--foot-line); margin-bottom: 12px; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a { color: #fff; font-size: 14px; display: inline-block; padding: 4px 0 4px 14px; position: relative; }
.foot-links a::before { content: "\203A"; position: absolute; left: 0; color: var(--foot-line); }
.foot-bottom { grid-column: 1 / -1; font-size: 12px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; }
.foot-bottom p { color: var(--pill); }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr; } }

/* ---- form: newsletter box panels, white fields, Sign me up button ---- */
.form-head p { max-width: 640px; margin: 0 0 20px; }
fieldset.form-panel { border: 0; margin: 0; min-width: 0; background: var(--panel); border-radius: 15px; padding: 30px; }
fieldset.form-panel + fieldset.form-panel { margin-top: 16px; }
fieldset.form-panel legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; font-family: var(--font-body); font-weight: 700; font-size: 28px; line-height: 35px; color: var(--navy); }
fieldset.form-panel legend + * { clear: both; }
.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 2px; color: var(--navy); }
/* newsletter small text: 11px/16.5px navy */
.field .hint { display: block; font-size: 11px; line-height: 16.5px; color: var(--navy); margin-bottom: 6px; }
.req { color: var(--red-600); }
.form-panel input[type="text"], .form-panel input[type="email"], .form-panel input[type="url"], .form-panel input[type="date"], .form-panel textarea {
  width: 100%; font: 400 14.4px/21.6px var(--font-body); color: var(--ink); background: #fff; border: 1px solid transparent; border-radius: 4px; padding: 7px 10px; min-height: 37px;
}
.form-panel textarea { min-height: 120px; resize: vertical; }
/* Offer details: small rich-text editor (same toolbar as the news.divein.com submission form) */
.richwrap { background: #fff; border: 1px solid transparent; border-radius: 4px; overflow: hidden; }
.richwrap:focus-within { outline: 2px solid var(--card-ring); outline-offset: 0; }
.richbar { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; padding: 4px 6px; border-bottom: 1px solid var(--blue-50); }
.richbar .rb { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 0; border-radius: 4px; background: none; color: var(--navy); cursor: pointer; }
.richbar .rb:hover { background: var(--blue-50); }
.richbar .rb[aria-pressed="true"] { background: var(--navy); color: #fff; }
.richbar .rb svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.richbar .rb svg circle { fill: currentColor; stroke: none; }
.richbar .sep { width: 1px; height: 20px; margin: 0 6px; background: var(--blue-100); }
.richedit { min-height: 300px; padding: 10px 12px; font: 400 14.4px/21.6px var(--font-body); color: var(--ink); outline: none; overflow-wrap: anywhere; }
.richedit p { margin: 0 0 8px; }
.richedit ul, .richedit ol { margin: 0 0 8px; padding-left: 22px; }
.richedit a { color: var(--blue-600); }
@media (max-width: 600px) { .richbar .rb { width: 44px; height: 44px; } .richedit { min-height: 240px; } }
.form-panel input:focus, .form-panel textarea:focus { outline: 2px solid var(--card-ring); outline-offset: 0; }
.two { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin-bottom: 14px; }
.two:last-child { margin-bottom: 0; }
.two .field { margin-bottom: 0; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } .panel, fieldset.form-panel { padding: 20px; } }
/* option chips reuse .divein-btn--secondary / --primary */
.options { display: flex; flex-wrap: wrap; gap: 6px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; }
.option span { display: inline-block; font-weight: 600; font-size: 11px; line-height: 11px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--btn-line); background: #fff; color: var(--navy); cursor: pointer; }
.option input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.option input:focus-visible + span { outline: 2px solid var(--card-ring); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; }
.check input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; }
.error { color: var(--red-700); font-weight: 600; margin-top: 12px; }
.success { text-align: center; padding: 30px; border-radius: 15px; background: var(--green-tier); }
.success h2 { font-family: var(--font-body); font-weight: 700; font-size: 28px; line-height: 35px; color: var(--green); margin-bottom: 6px; }

/* Category chip on the card's top border, right-aligned: a 1:1 copy of divein.com
   .divein-term-pill--overlay (front-page cards), incl. its skewX(-25deg) ::before background */
.img-badge { position: absolute; top: -2px; right: 18px; transform: translateY(-50%); z-index: 3; isolation: isolate; display: block; padding: 5.6px 12.6px; background: rgba(255,255,255,0); color: #fff; font-family: var(--font-display); font-size: 8px; font-weight: 600; line-height: 1; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; }
.img-badge::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #6BB3D9; border: 1px solid rgba(255,255,255,.46); border-radius: 12px; transform: skewX(-25deg); }

/* offer blocks inside the offer panel: white card, radius 8 (dvp-card), like divein.com cards on the panel */
.offer { background: #fff; border-radius: 8px; padding: 16px; margin-bottom: 12px; }
.offer .field:last-child { margin-bottom: 0; }
.offer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.offer-title { font-family: var(--font-display); font-weight: 600; font-size: 13px; text-transform: none; color: var(--navy); }
.offer input[type="text"], .offer input[type="url"], .offer input[type="date"], .offer textarea { border-color: #D9D6D3; }
.btn-add { font-size: 14px; line-height: 17.5px; padding: 8px 14px; }

/* step 2: content h2 (Montserrat 600 28/35 -1px) */
.step2 { margin-top: 32px; }
.step2-title { font-size: 28px; line-height: 35px; letter-spacing: -1px; margin-bottom: 6px; }
.step2 > p { margin: 0 0 16px; }
.step2-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }

/* the hidden attribute must win over .btn display rules */
[hidden] { display: none !important; }

/* One card for the whole grid: partner deals and gear categories share it (24 Nov consistency pass) */
.dc { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 8px; outline: 2px solid var(--card-ring); outline-offset: -2px; transition: box-shadow 180ms ease-out, transform 180ms ease-out; }
.dc:hover { box-shadow: 0 6px 18px rgba(7, 39, 90, .10); transform: translateY(-2px); }
.dc-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.dc-img--product { background: var(--search-bg); }
.dc-img--product img { object-fit: contain; padding: 10px; }
.dc-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 14px; flex: 1; }
.dc-title { margin: 0; font-family: var(--font-display); font-size: 16px; line-height: 21px; font-weight: 600; color: var(--navy); text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dc-save { margin: 2px 0 0; font-size: 14px; line-height: 19px; font-weight: 600; color: var(--green); }
.dc-line { margin: 2px 0 0; min-block-size: 57px; font-size: 13px; line-height: 19px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dc-foot { padding: 0 12px 12px; }
.dc-cta { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 8px 10px; border-radius: 4px; background: var(--green); font-size: 13px; line-height: 16px; font-weight: 600; color: #fff; text-decoration: none; transition: background-color 150ms ease-out; }
.dc-cta:hover { background: color-mix(in srgb, var(--green) 85%, #000); }
.dc-cta svg { width: 11px; height: 11px; flex: none; }
.dc-cta:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .dc, .dc:hover { transition: none; transform: none; } }

