/*
Theme Name: Circles of Light
Theme URI: https://www.circlesoflight.com/
Description: A modern Gutenberg-first child theme for the Circles of Light personal development journal.
Author: Circles of Light
Template: hello-elementor
Version: 1.0.0
Text Domain: circles-light
*/

:root {
  --col-ink: #292b30;
  --col-muted: #68727b;
  --col-blue: #36a6d3;
  --col-blue-deep: #167fae;
  --col-green: #86c440;
  --col-green-deep: #5f9e22;
  --col-aqua: #eaf8fc;
  --col-soft: #f5f7f6;
  --col-line: #dfe7e5;
  --col-white: #fff;
  --col-shadow: 0 22px 65px rgba(41,43,48,.11);
  --col-radius: 22px;
  --col-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--col-ink); background: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.72; -webkit-font-smoothing: antialiased; }
a { color: var(--col-blue-deep); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--col-green-deep); }
img { max-width: 100%; height: auto; }
.col-wrap { width: min(calc(100% - 40px), var(--col-width)); margin-inline: auto; }
.col-skip { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 10px 15px; background: #fff; }
.col-skip:focus { top: 16px; }

.col-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); border-bottom: 1px solid rgba(223,231,229,.9); backdrop-filter: blur(14px); }
.col-header__inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.col-brand { display: flex; align-items: center; gap: 12px; color: var(--col-ink); text-decoration: none; }
.col-brand__mark { position: relative; width: 42px; height: 42px; }
.col-brand__mark::before, .col-brand__mark::after { content: ""; position: absolute; width: 29px; height: 29px; border: 4px solid; border-radius: 50%; }
.col-brand__mark::before { left: 0; top: 2px; border-color: var(--col-blue); }
.col-brand__mark::after { right: 0; bottom: 1px; border-color: var(--col-green); }
.col-brand strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1; letter-spacing: -.025em; }
.col-brand small { display: block; margin-top: 6px; color: var(--col-muted); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.col-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 750; }
.col-nav a { color: var(--col-ink); text-decoration: none; }
.col-nav a:hover { color: var(--col-blue-deep); }
.col-nav__button { padding: 11px 18px; color: #fff !important; background: var(--col-ink); border-radius: 999px; }
.col-nav__button:hover { background: var(--col-blue-deep); }
.col-menu-toggle { display: none; border: 0; background: transparent; color: var(--col-ink); font-size: 25px; cursor: pointer; }

.col-hero { position: relative; overflow: hidden; padding: 108px 0 102px; background: linear-gradient(135deg,#eefaff 0%,#f7fbf4 58%,#f1f7ea 100%); }
.col-hero::before, .col-hero::after { content: ""; position: absolute; border-radius: 50%; border: 70px solid rgba(54,166,211,.12); }
.col-hero::before { width: 480px; height: 480px; right: -120px; top: -260px; }
.col-hero::after { width: 280px; height: 280px; right: 180px; bottom: -245px; border-color: rgba(134,196,64,.15); }
.col-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); gap: 72px; align-items: center; }
.col-kicker { margin: 0 0 18px; color: var(--col-blue-deep); font-size: 13px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.col-hero h1 { max-width: 760px; margin: 0 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(49px,6vw,76px); font-weight: 500; line-height: 1.03; letter-spacing: -.045em; }
.col-hero__lead { max-width: 690px; margin: 0 0 34px; color: var(--col-muted); font-size: 20px; }
.col-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.col-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.col-button:hover { transform: translateY(-2px); }
.col-button--green { color: #17310b; background: var(--col-green); }
.col-button--outline { color: var(--col-ink); border-color: #afbec1; background: rgba(255,255,255,.55); }
.col-search-card { padding: 31px; background: #fff; border: 1px solid var(--col-line); border-radius: 26px; box-shadow: var(--col-shadow); }
.col-search-card h2 { margin: 0 0 8px; font-size: 24px; }
.col-search-card p { margin: 0 0 20px; color: var(--col-muted); font-size: 14px; }
.col-search { display: flex; gap: 8px; }
.col-search label { flex: 1; }
.col-search input { width: 100%; min-height: 49px; padding: 10px 13px; border: 1px solid var(--col-line); border-radius: 10px; font: inherit; }
.col-search button { min-width: 92px; color: #fff; background: var(--col-blue-deep); border: 0; border-radius: 10px; font-weight: 800; cursor: pointer; }
.col-introbar { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--col-line); border-block: 1px solid var(--col-line); }
.col-introbar__item { padding: 23px 18px; text-align: center; background: #fff; }
.col-introbar__item strong { display: block; }
.col-introbar__item span { color: var(--col-muted); font-size: 13px; }

.col-section { padding: 82px 0; }
.col-section--soft { background: var(--col-soft); }
.col-section--aqua { background: var(--col-aqua); }
.col-section__head { display: flex; align-items: end; justify-content: space-between; gap: 38px; margin-bottom: 36px; }
.col-section__head h2 { max-width: 700px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px,4.5vw,52px); font-weight: 500; line-height: 1.09; letter-spacing: -.035em; }
.col-section__head p { max-width: 530px; margin: 0; color: var(--col-muted); }
.col-topics { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.col-topic { min-height: 210px; padding: 27px; color: var(--col-ink); background: #fff; border: 1px solid var(--col-line); border-radius: var(--col-radius); text-decoration: none; box-shadow: 0 8px 26px rgba(41,43,48,.045); transition: transform .18s ease, box-shadow .18s ease; }
.col-topic:hover { transform: translateY(-4px); box-shadow: var(--col-shadow); }
.col-topic__icon { display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 28px; color: var(--col-blue-deep); background: var(--col-aqua); border-radius: 50%; font-size: 21px; }
.col-topic:nth-child(even) .col-topic__icon { color: var(--col-green-deep); background: #eff8e5; }
.col-topic strong { display: block; margin-bottom: 6px; font-size: 19px; }
.col-topic span { color: var(--col-muted); font-size: 14px; }
.col-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.col-card { overflow: hidden; background: #fff; border: 1px solid var(--col-line); border-radius: var(--col-radius); box-shadow: 0 8px 26px rgba(41,43,48,.045); }
.col-card__image { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg,#dff4fb,#f0f8e7); }
.col-card__image::before, .col-card__image::after { content: ""; position: absolute; width: 110px; height: 110px; border: 22px solid rgba(54,166,211,.22); border-radius: 50%; }
.col-card__image::before { left: 19%; top: 12%; }
.col-card__image::after { right: 18%; bottom: 7%; border-color: rgba(134,196,64,.25); }
.col-card__image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.col-card__body { padding: 24px; }
.col-card__meta { margin-bottom: 9px; color: var(--col-green-deep); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.col-card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.32; }
.col-card h3 a { color: var(--col-ink); text-decoration: none; }
.col-card p { margin: 0; color: var(--col-muted); font-size: 14px; }
.col-quote { display: grid; grid-template-columns: 1fr auto; gap: 45px; align-items: center; padding: 48px; color: #fff; background: var(--col-ink); border-radius: 26px; }
.col-quote blockquote { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px,3.2vw,39px); line-height: 1.26; }
.col-quote p { margin: 10px 0 0; color: rgba(255,255,255,.62); font-size: 14px; }

.col-titlebar { position: relative; overflow: hidden; padding: 70px 0 62px; background: linear-gradient(135deg,#edfaff,#f4f9ee); border-bottom: 1px solid var(--col-line); }
.col-titlebar::after { content: ""; position: absolute; width: 260px; height: 260px; right: 8%; top: -175px; border: 48px solid rgba(54,166,211,.13); border-radius: 50%; }
.col-breadcrumb { margin-bottom: 14px; color: var(--col-muted); font-size: 13px; }
.col-breadcrumb a { color: var(--col-muted); text-decoration: none; }
.col-titlebar h1 { position: relative; max-width: 970px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(41px,5.2vw,64px); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; }
.col-titlebar__meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; color: var(--col-muted); font-size: 14px; }
.col-layout { display: grid; grid-template-columns: minmax(0,780px) minmax(240px,1fr); gap: 62px; align-items: start; padding-top: 58px; padding-bottom: 84px; }
.col-content { min-width: 0; }
.col-content > *:first-child { margin-top: 0; }
.col-content h1 { font-size: 40px; }
.col-content h2, .col-content h3, .col-content h4 { margin: 1.65em 0 .55em; color: var(--col-ink); line-height: 1.24; letter-spacing: -.025em; }
.col-content h2 { font-family: Georgia, "Times New Roman", serif; font-size: 33px; font-weight: 500; }
.col-content h3 { font-size: 24px; }
.col-content p, .col-content ul, .col-content ol { margin: 0 0 1.25em; }
.col-content blockquote { margin: 30px 0; padding: 22px 27px; border-left: 4px solid var(--col-green); background: var(--col-soft); }
.col-content img { border-radius: 14px; }
.col-content iframe, .col-content video { width: 100%; max-width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 14px; }
.col-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.col-content td, .col-content th { padding: 10px 12px; border: 1px solid var(--col-line); }
.col-featured { margin: -20px 0 40px; overflow: hidden; border-radius: var(--col-radius); box-shadow: var(--col-shadow); }
.col-featured img { display: block; width: 100%; max-height: 540px; object-fit: cover; }
.col-sidebar { position: sticky; top: 108px; }
.col-sidebar__box { padding: 25px; background: var(--col-soft); border: 1px solid var(--col-line); border-radius: var(--col-radius); }
.col-sidebar__box + .col-sidebar__box { margin-top: 18px; }
.col-sidebar h2 { margin: 0 0 13px; font-size: 18px; }
.col-sidebar p { margin: 0 0 15px; color: var(--col-muted); font-size: 14px; }
.col-sidebar ul { margin: 0; padding: 0; list-style: none; }
.col-sidebar li + li { margin-top: 9px; }
.col-sidebar a { color: var(--col-ink); font-size: 14px; text-decoration: none; }
.col-sidebar .col-button--green { color: #17310b; }
.col-author { display: flex; gap: 16px; margin-top: 48px; padding: 24px; background: var(--col-soft); border-radius: var(--col-radius); }
.col-author img { width: 58px; height: 58px; border-radius: 50%; }
.col-author strong { display: block; }
.col-author p { margin: 4px 0 0; color: var(--col-muted); font-size: 14px; }
.col-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; padding-top: 25px; border-top: 1px solid var(--col-line); }
.col-pager a { display: block; padding: 16px; color: var(--col-ink); border: 1px solid var(--col-line); border-radius: 11px; text-decoration: none; }
.col-pager__next { text-align: right; }
.col-related { padding: 66px 0 82px; background: var(--col-soft); }
.col-related h2 { margin: 0 0 26px; font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 500; }
.col-empty { padding: 100px 0; text-align: center; }

.col-footer { padding: 60px 0 28px; color: rgba(255,255,255,.7); background: #24262a; }
.col-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; }
.col-footer h2, .col-footer h3 { margin-top: 0; color: #fff; }
.col-footer h2 { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; }
.col-footer h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.col-footer p { max-width: 470px; font-size: 14px; }
.col-footer ul { margin: 0; padding: 0; list-style: none; }
.col-footer li + li { margin-top: 8px; }
.col-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.col-footer a:hover { color: #fff; }
.col-footer__bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

@media (max-width: 980px) {
  .col-hero__grid, .col-layout { grid-template-columns: 1fr; }
  .col-topics { grid-template-columns: repeat(2,1fr); }
  .col-cards { grid-template-columns: repeat(2,1fr); }
  .col-sidebar { position: static; }
}
@media (max-width: 750px) {
  .col-wrap { width: min(calc(100% - 28px), var(--col-width)); }
  .col-header__inner { min-height: 69px; }
  .col-menu-toggle { display: block; }
  .col-nav { display: none; position: absolute; left: 0; right: 0; top: 69px; padding: 22px; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--col-line); box-shadow: var(--col-shadow); }
  .col-nav.is-open { display: flex; }
  .col-nav__button { text-align: center; }
  .col-hero { padding: 76px 0; }
  .col-hero__grid { gap: 40px; }
  .col-hero h1 { font-size: 47px; }
  .col-hero__lead { font-size: 18px; }
  .col-introbar, .col-topics, .col-cards, .col-footer__grid { grid-template-columns: 1fr; }
  .col-section { padding: 60px 0; }
  .col-section__head { display: block; }
  .col-section__head p { margin-top: 13px; }
  .col-search { display: block; }
  .col-search button { width: 100%; min-height: 48px; margin-top: 8px; }
  .col-quote { display: block; padding: 31px; }
  .col-quote .col-button { margin-top: 22px; }
  .col-titlebar { padding: 51px 0 46px; }
  .col-layout { gap: 43px; padding-top: 41px; }
  .col-pager { grid-template-columns: 1fr; }
  .col-pager__next { text-align: left; }
}

