/* The Bushmills Trust: its own design, drawn over the starter theme's pages (site.config.js →
   ownStyles). A clean, bright community charity: lots of white space, friendly type, big rounded
   photography, soft tinted panels and clear calls to get involved.
   Colours and fonts still come from Orbit's Design screen (the --brand, --accent, --f-head …
   variables), so the Trust can change them; nothing here adds or hides any words. */

body.own-styles {
  --tint: color-mix(in srgb, var(--brand) 7%, #fff);       /* soft green panels */
  --tint-2: color-mix(in srgb, var(--accent) 22%, #fff);   /* soft peach panels */
  --edge: color-mix(in srgb, var(--ink) 9%, transparent);
  --radius: 28px; --radius-sm: 18px; --btn-radius: 999px;
  --shadow-sm: 0 1px 2px rgb(16 32 28 / .05), 0 4px 14px -6px rgb(16 32 28 / .10);
  --shadow: 0 2px 4px rgb(16 32 28 / .04), 0 18px 40px -18px rgb(16 32 28 / .28);
  --shadow-lg: 0 4px 10px rgb(16 32 28 / .05), 0 40px 80px -36px rgb(16 32 28 / .42);
  --sec: clamp(72px, 9vw, 128px);
  background: #fff;
  font-size: 17.5px;
  letter-spacing: -.003em;
}

/* ---- Type ----------------------------------------------------------------------------- */
.own-styles :is(h1, h2, h3, h4) { font-weight: 800; letter-spacing: -.03em; }
.own-styles .h2 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.4rem); line-height: 1.04; }
.own-styles .h3 { letter-spacing: -.02em; }
.own-styles .lede { color: color-mix(in srgb, var(--ink) 70%, #fff); }
.own-styles .kicker { color: var(--brand); font-size: .8rem; letter-spacing: .12em; }
.own-styles .kicker::before { display: none; }
.own-styles .section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.own-styles .prose { color: color-mix(in srgb, var(--ink) 78%, #fff); font-size: 1.04rem; line-height: 1.75; }
.own-styles .prose ul { list-style: none; padding-left: 0; }
.own-styles .prose ul li { position: relative; padding-left: 1.6em; }
.own-styles .prose ul li::before { content: ''; position: absolute; left: .2em; top: .62em; width: .55em; height: .55em; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.own-styles .prose blockquote { margin: 1.4em 0; padding: 22px 26px; border-radius: var(--radius-sm); background: var(--tint); color: var(--ink); font-size: 1.08rem; font-weight: 600; line-height: 1.55; }

/* ---- Buttons: friendly pills ---------------------------------------------------------- */
.own-styles .btn { border-radius: 999px; font-weight: 700; letter-spacing: -.005em; padding-inline: 26px; }
.own-styles .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--b) 90%, transparent); }
.own-styles .btn-outline { background: #fff; border-color: var(--edge); }
.own-styles .btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.own-styles .more { color: var(--brand); }

/* ---- Announcement and header ---------------------------------------------------------- */
.own-styles .announce { background: var(--tint-2); color: var(--ink); font-weight: 650; }
.own-styles .announce a:hover { text-decoration: underline; text-underline-offset: 3px; }
.own-styles .topbar { background: #fff; border-bottom: 1px solid var(--edge); color: color-mix(in srgb, var(--ink) 65%, #fff); }
.own-styles .site-header { background: rgb(255 255 255 / .92); border-bottom: 1px solid transparent; box-shadow: none; }
.own-styles .site-header.scrolled { border-bottom-color: var(--edge); box-shadow: 0 10px 30px -20px rgb(16 32 28 / .35); }
.own-styles .site-nav a:not(.btn) { font-weight: 600; color: color-mix(in srgb, var(--ink) 80%, #fff); }
.own-styles .site-nav a:not(.btn):hover, .own-styles .site-nav a[aria-current="page"] { color: var(--brand); background: var(--tint); }

/* ---- Welcome banner: a soft green panel, big friendly type, a rounded photo ------------- */
.own-styles .hero-split { background: #fff; padding: clamp(10px, 1.4vw, 20px) clamp(10px, 1.4vw, 20px) 0; }
.own-styles .hero-split > .wrap { background: var(--tint); border-radius: calc(var(--radius) + 8px); max-width: none; padding-inline: clamp(24px, 5vw, 80px); }
.own-styles .hero-split .hero-grid { grid-template-columns: 1.08fr .92fr; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.own-styles .hero-title { font-size: clamp(2.6rem, 1.2rem + 5vw, 5rem); line-height: 1; letter-spacing: -.045em; }
.own-styles .hero-title .hl { color: var(--brand); background: none; }
.own-styles .hero-title .hl::after { display: none; }
.own-styles .hero-lede { color: color-mix(in srgb, var(--ink) 72%, #fff); max-width: 32em; }
.own-styles .eyebrow { background: #fff; border: 0; box-shadow: var(--shadow-sm); color: var(--ink); font-weight: 650; }
.own-styles .eyebrow .dot { background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.own-styles .ticks li { color: color-mix(in srgb, var(--ink) 78%, #fff); font-weight: 600; }
.own-styles .ticks .ic { color: var(--brand); }
.own-styles .hero-media::before { display: none; }
.own-styles .hero-split .hero-media .ph { aspect-ratio: 4 / 4.6; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.own-styles .float-card { left: -32px; bottom: 40px; padding: 16px 22px 16px 16px; border-radius: 20px; box-shadow: var(--shadow-lg); max-width: 300px; }
.own-styles .float-card .fc-ic { background: var(--accent); color: var(--ink); border-radius: 14px; }

/* ---- The four promises: a row of soft cards ------------------------------------------- */
.own-styles .trust { background: #fff; border: 0; padding: clamp(28px, 4vw, 48px) 0 0; }
.own-styles .trust-list { gap: 16px; }
.own-styles .trust-item { align-items: flex-start; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--edge); transition: box-shadow .25s, transform .25s; }
.own-styles .trust-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.own-styles .trust-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--brand); }
.own-styles .trust-item b { font-size: 1.05rem; }

/* ---- Who we are: a warm peach panel instead of a dark band ----------------------------- */
.own-styles .why { background: #fff; color: var(--ink); }
.own-styles .why::before, .own-styles .why::after { display: none; }
.own-styles .why > .wrap { background: var(--tint-2); border-radius: calc(var(--radius) + 8px); padding: clamp(32px, 5vw, 72px); max-width: calc(var(--wrap) + 120px); }
.own-styles .why :is(h2, h3, .h2, b) { color: var(--ink); }
.own-styles .why :is(p, .lede, small) { color: color-mix(in srgb, var(--ink) 75%, #fff); }
.own-styles .why .kicker { color: var(--brand); }
.own-styles .why .ph { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.own-styles .why-badge { background: var(--brand); color: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); }
.own-styles .why-badge :is(b, span, small, .num) { color: #fff; }
.own-styles .reasons li, .own-styles .reasons > * { border-color: color-mix(in srgb, var(--ink) 12%, transparent); }
.own-styles .reason-ic { background: #fff; color: var(--brand); }

/* ---- Explore our work: big image cards that lift --------------------------------------- */
.own-styles .svc-card { border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.own-styles .svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.own-styles .svc-ph { aspect-ratio: 16 / 11; }
.own-styles .svc-ph img { border-radius: var(--radius) var(--radius) 0 0; }
.own-styles .svc-badge { border-radius: 50%; background: var(--accent); color: var(--ink); box-shadow: 0 10px 22px -10px rgb(0 0 0 / .45); }
.own-styles .svc-body { padding: 34px 28px 28px; }
.own-styles .svc-body h3 { font-size: 1.35rem; }

/* ---- Around the village: rounded photo mosaic with captions ---------------------------- */
.own-styles .gal-item { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); }
.own-styles .gal-item img { transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.own-styles .gal-item:hover img { transform: scale(1.05); }

/* ---- Platform blocks (latest news, supporters' logos) ---------------------------------- */
.own-styles .stn-posts .stn-post { border: 0; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.own-styles .stn-posts .stn-post:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.own-styles .stn-posts h2, .own-styles .stn-logos h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; }
.own-styles .stn-logos .stn-logo-row { gap: clamp(28px, 5vw, 64px); }
.own-styles .stn-logos img { max-height: 72px; width: auto; }

/* ---- Closing banner: green, with the photo softly behind ------------------------------- */
.own-styles .cta-band { background: var(--brand); border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow-lg); }
.own-styles .cta-band .kicker { color: var(--accent); }

/* ---- Page headings on the other pages: the same soft green panel as the homepage ------- */
.own-styles .page-intro { background: #fff; padding: clamp(10px, 1.4vw, 20px) clamp(10px, 1.4vw, 20px) 0; }
.own-styles .page-intro > .wrap { background: var(--tint); border-radius: calc(var(--radius) + 8px); max-width: none; padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 80px); }
.own-styles .pi-title { font-size: clamp(2.4rem, 1.3rem + 4vw, 4.4rem); line-height: 1.02; letter-spacing: -.04em; }
.own-styles .pi-ph { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---- Photo-and-text blocks: rounded photos, and every other one on a soft panel -------- */
.own-styles .blk-split .ph { border-radius: var(--radius); box-shadow: var(--shadow); }
.own-styles .blk-split .split-grid { align-items: center; }
.own-styles .blk-split:nth-of-type(even) > .wrap { background: var(--tint); border-radius: calc(var(--radius) + 8px); padding-block: clamp(36px, 5vw, 64px); max-width: calc(var(--wrap) + 140px); padding-inline: clamp(24px, 4vw, 64px); }
.own-styles .blk-split .kicker { color: var(--brand); }

/* ---- Cards on the inner pages: values, features, team, stats -------------------------- */
.own-styles :is(.feature-card, .team-card) { border: 1px solid var(--edge); border-radius: 22px; background: #fff; box-shadow: none; transition: box-shadow .25s, transform .25s; }
.own-styles :is(.feature-card, .team-card):hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.own-styles .feat-ic { border-radius: 50%; background: var(--tint); color: var(--brand); }
.own-styles .team-av { background: var(--accent); color: var(--ink); }

/* ---- Footer ------------------------------------------------------------------------- */
.own-styles .site-footer { border-radius: calc(var(--radius) + 8px) calc(var(--radius) + 8px) 0 0; margin-inline: clamp(10px, 1.4vw, 20px); }
.own-styles .foot-cta { border-radius: var(--radius); }

/* ---- Phones ------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .own-styles .hero-split .hero-grid { grid-template-columns: 1fr; }
  .own-styles .float-card { left: 14px; bottom: 14px; }
  .own-styles .hero-split > .wrap, .own-styles .page-intro > .wrap, .own-styles .why > .wrap { border-radius: var(--radius); padding-inline: 20px; }
  .own-styles .blk-split:nth-of-type(even) > .wrap { border-radius: var(--radius); padding-inline: 20px; }
}

/* ---- Fine-tuning ---------------------------------------------------------------------- */
/* Long pages of photo-and-text blocks: closer together, so they read as one story */
.own-styles .blk-split { padding-block: clamp(28px, 4vw, 56px); }
.own-styles .blk-split + .blk-split { padding-top: clamp(8px, 1.5vw, 20px); }
/* Words on the green closing banner stay readable */
.own-styles .cta-band :is(.lede, p) { color: rgb(255 255 255 / .86); }
.own-styles .cta-band h2 { color: #fff; }
.own-styles .cta-band::after { display: none; }
.own-styles .cta-band.has-photo { background: var(--brand); }
.own-styles .cta-band.has-photo::before { background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 95%, #000) 0%, color-mix(in srgb, var(--brand) 85%, transparent) 55%, color-mix(in srgb, var(--brand) 55%, transparent) 100%); }
/* The supporters' logos: a quiet label, not a big heading */
.own-styles .stn-logos h2 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 700; letter-spacing: -.01em; color: color-mix(in srgb, var(--ink) 70%, #fff); }
