/*
Theme Name: QubitNews
Theme URI: https://qubitnews.com
Author: QubitNews Team
Description: Tema minimalista premium para noticias de tecnología, juegos y software. Clean. Preciso. Sin ruido.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qubitnews
Tags: blog, news, minimal, dark-mode, technology, one-column, two-columns, three-columns, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   DESIGN TOKENS — CSS Custom Properties
   Light mode uses warm off-white/carbon. Dark mode uses
   near-black slate/warm cream. Never pure #000 or #fff.
============================================================ */
:root {
  /* Light Mode */
  --bg-primary:    #F4F2ED;
  --bg-secondary:  #ECEAE3;
  --text-primary:  #1C1B19;
  --text-secondary:#5A584F;
  --text-muted:    #908E84;
  --border:        #E0DDD5;
  --accent:        #1C1B19;
  --tag-bg:        #1C1B19;
  --tag-text:      #F4F2ED;
  --shadow-sm:     0 1px 3px rgba(28,27,25,.06);
  --shadow-md:     0 6px 20px rgba(28,27,25,.09);

  /* Typographic scale */
  --font-sans:    'Inter', 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  /* Spacing */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-14: 3.5rem;
  --sp-20: 5rem;

  /* Motion — smooth, not bouncy */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:  160ms;
  --t-base:  260ms;
  --t-slow:  400ms;

  /* Radius */
  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-xl: 16px;

  /* Layout */
  --max-w: 1280px;
  --header-h: 58px;
}

[data-theme="dark"] {
  --bg-primary:    #111110;
  --bg-secondary:  #1A1916;
  --text-primary:  #E8E5DC;
  --text-secondary:#9B9890;
  --text-muted:    #5A5852;
  --border:        #252320;
  --accent:        #E8E5DC;
  --tag-bg:        #E8E5DC;
  --tag-text:      #111110;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.35);
  --shadow-md:     0 6px 20px rgba(0,0,0,.45);
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--t-slow) var(--ease-out),
              color var(--t-slow) var(--ease-out);
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.022em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.375rem); }

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ============================================================
   LAYOUT SHELL
============================================================ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-10);
}

@media (max-width: 768px) {
  .container { padding-inline: var(--sp-4); }
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  /* Frosted glass — tints bg slightly instead of pure opacity */
  background-color: color-mix(in srgb, var(--bg-primary) 82%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition:
    background-color var(--t-slow) var(--ease-out),
    border-color    var(--t-slow) var(--ease-out);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Branding */
.site-branding a {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  transition: opacity var(--t-fast) var(--ease-out);
}

.site-branding a:hover { opacity: .6; }
.site-branding .brand-dim { font-weight: 400; opacity: .4; }

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav-menu a {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease-out);
}

.nav-menu a:hover { color: var(--text-primary); }

/* Dark Mode Toggle — just an icon, no box */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: var(--sp-2);
  color: var(--text-muted);
  border-radius: var(--r-md);
  transition:
    color     var(--t-fast) var(--ease-out),
    transform var(--t-base) var(--ease-out);
}

.theme-toggle:hover {
  color: var(--text-primary);
  transform: rotate(18deg) scale(1.05);
}

.theme-toggle svg { width: 17px; height: 17px; pointer-events: none; }

/* Icon swap — sun shown in dark, moon shown in light */
.icon-sun  { display: block; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun  { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* Mobile hamburger */
.hamburger {
  display: none;
  align-items: center;
  background: none;
  border: none;
  padding: var(--sp-2);
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: var(--sp-4) var(--sp-4);
  }

  .nav-menu.is-open { display: flex; }
}

/* ============================================================
   HERO SECTION — first/featured post
============================================================ */
.hero-section {
  padding-block: var(--sp-14) var(--sp-10);
}

.hero-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-14);
  align-items: center;
}

@media (max-width: 860px) {
  .hero-post { grid-template-columns: 1fr; gap: var(--sp-6); }
}

.hero-thumb-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  aspect-ratio: 16/9;
  background-color: var(--bg-secondary);
}

.hero-thumb-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}

.hero-thumb-wrap:hover img { transform: scale(1.035); }

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.hero-title {
  font-size: clamp(1.6rem, 3.8vw, 2.8rem);
  letter-spacing: -0.028em;
  line-height: 1.08;
}

.hero-title a { color: var(--text-primary); transition: opacity var(--t-fast); }
.hero-title a:hover { opacity: .58; }

.hero-excerpt {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   SECTION DIVIDER
============================================================ */
.section-header {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding-block: var(--sp-8) var(--sp-6);
  border-top: 1px solid var(--border);
}

.section-label {
  white-space: nowrap;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ============================================================
   NEWS GRID — 12-column asymmetric auto-placement
   Pattern: [7][5] → [4][4][4] → [5][7] → [4][4][4] → repeat
============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--sp-10) var(--sp-6);
  padding-bottom: var(--sp-14);
}

/* Row A */
.news-grid .card:nth-child(1)  { grid-column: span 7; }
.news-grid .card:nth-child(2)  { grid-column: span 5; }
/* Row B */
.news-grid .card:nth-child(3),
.news-grid .card:nth-child(4),
.news-grid .card:nth-child(5)  { grid-column: span 4; }
/* Row C — reversed asymmetry */
.news-grid .card:nth-child(6)  { grid-column: span 5; }
.news-grid .card:nth-child(7)  { grid-column: span 7; }
/* Row D */
.news-grid .card:nth-child(8),
.news-grid .card:nth-child(9),
.news-grid .card:nth-child(10) { grid-column: span 4; }
/* Fallback for anything after */
.news-grid .card:nth-child(n+11) { grid-column: span 4; }

@media (max-width: 1024px) {
  .news-grid .card { grid-column: span 6 !important; }
}

@media (max-width: 600px) {
  .news-grid .card { grid-column: span 12 !important; }
  .news-grid { gap: var(--sp-8) 0; }
}

/* ============================================================
   CARD — content is the protagonist, zero visual noise
============================================================ */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.card-thumb-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 16/9;
  background-color: var(--bg-secondary);
}

.card-thumb-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition:
    transform var(--t-slow) var(--ease-out),
    opacity  var(--t-base) var(--ease-out);
}

.card:hover .card-thumb-wrap img {
  transform: scale(1.04);
  opacity: .88;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.014em;
  color: var(--text-primary);
}

/* First card gets a bigger title since it spans more columns */
.news-grid .card:nth-child(1) .card-title { font-size: 1.2rem; }

.card-title a { color: inherit; transition: opacity var(--t-fast); }
.card-title a:hover { opacity: .55; }

/* ============================================================
   TAXONOMY TAGS & POST META
============================================================ */
.post-category {
  display: inline-block;
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background-color: var(--tag-bg);
  color: var(--tag-text);
  padding: 3px 7px;
  border-radius: var(--r-sm);
  transition:
    background-color var(--t-slow) var(--ease-out),
    color            var(--t-slow) var(--ease-out);
}

.post-date {
  font-size: .6875rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ============================================================
   PAGINATION
============================================================ */
.pagination-wrap {
  display: flex;
  justify-content: center;
  padding-block: var(--sp-10);
  border-top: 1px solid var(--border);
}

.pagination-wrap .page-numbers {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex-wrap: wrap;
}

.pagination-wrap .page-numbers li a,
.pagination-wrap .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding-inline: var(--sp-2);
  font-size: .8125rem;
  font-weight: 600;
  border-radius: var(--r-md);
  color: var(--text-secondary);
  transition: all var(--t-fast) var(--ease-out);
  border: 1px solid transparent;
}

.pagination-wrap .page-numbers li a:hover {
  background-color: var(--bg-secondary);
  border-color: var(--border);
  color: var(--text-primary);
}

.pagination-wrap .page-numbers li span.current {
  background-color: var(--accent);
  color: var(--tag-text);
  border-color: var(--accent);
}

/* ============================================================
   SINGLE POST
============================================================ */
.single-header {
  padding-top: var(--sp-14);
  padding-bottom: var(--sp-8);
  max-width: 800px;
  margin-inline: auto;
}

.single-header .post-category {
  margin-bottom: var(--sp-4);
}

.single-title {
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  letter-spacing: -.03em;
  line-height: 1.08;
  margin-bottom: var(--sp-6);
}

.single-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.single-author {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.single-featured-image {
  width: 100%;
  margin-bottom: var(--sp-14);
  overflow: hidden;
  aspect-ratio: 21/9;
}

.single-featured-image img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Prose content */
.entry-content {
  max-width: 700px;
  margin-inline: auto;
  padding-bottom: var(--sp-20);
}

.entry-content > * + * { margin-top: var(--sp-6); }

.entry-content p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.entry-content h2 {
  font-size: 1.5rem;
  margin-top: var(--sp-14);
}

.entry-content h3 {
  font-size: 1.25rem;
  margin-top: var(--sp-10);
}

.entry-content img {
  width: 100%;
  border-radius: var(--r-lg);
}

.entry-content a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--border);
  transition: text-decoration-color var(--t-fast);
}

.entry-content a:hover { text-decoration-color: var(--text-primary); }

.entry-content ul,
.entry-content ol {
  padding-left: var(--sp-6);
  color: var(--text-secondary);
  line-height: 1.85;
}

.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }

.entry-content blockquote {
  border-left: 2px solid var(--border);
  padding-left: var(--sp-6);
  color: var(--text-muted);
  font-style: italic;
}

.entry-content code {
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: .875em;
  background-color: var(--bg-secondary);
  padding: 2px 6px;
  border-radius: var(--r-sm);
}

.entry-content pre {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: .875rem;
  background-color: var(--bg-secondary);
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  overflow-x: auto;
  border: 1px solid var(--border);
}

.entry-content pre code {
  background: none;
  padding: 0;
  font-size: inherit;
}

/* Post navigation */
.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-8);
  padding-block: var(--sp-10);
  border-top: 1px solid var(--border);
}

.post-nav-item { max-width: 45%; }

.post-nav-label {
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}

.post-nav-title {
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  transition: opacity var(--t-fast);
}

.post-nav-title:hover { opacity: .6; }

.post-nav-item--next { text-align: right; }

/* ============================================================
   FOOTER — Multi-column CSS Grid
============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  transition: border-color var(--t-slow) var(--ease-out);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-10);
  padding-block: var(--sp-14) var(--sp-10);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--identity { grid-column: span 2; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col--identity { grid-column: span 1; }
}

.footer-col-title {
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text-primary);
  display: block;
  margin-bottom: var(--sp-3);
}

.footer-desc {
  font-size: .8125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 260px;
}

/* Menus inside footer columns */
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-col-links a {
  font-size: .8125rem;
  color: var(--text-secondary);
  transition: color var(--t-fast) var(--ease-out);
  line-height: 1.4;
}

.footer-col-links a:hover { color: var(--text-primary); }

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-6);
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: .6875rem;
  color: var(--text-muted);
}

.footer-tagline {
  font-size: .6875rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   EMPTY / 404 STATE
============================================================ */
.no-posts {
  text-align: center;
  padding-block: var(--sp-20);
  color: var(--text-muted);
}

/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ============================================================
   SELECTION
============================================================ */
::selection {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

/* ============================================================
   SITE LOGO — Dynamic light/dark image swap
============================================================ */
.site-logo-link {
  display: inline-flex;
  align-items: center;
  transition: opacity var(--t-fast) var(--ease-out);
}

.site-logo-link:hover { opacity: .7; }

.site-logo {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  /* Fade handled via JS opacity toggle on src swap */
  transition: opacity var(--t-base) var(--ease-out);
}

/* ============================================================
   INDEX — 70 / 30 CONTENT + SIDEBAR LAYOUT
============================================================ */
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-10);
  align-items: start;
  padding-bottom: var(--sp-20);
}

@media (max-width: 1100px) {
  .content-sidebar-wrap { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

/* Sticky sidebar — scrolls with page until header, then pins */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-6));
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  max-height: calc(100vh - var(--header-h) - var(--sp-12));
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.sidebar-widget {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition:
    background-color var(--t-slow) var(--ease-out),
    border-color     var(--t-slow) var(--ease-out);
}

.sidebar-widget-title {
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: var(--sp-3);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}

/* AdSense placeholder */
.ad-placeholder {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
  background-color: var(--bg-secondary);
  transition:
    border-color     var(--t-slow) var(--ease-out),
    background-color var(--t-slow) var(--ease-out);
}

.ad-placeholder svg { opacity: .25; color: var(--text-muted); }

.ad-placeholder-label {
  font-size: .5625rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Popular posts list */
.popular-posts-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.popular-post-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-3);
  align-items: center;
}

.popular-post-thumb {
  aspect-ratio: 1/1;
  border-radius: var(--r-md);
  overflow: hidden;
  background-color: var(--border);
  flex-shrink: 0;
}

.popular-post-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}

.popular-post-body { min-width: 0; }

.popular-post-title {
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popular-post-title a { transition: opacity var(--t-fast); }
.popular-post-title a:hover { opacity: .6; }

.popular-post-body .post-date {
  font-size: .5625rem;
  margin-top: 3px;
}

/* ============================================================
   SPEC TABLES — HTML tables generated by AI for hardware posts
============================================================ */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
  margin-block: var(--sp-10);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-slow) var(--ease-out);
}

.entry-content th,
.entry-content td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
  transition: border-color var(--t-slow) var(--ease-out);
}

.entry-content th {
  background-color: var(--bg-secondary);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .04em;
  color: var(--text-primary);
  white-space: nowrap;
  transition: background-color var(--t-slow) var(--ease-out);
}

.entry-content td { color: var(--text-secondary); }

.entry-content tr:last-child td { border-bottom: none; }

@media (max-width: 600px) {
  .entry-content table { font-size: .8125rem; }
  .entry-content th,
  .entry-content td { padding: var(--sp-2) var(--sp-3); }
}

/* ============================================================
   SCREEN READER UTILITY
============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
