/*
Theme Name: Be Cosmetic Clinics
Theme URI: https://www.becosmetic.com
Author: Be Cosmetic Clinics
Description: Custom theme for Be Cosmetic Clinics, specialist gynecomastia surgery clinics in London and Sheffield. Built from the approved design.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: becosmetic
*/
/* WordPress admin bar compatibility */
body.admin-bar .hd{top:32px}
@media (max-width:782px){body.admin-bar .hd{top:46px}}

/* form privacy notices (replace the old tick box) */
.form-note{font-size:13px;line-height:1.5;color:var(--ink-2);margin:2px 0 6px;grid-column:1/-1}
.form-note a{color:var(--accent-text);text-decoration:underline}
.tb-note{font-size:12.5px;color:rgba(232,240,239,.8);white-space:nowrap}
.tb-note a{color:#fbc9ae;text-decoration:underline}
@media (max-width:1180px){.tb-note{display:none}}

/* thank-you page */
.ty-video{position:relative;aspect-ratio:16/9;max-width:720px;border-radius:var(--card-r,18px);overflow:hidden;margin:22px 0;background:#000}
.ty-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.ty-prices{margin:34px 0;padding:6px 0}
.ty-prices.on{background:#fff;border-radius:var(--card-r,18px);padding:8px 30px 22px;box-shadow:0 24px 60px -34px rgba(30,60,60,.35)}
.ty-prices h3{font:350 clamp(24px,2.6vw,32px)/1.15 var(--display);margin:22px 0 4px}
.ty-prices h4{font-size:15px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2);margin:18px 0 6px;font-weight:500}
.ty-prices ul{padding-left:20px}.ty-prices li{margin:5px 0}
.ty-prices-note{color:var(--ink-2)}
/* buttons inside article text keep their button colours */
.prose a.btn,.prose a.btn:visited,.prose a.btn:hover{color:#fff;text-decoration:none}
.ty-prices p{margin:12px 0}

/* answer-first summary box and review line */
.reviewed{font-size:14px;color:var(--ink-2);margin:0 0 18px}
.reviewed a{color:var(--accent-text);text-decoration:underline}
.glance{background:#fff;border-radius:var(--card-r,18px);padding:22px 26px 14px;margin:0 0 30px;box-shadow:0 24px 60px -36px rgba(30,60,60,.35)}
.glance h2{font:350 clamp(22px,2.4vw,28px)/1.15 var(--display);margin:0 0 10px}
.glance dl{margin:0}.glance dl>div{display:grid;grid-template-columns:150px 1fr;gap:4px 18px;padding:9px 0;border-top:1px solid var(--line)}
.glance dt{font-weight:500;color:var(--ink)}.glance dd{margin:0;color:var(--ink-2)}
@media(max-width:640px){.glance{padding:18px 18px 8px}.glance dl>div{grid-template-columns:1fr;gap:2px}}
/* comfortable tap targets on phones */
@media(max-width:760px){.ft li a,.ft-legal a,.ft p a,.link,.as-links a,.crumbs a,.toc a{display:inline-block;padding:6px 0;min-height:24px}.ft-legal a{margin-right:14px}}

/* theatre photos */
.t-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.t-grid figure{margin:0;overflow:hidden;border-radius:var(--img-r,18px);background:#dfe9e8}
.t-grid img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:16/10;transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
.t-grid figure:hover img{transform:scale(1.035)}
.t-grid figure:nth-child(1){grid-column:span 4}.t-grid figure:nth-child(2){grid-column:span 2}.t-grid figure:nth-child(n+3){grid-column:span 2}
@media (max-width:760px){.t-grid{grid-template-columns:1fr}.t-grid figure:nth-child(n){grid-column:auto}}
/* top bar: error messages sit inside the bar, which grows to fit them */
.topbar .tb-form{align-items:flex-start}
.topbar .tb-f{display:flex;flex-direction:column;align-items:flex-start}
.topbar .tb-f .err,.topbar .consent-e{position:static;margin:5px 0 0 8px;white-space:normal;max-width:190px;font-size:12px;line-height:1.3;color:#ffd0bd}
.topbar .tb-f .err:empty,.topbar .consent-e:empty{display:none;margin:0}
.topbar .tb-note{align-self:flex-start;margin-top:9px}
.tb-in{padding-top:9px;padding-bottom:9px}
/* header: always the bright background, so the menu is fully visible on every page */
.hd,.hd.scrolled,.hd:not(.scrolled){background:rgba(240,246,245,.96);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.hd:not(.scrolled) .nav a,.hd:not(.scrolled) .hd-tel{color:var(--ink-2)}
.hd:not(.scrolled) .logo-d{display:block}
.hd:not(.scrolled) .logo-l{display:none}
.hd:not(.scrolled) .menu span{background:var(--ink)}
.hd .nav a:hover{color:var(--ink)}
.phero-intro a{color:inherit;font-weight:500;text-decoration:underline;text-underline-offset:3px}
