/* Shared structure for every blog: a classic WordPress blog layout.
   Themes set the variables below and add their own rules. */
:root {
  --page-width: 960px;
  --sidebar-width: 260px;
  --gap: 32px;
  --bg: #e7e7e7;
  --page-bg: #fff;
  --text: #333;
  --muted: #777;
  --link: #06c;
  --link-hover: #147;
  --accent: #06c;
  --header-bg: #73a0c5;
  --header-text: #fff;
  --nav-bg: #333;
  --nav-text: #fff;
  --nav-hover: #555;
  --border: #ddd;
  --footer-bg: #eee;
  --footer-text: #777;
  --body-font: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
  --heading-font: "Trebuchet MS", "Lucida Grande", Verdana, Arial, sans-serif;
  --base-size: 15px;
  --radius: 0;
  --comment-bg: #f8f8f8;
  --comment-alt-bg: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: var(--base-size)/1.6 var(--body-font);
}
a { color: var(--link); text-decoration: none; }
a:hover, a:focus { color: var(--link-hover); text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--heading-font); line-height: 1.3; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

#page {
  max-width: var(--page-width); margin: 0 auto; background: var(--page-bg);
  border-radius: var(--radius); overflow: hidden;
}
#header { background: var(--header-bg); color: var(--header-text); padding: 48px 32px; }
#site-title { margin: 0; font: bold 2.2em/1.2 var(--heading-font); }
#site-title a { color: var(--header-text); }
#site-title a:hover { text-decoration: none; opacity: .9; }
#header .description { margin: 6px 0 0; font-size: 1.05em; opacity: .9; }

#nav { background: var(--nav-bg); }
#nav .menu { list-style: none; margin: 0; padding: 0 16px; display: flex; flex-wrap: wrap; }
#nav .menu a { display: block; padding: 10px 14px; color: var(--nav-text); }
#nav .menu a:hover, #nav .current_page_item a { background: var(--nav-hover); text-decoration: none; }

#wrapper { display: flex; gap: var(--gap); padding: 24px 32px; align-items: flex-start; }
#content { flex: 1 1 auto; min-width: 0; }
#sidebar { flex: 0 0 var(--sidebar-width); font-size: .92em; }
#sidebar > ul, #sidebar ul ul { list-style: none; margin: 0; padding: 0; }
#sidebar .widget { margin-bottom: 26px; }
#sidebar .widgettitle { font-size: 1.1em; margin: 0 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--border); }
#sidebar ul ul li { padding: 3px 0; }
#searchform { display: flex; gap: 6px; }
#searchform input[type=search] { flex: 1; min-width: 0; padding: 5px 7px; border: 1px solid var(--border); font: inherit; }
#searchform input[type=submit] { padding: 5px 10px; font: inherit; cursor: pointer; }
.tagcloud a { line-height: 1.5; }

.pagetitle { margin-top: 0; font-size: 1.3em; color: var(--muted); }
.post { margin-bottom: 40px; }
.post h2.entry-title, .post h1.entry-title { margin: 0 0 4px; font-size: 1.6em; }
.post h2.entry-title a { color: var(--text); }
.post h2.entry-title a:hover { color: var(--link); }
.byline { display: block; color: var(--muted); font-size: .85em; margin-bottom: 12px; }
.entry { overflow-wrap: anywhere; }
.entry img { display: inline-block; }
.post-thumbnail { margin: 0 0 1em; }
.post-thumbnail img { display: block; }
.entry blockquote { margin: 1em 0; padding: 4px 16px; border-left: 4px solid var(--border); color: var(--muted); }
.entry pre { overflow-x: auto; background: var(--comment-bg); padding: 12px; }
.entry table { border-collapse: collapse; max-width: 100%; display: block; overflow-x: auto; }
.entry td, .entry th { border: 1px solid var(--border); padding: 4px 8px; }
.alignleft { float: left; } .alignright { float: right; } .aligncenter, .center { display: block; text-align: center; margin-left: auto; margin-right: auto; }
.entry .alignleft { margin: 4px 16px 8px 0; } .entry .alignright { margin: 4px 0 8px 16px; }
.wp-caption { max-width: 100%; text-align: center; font-size: .85em; color: var(--muted); }
.postmetadata { clear: both; color: var(--muted); font-size: .85em; border-top: 1px solid var(--border); padding-top: 8px; }
.navigation { display: flex; justify-content: space-between; gap: 16px; margin: 8px 0 24px; font-size: .9em; }
.navigation .alignleft, .navigation .alignright { float: none; }

#comments { font-size: 1.2em; margin-top: 32px; }
.commentlist, .commentlist .children { list-style: none; margin: 0; padding: 0; }
.commentlist .children { margin-left: 28px; }
.commentlist .comment-body { background: var(--comment-bg); border: 1px solid var(--border); padding: 12px 14px; margin: 0 0 12px; border-radius: var(--radius); }
.commentlist .depth-2 > .comment-body, .commentlist .depth-4 > .comment-body { background: var(--comment-alt-bg); }
.comment-author { display: flex; align-items: center; gap: 8px; }
.comment-author .fn { font-style: normal; font-weight: bold; }
.comment-author .says { color: var(--muted); font-size: .9em; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: bold; flex: none; }
.commentmetadata { font-size: .8em; margin: 2px 0 6px 40px; }
.commentmetadata a { color: var(--muted); }
.comment-content p { margin: .5em 0; }
.nocomments { color: var(--muted); font-style: italic; }

#footer { background: var(--footer-bg); color: var(--footer-text); text-align: center; padding: 20px; font-size: .85em; clear: both; }
#footer a { color: inherit; text-decoration: underline; }

@media (max-width: 760px) {
  #page { border-radius: 0; }
  #header { padding: 28px 16px; }
  #site-title { font-size: 1.7em; }
  #nav .menu { padding: 0; }
  #wrapper { flex-direction: column; align-items: stretch; padding: 16px; }
  #sidebar { flex-basis: auto; width: 100%; }
  .commentlist .children { margin-left: 12px; }
  .entry .alignleft, .entry .alignright { float: none; display: block; margin: 8px auto; }
}

/* ---- theme ---- */
/* access-any-website.com: "Beacon". An editorial magazine look: warm paper background,
   ink-navy text and a coral accent, Fraunces headings over Inter, a full-bleed photo hero,
   tiles for the commonly blocked sites, and card grids. Photos are from Pixabay
   (theme/assets/photos/CREDITS.md). Follows the reader's dark mode. */
:root {
  --max: 1160px;
  --narrow: 720px;
  --bg: #f7f4ee;
  --surface: #fffdf9;
  --text: #13213a;
  --muted: #5d6779;
  --link: #d9431f;
  --link-hover: #a8300f;
  --accent: #ff5a36;
  --accent-ink: #fff;
  --accent-soft: #ffe7df;
  --ink: #0f1b2d;
  --ink-text: #f3efe7;
  --ink-muted: #a9b3c4;
  --border: #e6dfd3;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 8px 24px rgba(15, 27, 45, .07);
  --shadow-hover: 0 2px 6px rgba(15, 27, 45, .07), 0 22px 44px rgba(15, 27, 45, .14);
  --body-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --heading-font: "Fraunces", Georgia, "Times New Roman", serif;
  --base-size: 17px;
  --comment-bg: #f1ece3;
  --comment-alt-bg: var(--surface);
  --page-bg: var(--bg);
  --page-width: var(--max);
  --header-bg: var(--bg);
  --header-text: var(--text);
  --nav-bg: transparent;
  --nav-text: var(--text);
  --nav-hover: var(--accent-soft);
  --footer-bg: var(--ink);
  --footer-text: var(--ink-text);
  --gap: 24px;
  --sidebar-width: 0px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1626;
    --surface: #142036;
    --text: #ece7dd;
    --muted: #a3adbf;
    --link: #ff8a6b;
    --link-hover: #ffb29d;
    --accent-soft: #3a2420;
    --border: #24324b;
    --comment-bg: #17243b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-hover: 0 2px 6px rgba(0, 0, 0, .35), 0 22px 44px rgba(0, 0, 0, .4);
    --ink: #08101d;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--base-size)/1.65 var(--body-font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--narrow); }
h1, h2, h3, h4 { font-family: var(--heading-font); font-weight: 650; letter-spacing: -.01em; line-height: 1.15; color: var(--text); }
.eyebrow { font: 600 13px/1 var(--body-font); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.section-title { font-size: 1.55rem; margin: 56px 0 22px; display: flex; align-items: center; gap: 14px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 15px/1 var(--body-font); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; box-shadow: 0 6px 18px rgba(255, 90, 54, .32); }
.btn:hover, .btn:focus { color: var(--accent-ink); background: #f0471f; text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; box-shadow: none; }
.btn-ghost { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); backdrop-filter: blur(6px); }
.btn-ghost:hover, .btn-ghost:focus { background: rgba(255, 255, 255, .24); }
.btn-light { background: #fff; color: var(--ink); box-shadow: none; }
.btn-light:hover, .btn-light:focus { background: #fff3ef; color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 650 1.2rem/1 var(--heading-font); white-space: nowrap; }
.brand:hover, .brand:focus { color: var(--text); text-decoration: none; }
.brand em { font-style: italic; color: var(--accent); }
.brand img { border-radius: 9px; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { color: var(--text); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.menu a:hover, .menu a:focus { background: var(--accent-soft); color: var(--text); text-decoration: none; }

/* Home hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 32, .92) 0%, rgba(10, 18, 32, .68) 45%, rgba(10, 18, 32, .15) 100%), linear-gradient(0deg, rgba(10, 18, 32, .7), transparent 50%); }
.hero-copy { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 72px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 0 0 18px; }
.hero h1 span { font-style: italic; color: #ffb39f; }
.hero .eyebrow { color: #ffb39f; }
.hero .lede { color: #dfe5ee; font-size: 1.2rem; max-width: 40ch; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-ghost { color: #fff; }

/* Service tiles */
.services .section-title { margin-top: 48px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-weight: 600; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.tile:hover, .tile:focus { text-decoration: none; color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: transparent; }
.tile-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--hue); color: #fff; font: 700 1.15rem/1 var(--body-font); }
.tile-name { flex: 1; }
.tile-go { color: var(--accent); transition: transform .15s ease; }
.tile:hover .tile-go { transform: translateX(4px); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 28px; }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-art { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--accent-soft); }
.card-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.card:hover .card-art img { transform: scale(1.04); }
.art-fallback { display: grid; place-items: center; width: 100%; height: 100%; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.kicker { font: 600 12px/1 var(--body-font); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.card-title { font-size: 1.28rem; margin: 10px 0 8px; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--link); text-decoration: none; }
.card-text { color: var(--muted); font-size: 15.5px; margin: 0 0 14px; }
.card-meta { margin: auto 0 0; color: var(--muted); font-size: 13.5px; }
.card-big { flex-direction: row; }
.card-big .card-art { flex: 0 0 58%; aspect-ratio: auto; min-height: 360px; }
.card-big .card-body { padding: 40px; justify-content: center; }
.card-big .card-title { font-size: 2.1rem; }
.card-big .card-text { font-size: 1.05rem; }

/* Listing heads and 404 */
.page-hero { padding: 64px 0 8px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 10px; }
.page-hero .lede { max-width: 60ch; }
.empty { padding: 40px 0; }
.tiles-plain { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }

/* Article */
.post-head { padding-top: 56px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 6px; opacity: .6; }
.post-head h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 0 0 18px; }
.post-head .lede { margin: 0; }
.post-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; margin: 0; }
.post-byline a { color: var(--text); font-weight: 600; }
.post-byline .avatar img { border-radius: 8px; display: block; }
.wide-art { margin: 36px auto 8px; max-width: 1088px; }
.wide-art img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.entry { font-size: 1.08rem; line-height: 1.75; padding-top: 24px; }
.entry > p:first-child::first-letter { float: left; font: 650 3.6em/.82 var(--heading-font); color: var(--accent); margin: 6px 10px 0 0; }
.entry h2 { font-size: 1.7rem; margin: 2.2em 0 .6em; }
.entry h3 { font-size: 1.3rem; margin: 1.8em 0 .5em; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li { margin: .4em 0; }
.entry li::marker { color: var(--accent); font-weight: 700; }
.entry a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--link) 40%, transparent); text-underline-offset: 3px; }
.entry a:hover { text-decoration-color: currentColor; }
.entry code { font-size: .9em; background: var(--accent-soft); padding: 2px 6px; border-radius: 6px; }
.entry table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; background: var(--surface); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.entry th, .entry td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.entry thead th { background: var(--ink); color: var(--ink-text); font-weight: 600; }
.entry tbody tr:last-child td { border-bottom: 0; }
.entry .lead { font: 500 1.35rem/1.4 var(--heading-font); }
.entry .button { display: inline-block; padding: 14px 26px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; }
.entry .button:hover { background: #f0471f; color: #fff; }
.entry .cta { margin: 2.4em 0 1em; padding: 22px 26px; border-radius: var(--radius); background: var(--accent-soft); border-left: 4px solid var(--accent); }
.entry .cta p { margin: 0; }
.entry .cta a { font-weight: 600; white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; }
.tags a { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.tags a:hover { color: var(--link); border-color: var(--link); text-decoration: none; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0; }
.prevnext a { display: block; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font: 600 1.02rem/1.35 var(--heading-font); }
.prevnext a:hover { border-color: var(--accent); text-decoration: none; }
.prevnext small { display: block; font: 500 13px/1 var(--body-font); color: var(--muted); margin-bottom: 8px; }
.prevnext .next { text-align: right; }
.more .section-title { margin-top: 24px; }
#comments-area { margin-top: 24px; }
.commentlist { list-style: none; padding: 0; }
.comment-body { border-radius: 12px; }

/* Pager */
.pager { display: flex; justify-content: space-between; margin: 40px 0 0; }
.pager a { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; }

/* CTA band and footer */
.cta-band { margin-top: 80px; background: linear-gradient(120deg, #ff5a36, #ff7d4d 60%, #ffa24a); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.cta-band h2 { color: #fff; font-size: 2rem; margin: 0 0 6px; }
.cta-band p { margin: 0; max-width: 56ch; color: #fff5f0; }
.site-footer { background: var(--ink); color: var(--ink-muted); padding: 56px 0 28px; font-size: 15px; }
.site-footer a { color: var(--ink-text); }
.site-footer .brand { color: var(--ink-text); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1fr; gap: 36px; }
.site-footer h2 { color: var(--ink-text); font: 600 13px/1 var(--body-font); letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 9px; }
.footer-about p { margin: 14px 0 18px; }
.search input[type=search] { width: 100%; padding: 11px 16px; border-radius: 999px; border: 1px solid #2c3b55; background: #16233a; color: var(--ink-text); font: inherit; }
.search input::placeholder { color: var(--ink-muted); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #24324b; margin-top: 40px; padding-top: 22px; font-size: 13.5px; }

/* Responsive */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .card-big { flex-direction: column; }
  .card-big .card-art { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
  .card-big .card-body { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu { display: none; }
  .bar { justify-content: space-between; gap: 12px; }
  .container { padding: 0 16px; }
  .hero { min-height: 520px; }
  .hero::after { background: linear-gradient(0deg, rgba(10, 18, 32, .94) 10%, rgba(10, 18, 32, .55) 70%, rgba(10, 18, 32, .35)); }
  .hero-copy { padding-bottom: 48px; }
  .grid { grid-template-columns: 1fr; gap: 20px; }
  .tiles, .tiles-plain { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 12px; gap: 10px; font-size: 15px; }
  .tile-icon { width: 34px; height: 34px; font-size: 1rem; }
  .tile-go { display: none; }
  .card-big .card-title { font-size: 1.6rem; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext .next { text-align: left; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .wide-art img { border-radius: 14px; }
  .entry { font-size: 1.04rem; }
  .entry table { display: block; overflow-x: auto; }
}
@media (max-width: 380px) {
  .brand span { font-size: 1.05rem; }
}
