/*
Theme Name: BrowserChrome
Theme URI: https://browserchrome.ru
Author: BrowserChrome.ru
Author URI: https://browserchrome.ru
Description: Профессиональная тема для информационного портала о браузере Google Chrome. Светлый дизайн, SEO-оптимизация, Schema.org микроразметка для ИИ-поисковиков.
Version: 2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: browserchrome
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ======================================================
   BROWSERCHROME.RU — LIGHT THEME v2.0
   ====================================================== */

:root {
  --blue:        #1A73E8;
  --blue-dark:   #1557B0;
  --blue-light:  #E8F0FE;
  --blue-mid:    #4285F4;
  --red:         #EA4335;
  --yellow:      #FBBC04;
  --green:       #34A853;
  --text:        #1C2130;
  --text-sec:    #4A5568;
  --text-muted:  #6B7280;
  --bg:          #FFFFFF;
  --bg-soft:     #F8FAFF;
  --bg-card:     #FFFFFF;
  --border:      #E5E9F2;
  --border-mid:  #D0D9EE;
  --shadow-sm:   0 1px 4px rgba(26,115,232,0.08);
  --shadow-md:   0 4px 20px rgba(26,115,232,0.10);
  --shadow-lg:   0 8px 40px rgba(26,115,232,0.13);
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --transition:  0.22s ease;
  --container:   1180px;
  --font-main:   'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { line-height: 1.3; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
ul, ol { padding-left: 1.5em; }
li { margin-bottom: .35em; }
img { max-width: 100%; height: auto; display: block; }
code { font-family: var(--font-mono); font-size: 0.82em; background: var(--bg-soft); border: 1px solid var(--border); padding: 2px 7px; border-radius: 5px; }
pre { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; overflow-x: auto; }
pre code { background: none; border: none; padding: 0; }
strong { font-weight: 700; }
em { font-style: italic; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 24px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-accent { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-accent:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,115,232,0.3); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--border-mid); }
.btn-outline:hover { border-color: var(--blue); background: var(--blue-light); color: var(--blue); transform: translateY(-2px); }
.btn-soft { background: var(--blue-light); color: var(--blue); border-color: transparent; }
.btn-soft:hover { background: #d0e3fd; color: var(--blue-dark); }
.btn-sm { padding: 7px 16px; font-size: 0.82rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; border-radius: 12px; }
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: #2d8f47; transform: translateY(-2px); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(26,115,232,0.06);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 64px; padding: 10px 0;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.1rem; color: var(--text);
  text-decoration: none; flex-shrink: 0;
}
.logo:hover { color: var(--blue); }
.logo-icon { width: 36px; height: 36px; flex-shrink: 0; }
.logo-icon svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text small { font-size: 0.6rem; font-weight: 400; color: var(--text-muted); letter-spacing: .03em; }

.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; flex-wrap: wrap; }
.main-nav a {
  padding: 7px 14px; border-radius: 8px;
  font-size: 0.88rem; font-weight: 500; color: var(--text-sec);
  transition: all var(--transition); white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active { background: var(--blue-light); color: var(--blue); }
.main-nav a.active { font-weight: 700; }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* ── Hero / Page hero ── */
.page-hero {
  background: linear-gradient(135deg, #EEF4FF 0%, #F0F7FF 50%, #EAF2FF 100%);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { font-size: 1.1rem; color: var(--text-sec); max-width: 680px; margin-bottom: 28px; }
.page-hero .hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600;
  background: #fff; border: 1px solid var(--border);
  color: var(--text-sec); box-shadow: var(--shadow-sm);
}
.badge-blue { background: var(--blue-light); border-color: rgba(26,115,232,0.3); color: var(--blue); }
.badge-green { background: #e8f5e9; border-color: rgba(52,168,83,0.3); color: var(--green); }

/* ── Main home hero ── */
.home-hero {
  background: linear-gradient(150deg, #EEF4FF 0%, #FAFCFF 60%, #F0F7FF 100%);
  padding: 72px 0 60px; position: relative; overflow: hidden;
}
.home-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 20%, rgba(26,115,232,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.home-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.home-hero-text h1 { margin-bottom: 18px; }
.home-hero-text h1 span.accent { color: var(--blue); }
.home-hero-text .lead { font-size: 1.15rem; color: var(--text-sec); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 1.6rem; font-weight: 800; color: var(--blue); line-height: 1; }
.hero-stat .lbl { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }
.home-hero-visual { position: relative; }
.chrome-logo-big {
  width: 220px; height: 220px; margin: 0 auto;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(26,115,232,0.2));
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ── Section base ── */
section { padding: 60px 0; }
.section-header { margin-bottom: 36px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: var(--blue-light); color: var(--blue); margin-bottom: 10px;
}
.section-title { font-size: clamp(1.3rem,3vw,1.9rem); margin-bottom: 10px; }
.section-desc { color: var(--text-sec); font-size: 1rem; max-width: 640px; }
.section-header-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ── Cards ── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(26,115,232,0.25); }
.card-icon { font-size: 2.2rem; margin-bottom: 14px; }
.card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.card-desc { font-size: 0.9rem; color: var(--text-sec); line-height: 1.6; }

.card-grid { display: grid; gap: 20px; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ── Download cards ── */
.download-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px; text-align: center;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.download-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(26,115,232,0.3); }
.download-card .platform-icon { font-size: 3rem; margin-bottom: 14px; }
.download-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.download-card p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }
.version-badge {
  display: inline-block; padding: 3px 10px;
  background: rgba(52,168,83,0.1); border: 1px solid rgba(52,168,83,0.3);
  border-radius: 100px; font-size: 0.72rem; color: var(--green); margin-bottom: 14px;
}

/* ── Feature list ── */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.feature-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
  transition: all var(--transition);
}
.feature-item:hover { border-color: rgba(26,115,232,0.25); background: var(--blue-light); }
.feature-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.feature-text h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.feature-text p { font-size: 0.85rem; color: var(--text-sec); margin: 0; }

/* ── Comparison table ── */
.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.compare-table th { background: var(--bg-soft); font-weight: 700; color: var(--text-sec); font-size: 0.78rem; letter-spacing: .04em; text-transform: uppercase; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: #fafbff; }
.compare-table td:first-child { font-weight: 600; }
.check { color: var(--green); font-size: 1.1rem; }
.cross { color: var(--red); font-size: 1.1rem; }
.neutral { color: var(--text-muted); }
.table-header-blue { background: linear-gradient(135deg, rgba(26,115,232,0.08) 0%, rgba(26,115,232,0.04) 100%) !important; color: var(--blue) !important; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: rgba(26,115,232,0.3); }
.faq-item.open { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,115,232,0.07); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; padding: 16px 20px;
  background: none; border: none; cursor: pointer;
  text-align: left; font-size: 0.95rem; font-weight: 600; color: var(--text);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-soft); }
.faq-item.open .faq-question { background: var(--blue-light); color: var(--blue); }
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 50%; font-size: 1.1rem; font-weight: 400; color: var(--blue);
  transition: all var(--transition);
}
.faq-item.open .faq-icon { background: var(--blue); color: #fff; border-color: var(--blue); transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
  padding: 0 20px;
}
.faq-answer.open { max-height: 600px; padding: 4px 20px 18px; }
.faq-answer p, .faq-answer ul, .faq-answer ol { font-size: 0.9rem; color: var(--text-sec); }

/* ── Info boxes ── */
.info-box {
  border-radius: var(--radius); padding: 18px 22px;
  display: flex; gap: 14px; align-items: flex-start;
  border-left: 4px solid;
}
.info-box-blue { background: var(--blue-light); border-color: var(--blue); }
.info-box-green { background: #e8f5e9; border-color: var(--green); }
.info-box-yellow { background: #fffde7; border-color: var(--yellow); }
.info-box-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.info-box-text strong { display: block; font-size: 0.9rem; margin-bottom: 4px; }
.info-box-text p { font-size: 0.88rem; color: var(--text-sec); margin: 0; }

/* ── CTA banner ── */
.cta-banner {
  background: linear-gradient(135deg, #1A73E8 0%, #1557B0 60%, #0F45A3 100%);
  border-radius: var(--radius-xl); padding: 48px 44px; color: #fff;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  box-shadow: 0 12px 40px rgba(26,115,232,0.3);
}
.cta-banner h3 { font-size: 1.5rem; margin-bottom: 8px; color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.8); margin: 0; }
.cta-banner .btn-white { background: #fff; color: var(--blue); border-color: #fff; }
.cta-banner .btn-white:hover { background: rgba(255,255,255,0.9); }
.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--text-muted); margin-bottom: 18px;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { color: var(--blue-dark); }
.breadcrumb i { font-style: normal; opacity: 0.5; }

/* ── Sidebar ── */
.with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.sidebar-widget {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; margin-bottom: 20px;
}
.sidebar-widget h4 { font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 14px; }
.sidebar-links li { list-style: none; padding: 0; }
.sidebar-links a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 7px; font-size: 0.88rem; color: var(--text-sec); transition: all var(--transition); }
.sidebar-links a:hover { background: var(--blue-light); color: var(--blue); }
.sidebar-links a.active { background: var(--blue-light); color: var(--blue); font-weight: 600; }

/* ── Steps / How to ── */
.steps-list { display: flex; flex-direction: column; gap: 16px; counter-reset: steps; }
.step-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
}
.step-num {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--blue); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem;
}
.step-content h4 { font-size: 0.95rem; margin-bottom: 4px; }
.step-content p { font-size: 0.88rem; color: var(--text-sec); margin: 0; }

/* ── Extensions grid ── */
.ext-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.ext-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; text-align: center;
  transition: all var(--transition);
}
.ext-card:hover { transform: translateY(-4px); border-color: rgba(26,115,232,0.3); box-shadow: var(--shadow-md); }
.ext-icon { font-size: 2.5rem; margin-bottom: 10px; }
.ext-name { font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; }
.ext-cat { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 10px; }
.ext-rating { font-size: 0.75rem; color: var(--yellow); }

/* ── Tags ── */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block; padding: 4px 12px;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 100px; font-size: 0.78rem; color: var(--text-sec);
  transition: all var(--transition); cursor: default;
}
.tag:hover { background: var(--blue-light); border-color: rgba(26,115,232,0.3); color: var(--blue); }

/* ── Accordion nav ── */
.settings-nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.settings-nav a { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 8px; font-size: 0.88rem; color: var(--text-sec); border: 1px solid transparent; transition: all var(--transition); }
.settings-nav a:hover { background: var(--blue-light); color: var(--blue); }
.settings-nav a.active { background: var(--blue-light); color: var(--blue); font-weight: 600; border-color: rgba(26,115,232,0.2); }

/* ── Review / stars ── */
.review-stars { color: var(--yellow); font-size: 1rem; letter-spacing: 2px; }
.review-score { font-size: 2.5rem; font-weight: 800; color: var(--text); line-height: 1; }
.review-max { font-size: 0.9rem; color: var(--text-muted); }

/* ── Table of contents ── */
.toc {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; margin-bottom: 32px;
}
.toc h4 { font-size: 0.88rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { font-size: 0.88rem; margin-bottom: 6px; }
.toc a { color: var(--blue); }
.toc a:hover { color: var(--blue-dark); text-decoration: underline; }

/* ── Footer ── */
.site-footer {
  background: var(--bg-soft); border-top: 1px solid var(--border);
  margin-top: 40px; padding: 56px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); margin: 10px 0 16px; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-sec); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.88rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--border); padding: 20px 0;
  font-size: 0.8rem; color: var(--text-muted);
}
.footer-official { color: var(--green); font-weight: 500; }

/* ── Utilities ── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-blue { color: var(--blue); }
.text-green { color: var(--green); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.soft-bg { background: var(--bg-soft); }
.rounded-section { border-radius: var(--radius-xl); }

/* ── Fade animations ── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── Mobile ── */
@media (max-width: 900px) {
  .home-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .home-hero-visual { display: none; }
  .with-sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-banner { grid-template-columns: 1fr; }
  .cta-actions { align-items: flex-start; }
}
@media (max-width: 680px) {
  section { padding: 44px 0; }
  .main-nav { display: none; flex-direction: column; width: 100%; position: absolute; top: 64px; left: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 12px; gap: 4px; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-cta .btn-accent { display: none; }
  .cta-banner { padding: 32px 24px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
}

/* ── WordPress specific ── */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }
.alignleft { float: left; margin: 0 20px 16px 0; }
.alignright { float: right; margin: 0 0 16px 20px; }
.aligncenter { margin: 0 auto 16px; display: block; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
