.blog-content, .admin {
  color-scheme: light;
  --ink: #14213a;
  --navy: #1e3a8a;
  --blue: #214bc5;
  --pale: #eff7ff;
  --line: #dce5ef;
  --muted: #485775;
  font: 16px/1.55 "Segoe UI", Arial, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
:where(.blog-content, .admin) a { color: var(--navy); text-decoration: underline; text-underline-offset: .18em; }
:where(.blog-content, .admin) a:hover { color: var(--blue); }
:where(.blog-content, .admin) img { display: block; max-width: 100%; height: auto; }
:where(.blog-content, .admin) :is(input, textarea, select, button) { font: inherit; }
:where(.blog-content, .admin) :is(input:not([type="checkbox"]), textarea, select) {
  width: 100%; min-height: 2.75rem; border: 1px solid #a6b6ce; border-radius: .45rem;
  padding: .5rem .75rem; background: #fff; color: var(--ink);
}
:where(.blog-content, .admin) :is(button, .button) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem;
  border-radius: .45rem; border: 1px solid var(--navy); background: var(--navy); color: #fff;
  padding: .5rem .9rem; font-weight: 700; text-decoration: none; cursor: pointer;
}
:where(.blog-content, .admin) :is(button, .button):hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.button.secondary-button { color: var(--navy); background: #fff; }
.button.secondary-button:hover { color: var(--blue); background: var(--pale); }
:focus-visible { outline: 3px solid #1250cc; outline-offset: 4px; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { display: inline-block; padding: .5rem 1rem; }
.shell { max-width: 76rem; width: calc(100% - 3rem); margin-inline: auto; }
.admin .site-header { border-bottom: 1px solid var(--line); }
.admin .header-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 5.4rem; padding-block: .55rem; }
.admin .brand { display: inline-flex; align-items: center; gap: .58rem; text-decoration: none; line-height: 1.15; }
.admin .brand img { width: 3.5rem; }
.admin .brand strong { display: block; font-size: 1.55rem; letter-spacing: .025em; }
.admin .brand small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.2; }
.masthead { background: var(--pale); border-bottom: 1px solid var(--line); color: var(--navy); }
.masthead .shell { padding-block: clamp(1.15rem, 3vw, 2.15rem); }
.masthead h1 { margin: 0; color: var(--navy); }
.masthead-link { font-weight: 700; font-size: 1.12rem; }
:where(.blog-content, .admin) :is(h1, h2, h3) { margin: 0; font-weight: 700; line-height: 1.16; letter-spacing: -.025em; overflow-wrap: anywhere; }
:where(.blog-content, .admin) h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
:where(.blog-content, .admin) h2 { font-size: clamp(1.3rem, 2.4vw, 1.85rem); }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem); align-items: start; gap: clamp(1.7rem, 4vw, 3.2rem); padding-block: clamp(1.6rem, 4vw, 3.15rem) 4rem; min-height: 66vh; }
.sidebar { border: 1px solid var(--line); border-radius: .75rem; background: #fcfdff; }
.side-section { padding: 1.2rem; }
.side-section + .side-section { border-top: 1px solid var(--line); }
.side-section h2 { margin-bottom: .75rem; font-size: 1.13rem; color: var(--navy); letter-spacing: -.01em; }
.side-section ul { padding: 0; margin: 0; list-style: none; color: var(--muted); }
.side-section li + li { margin-top: .65rem; }
.side-section li a { display: flex; justify-content: space-between; align-items: baseline; gap: .7rem; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.side-section li a[aria-current] { font-weight: 750; }
.count { color: var(--muted); font-variant-numeric: tabular-nums; }
.search { display: grid; grid-template-columns: minmax(0, 1fr) 2.8rem; gap: .45rem; }
.search button { padding: .5rem; }
.magnifier { display: block; width: .83rem; height: .83rem; border: 2px solid #fff; border-radius: 50%; position: relative; margin: -.12rem .1rem .1rem -.12rem; }
.magnifier::after { content: ""; position: absolute; width: .42rem; height: 2px; background: #fff; transform: rotate(45deg); top: .63rem; left: .55rem; }
.post-card { display: grid; align-items: center; border: 1px solid var(--line); border-radius: .8rem; overflow: hidden; background: #fff; }
.post-card + .post-card { margin-top: 1.25rem; }
.post-card.with-cover { grid-template-columns: minmax(12rem, .7fr) minmax(0, 1fr); }
.card-art { align-self: stretch; display: grid; place-items: center; background: #0b2344; }
.card-art img { width: 100%; }
.card-copy { padding: clamp(1.05rem, 2.5vw, 1.85rem); }
.card-copy h2 { margin-top: .65rem; font-size: clamp(1.45rem, 2.55vw, 2.05rem); }
.card-copy h2 a { text-decoration: none; color: var(--ink); }
.card-copy h2 a:hover { color: var(--blue); text-decoration: underline; }
.card-copy p { margin: .7rem 0 1rem; color: var(--muted); }
.read-more { font-weight: 700; }
.post-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .65rem; color: var(--muted); font-size: .88rem; }
.category { text-decoration: none; background: var(--pale); padding: .1rem .45rem; border-radius: .3rem; font-weight: 650; }
.category:hover { text-decoration: underline; }
.article h1 { font-size: clamp(1.95rem, 4.2vw, 3.2rem); max-width: 24ch; }
.article .post-meta { margin-block: .95rem 1.4rem; }
.article-cover { margin: 0 0 1.65rem; }
.article-cover img { max-height: 46rem; width: auto; border-radius: .6rem; }
.article-body { max-width: 69ch; font-size: 1.075rem; line-height: 1.72; overflow-wrap: anywhere; }
.article-body h2 { margin-top: 1.65em; color: var(--navy); }
.article-body p, .article-body ul { margin-block: 1em; }
.article-body ul { list-style: disc; padding-inline-start: 1.5em; }
.article-body li + li { margin-top: .22em; }
.article-body + p { margin-block: 1em; }
.whatsapp { background: #12614a; border-color: #12614a; }
.whatsapp:hover { background: #0b513d; border-color: #0b513d; }
.secondary { margin: 1.45rem 0; max-width: 16.75rem; padding: .4rem; border: 1px solid var(--line); border-radius: .5rem; }
.tags { display: flex; flex-wrap: wrap; gap: .55rem; padding: 1rem 0 0; margin: 1.5rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.tags a { padding: .2rem .48rem; display: inline-block; font-size: .88rem; border-radius: .3rem; background: var(--pale); }
.filter-bar, .pagination { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .94rem; }
.filter-bar { margin-bottom: 1rem; }
.filter-bar span { display: block; color: var(--muted); }
.pagination { margin-top: 1.4rem; justify-content: center; }
.notice { padding: .8rem 1rem; border-radius: .45rem; background: var(--pale); margin: 0 0 1.3rem; }
@media (max-width: 58rem) {
  .columns { grid-template-columns: minmax(0, 1fr) minmax(14rem, 16rem); }
  .post-card.with-cover { grid-template-columns: 1fr; }
  .card-art img { max-width: 19rem; }
}
@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .columns { grid-template-columns: minmax(0, 1fr); }
  .admin .header-inner { min-height: 4.35rem; }
  .admin .brand img { width: 2.35rem; }
  .admin .brand strong { font-size: 1.22rem; }
  .admin .brand small { display: none; }
}
@media (max-width: 22rem) {
  .admin .header-inner { flex-wrap: wrap; align-content: center; gap: .45rem; }
}
