/*
Theme Name: Exams Pinas
Theme URI: https://examspinas.com/
Author: Exams Pinas
Author URI: https://examspinas.com/
Description: Modern, fast, mobile-first WordPress theme for Exams Pinas - the online guide for Philippine examinations. Professional academic design with prominent search, color-coded exam categories, and clean ad placements.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: examspinas
Tags: education, blog, news, two-columns, right-sidebar, responsive-layout, featured-images, custom-menu, threaded-comments
*/

:root {
  --navy: #042C53;
  --navy-700: #0C447C;
  --navy-500: #185FA5;
  --navy-100: #E6F1FB;
  --teal-900: #04342C;
  --teal-700: #085041;
  --teal-100: #E1F5EE;
  --amber-900: #412402;
  --amber-700: #633806;
  --amber-100: #FAEEDA;
  --purple-900: #26215C;
  --purple-700: #3C3489;
  --purple-100: #EEEDFE;
  --pink-900: #4B1528;
  --pink-700: #72243E;
  --pink-100: #FBEAF0;
  --coral-900: #4A1B0C;
  --coral-700: #712B13;
  --coral-100: #FAECE7;
  --text: #1A1A1A;
  --text-muted: #5F5F5F;
  --text-light: #8A8A8A;
  --border: #E5E5E5;
  --border-light: #F0F0F0;
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy-500); }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; font-weight: 600; line-height: 1.3; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== Top utility bar ===== */
.topbar { background: var(--navy); color: #fff; font-size: 12px; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar .date i { vertical-align: -2px; margin-right: 4px; }
.topbar .quicklinks { opacity: 0.85; }
.topbar .quicklinks a { margin-left: 14px; color: #fff; }

/* ===== Header ===== */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark { width: 42px; height: 42px; background: var(--navy); color: #fff; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; letter-spacing: -0.5px; }
.logo-text { line-height: 1.2; }
.logo-text .name { font-family: 'Lora', serif; font-size: 18px; font-weight: 600; color: var(--navy); }
.logo-text .tag { font-size: 11px; color: var(--text-muted); }

.searchbar { flex: 1; display: flex; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; transition: border-color 0.15s; max-width: 520px; }
.searchbar:focus-within { border-color: var(--navy); background: var(--white); }
.searchbar i { color: var(--text-light); margin-right: 10px; font-size: 18px; }
.searchbar input { flex: 1; border: none; background: transparent; font-size: 14px; outline: none; font-family: inherit; color: var(--text); }
.searchbar input::placeholder { color: var(--text-light); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-ghost { font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 999px; color: var(--navy); background: var(--navy-100); border: none; cursor: pointer; transition: background 0.15s; text-decoration: none; }
.btn-ghost:hover { background: #D8E8F8; color: var(--navy); }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius); width: 38px; height: 38px; cursor: pointer; color: var(--text); font-size: 20px; align-items: center; justify-content: center; }

/* ===== Main nav ===== */
.mainnav { background: var(--white); border-bottom: 1px solid var(--border); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mainnav .container { padding: 0 20px; }
.mainnav ul { display: flex; gap: 4px; white-space: nowrap; list-style: none; margin: 0; padding: 0; }
.mainnav a { display: block; font-size: 14px; color: var(--text-muted); padding: 14px 16px; font-weight: 500; border-bottom: 2px solid transparent; transition: all 0.15s; }
.mainnav a:hover { color: var(--navy); }
.mainnav li.current-menu-item a, .mainnav a.active { color: var(--navy); border-bottom-color: var(--navy); }

/* ===== Hero ===== */
.hero { background: linear-gradient(180deg, var(--white) 0%, #F6F9FC 100%); padding: 56px 0 48px; border-bottom: 1px solid var(--border); }
.hero-eyebrow { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--navy-500); background: var(--navy-100); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; text-transform: uppercase; }
.hero h1 { font-family: 'Lora', serif; font-size: 38px; font-weight: 600; color: var(--text); line-height: 1.2; margin-bottom: 14px; max-width: 720px; letter-spacing: -0.5px; }
.hero p { font-size: 16px; color: var(--text-muted); max-width: 620px; margin-bottom: 28px; }
.hero-search { display: flex; align-items: center; background: var(--white); border: 2px solid var(--navy); border-radius: 12px; padding: 6px; max-width: 620px; box-shadow: 0 4px 16px rgba(4, 44, 83, 0.08); }
.hero-search input { border: none; flex: 1; padding: 12px 16px; font-size: 15px; background: transparent; outline: none; font-family: inherit; color: var(--text); }
.hero-search button { background: var(--navy); color: #fff; border: none; padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; transition: background 0.15s; }
.hero-search button:hover { background: var(--navy-700); }
.hero-popular { margin-top: 14px; font-size: 13px; color: var(--text-light); }
.hero-popular a { color: var(--navy-500); font-weight: 500; margin: 0 4px; }
.hero-popular a:hover { text-decoration: underline; }

/* ===== Sections ===== */
.section { padding: 48px 0; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.section-head h2 { font-family: 'Lora', serif; font-size: 24px; font-weight: 600; color: var(--text); letter-spacing: -0.3px; margin: 0; }
.section-head .more { font-size: 13px; color: var(--navy-500); font-weight: 500; }
.section-head .more i { vertical-align: -2px; }
.section-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--text-light); margin-bottom: 8px; text-transform: uppercase; }

/* ===== Category tiles ===== */
.categories { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat-tile { background: var(--white); border-radius: var(--radius-lg); padding: 18px 12px; text-align: center; border: 1px solid var(--border); transition: all 0.2s; cursor: pointer; display: block; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.cat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 24px; }
.cat-tile .cat-name { font-size: 13px; font-weight: 600; color: var(--text); }
.cat-tile .cat-count { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.cat-cpale .cat-icon { background: var(--navy-100); color: var(--navy-700); }
.cat-nle .cat-icon { background: var(--teal-100); color: var(--teal-700); }
.cat-let .cat-icon { background: var(--amber-100); color: var(--amber-700); }
.cat-cle .cat-icon { background: var(--purple-100); color: var(--purple-700); }
.cat-csc .cat-icon { background: var(--pink-100); color: var(--pink-700); }
.cat-upcat .cat-icon { background: var(--coral-100); color: var(--coral-700); }
.categories-foot { text-align: center; margin-top: 20px; }
.categories-foot a { font-size: 13px; color: var(--navy-500); font-weight: 500; }

/* ===== Ad slot ===== */
.ad-slot { background: var(--white); border: 1px dashed var(--border); border-radius: var(--radius-lg); padding: 20px; text-align: center; margin: 24px 0; }
.ad-slot .label { font-size: 10px; letter-spacing: 1.5px; color: var(--text-light); margin-bottom: 4px; font-weight: 600; }
.ad-slot .text { font-size: 13px; color: var(--text-muted); }
.ad-leaderboard { min-height: 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ad-rectangle { min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* ===== Main grid ===== */
.main-grid { display: grid; grid-template-columns: 1fr 300px; gap: 32px; margin-top: 8px; }

/* ===== Article cards ===== */
.articles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.article-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.2s; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.article-thumb { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 42px; overflow: hidden; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-thumb a { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.article-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.article-tag { font-size: 10px; font-weight: 600; letter-spacing: 1px; margin-bottom: 8px; text-transform: uppercase; }
.article-tag a { color: inherit; }
.article-card h3 { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.4; margin: 0 0 10px; flex: 1; }
.article-card h3 a { color: inherit; }
.article-meta { font-size: 11px; color: var(--text-light); display: flex; gap: 10px; align-items: center; }
.article-meta i { vertical-align: -2px; font-size: 13px; }

.thumb-navy { background: var(--navy-100); color: var(--navy-700); }
.thumb-teal { background: var(--teal-100); color: var(--teal-700); }
.thumb-purple { background: var(--purple-100); color: var(--purple-700); }
.thumb-amber { background: var(--amber-100); color: var(--amber-700); }
.thumb-pink { background: var(--pink-100); color: var(--pink-700); }
.thumb-coral { background: var(--coral-100); color: var(--coral-700); }
.tag-navy { color: var(--navy-700); }
.tag-teal { color: var(--teal-700); }
.tag-purple { color: var(--purple-700); }
.tag-amber { color: var(--amber-700); }
.tag-pink { color: var(--pink-700); }
.tag-coral { color: var(--coral-700); }

/* ===== Featured (large) post ===== */
.featured { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; display: grid; grid-template-columns: 1.2fr 1fr; transition: all 0.2s; }
.featured:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.featured-thumb { background: var(--navy-100); color: var(--navy-700); display: flex; align-items: center; justify-content: center; min-height: 240px; font-size: 70px; overflow: hidden; }
.featured-thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.featured-badge { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; color: var(--coral-700); background: var(--coral-100); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; width: fit-content; text-transform: uppercase; }
.featured h3 { font-family: 'Lora', serif; font-size: 22px; font-weight: 600; color: var(--text); line-height: 1.3; margin-bottom: 12px; letter-spacing: -0.3px; }
.featured h3 a { color: inherit; }
.featured p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.featured-meta { font-size: 12px; color: var(--text-light); }

/* ===== Sidebar ===== */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.side-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.side-card.accent { background: var(--navy-100); border-color: var(--navy-100); }
.side-card h4, .side-card .widget-title { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--text-light); margin: 0 0 14px; text-transform: uppercase; }
.side-card.accent h4 { color: var(--navy-700); }
.side-card.accent h4 i { vertical-align: -2px; margin-right: 4px; }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li { padding: 8px 0; border-bottom: 1px solid var(--border-light); font-size: 13px; }
.side-card li:last-child { border-bottom: none; }
.side-card li a { color: var(--text); }
.side-card li a:hover { color: var(--navy-500); }

.exam-list { list-style: none; margin: 0; padding: 0; }
.exam-list li { padding: 10px 0; border-bottom: 1px solid rgba(4, 44, 83, 0.1); }
.exam-list li:last-child { border-bottom: none; padding-bottom: 0; }
.exam-list li:first-child { padding-top: 0; }
.exam-list .exam-name { font-size: 13px; font-weight: 600; color: var(--navy); }
.exam-list .exam-date { font-size: 12px; color: var(--navy-500); margin-top: 2px; }
.exam-list .countdown { font-size: 10px; color: var(--coral-700); background: var(--coral-100); padding: 2px 8px; border-radius: 999px; margin-top: 4px; display: inline-block; font-weight: 600; }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill { font-size: 11px; padding: 5px 10px; border-radius: 999px; font-weight: 500; transition: opacity 0.15s; display: inline-block; }
.tag-pill:hover { opacity: 0.85; }
.pill-navy { background: var(--navy-100); color: var(--navy-700); }
.pill-teal { background: var(--teal-100); color: var(--teal-700); }
.pill-purple { background: var(--purple-100); color: var(--purple-700); }
.pill-amber { background: var(--amber-100); color: var(--amber-700); }
.pill-pink { background: var(--pink-100); color: var(--pink-700); }

.newsletter { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 22px; border: none; }
.newsletter h4 { color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.newsletter p { font-family: 'Lora', serif; font-size: 17px; line-height: 1.4; margin-bottom: 14px; font-weight: 500; color: #fff; }
.newsletter form { display: flex; gap: 6px; }
.newsletter input { flex: 1; border: none; padding: 10px 12px; border-radius: 6px; font-size: 13px; font-family: inherit; outline: none; }
.newsletter button { background: #fff; color: var(--navy); border: none; padding: 10px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; }

/* ===== Single post ===== */
.single-article { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 36px; }
.single-article .post-meta { font-size: 12px; color: var(--text-light); margin-bottom: 12px; }
.single-article .post-meta a { color: var(--navy-500); font-weight: 500; }
.single-article h1 { font-family: 'Lora', serif; font-size: 32px; font-weight: 600; line-height: 1.25; margin-bottom: 16px; letter-spacing: -0.4px; }
.single-article .post-thumb { margin: 0 -36px 24px; }
.single-article .post-thumb img { width: 100%; }
.single-article .entry-content { font-size: 16px; line-height: 1.8; color: var(--text); }
.single-article .entry-content h2 { font-family: 'Lora', serif; font-size: 24px; margin: 32px 0 12px; }
.single-article .entry-content h3 { font-size: 19px; margin: 24px 0 10px; }
.single-article .entry-content p { margin-bottom: 16px; }
.single-article .entry-content img { border-radius: var(--radius); margin: 16px 0; }
.single-article .entry-content a { color: var(--navy-500); text-decoration: underline; }
.single-article .entry-content ul, .single-article .entry-content ol { margin: 16px 0; padding-left: 24px; }
.single-article .entry-content blockquote { border-left: 4px solid var(--navy); background: var(--navy-100); padding: 16px 20px; margin: 20px 0; font-family: 'Lora', serif; font-style: italic; border-radius: 0 var(--radius) var(--radius) 0; }
.single-article .entry-content code { background: var(--bg); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.single-article .post-tags { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.single-article .post-tags-label { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--text-light); text-transform: uppercase; margin-right: 8px; }

/* ===== Archive header ===== */
.archive-header { background: linear-gradient(180deg, var(--white) 0%, #F6F9FC 100%); padding: 40px 0; border-bottom: 1px solid var(--border); }
.archive-header h1 { font-family: 'Lora', serif; font-size: 32px; font-weight: 600; color: var(--text); letter-spacing: -0.3px; margin: 0 0 8px; }
.archive-header .archive-desc { font-size: 14px; color: var(--text-muted); max-width: 620px; margin: 0; }
.archive-header .breadcrumb { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.archive-header .breadcrumb a { color: var(--navy-500); }

/* ===== Pagination ===== */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 14px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; color: var(--text); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination a:hover { background: var(--navy-100); color: var(--navy); }

/* ===== Comments ===== */
.comments-area { margin-top: 32px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.comments-area h3, .comments-area h2 { font-family: 'Lora', serif; font-size: 20px; margin-bottom: 16px; }
.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.comment-list li { padding: 16px 0; border-bottom: 1px solid var(--border-light); }
.comment-form input, .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: 14px; margin-bottom: 12px; outline: none; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--navy); }
.comment-form .submit { background: var(--navy); color: #fff; border: none; padding: 10px 24px; border-radius: var(--radius); font-weight: 600; cursor: pointer; }

/* ===== Recent jobs ===== */
.jobs-section { background: var(--white); border-top: 1px solid var(--border); }
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
.job-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; transition: all 0.15s; background: var(--white); display: block; }
.job-card:hover { border-color: var(--navy-500); background: var(--navy-100); }
.job-card .job-school { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.job-card .job-role { font-size: 13px; color: var(--navy-500); font-weight: 500; margin-bottom: 6px; }
.job-card .job-meta { font-size: 12px; color: var(--text-light); display: flex; gap: 12px; align-items: center; }
.job-card .job-meta i { vertical-align: -2px; font-size: 13px; }
.job-tag { font-size: 10px; background: var(--teal-100); color: var(--teal-700); padding: 2px 8px; border-radius: 999px; font-weight: 600; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.85); padding: 48px 0 24px; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h5 { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; margin-bottom: 14px; text-transform: uppercase; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo-text .name { color: #fff; }
.footer-brand .logo-text .tag { color: rgba(255,255,255,0.6); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; max-width: 320px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 32px; height: 32px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; transition: background 0.15s; }
.footer-social a:hover { background: rgba(255,255,255,0.2); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero h1 { font-size: 28px; }
  .hero { padding: 40px 0 32px; }
  .main-grid { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .featured-thumb { min-height: 160px; font-size: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .categories { grid-template-columns: repeat(3, 1fr); }
  .jobs-grid { grid-template-columns: 1fr; }
  .single-article { padding: 24px; }
  .single-article .post-thumb { margin: 0 -24px 20px; }
  .single-article h1 { font-size: 26px; }
}
@media (max-width: 640px) {
  .searchbar { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .header-inner { gap: 12px; justify-content: space-between; }
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 14px; }
  .hero-search input { padding: 10px 12px; font-size: 14px; }
  .hero-search button { padding: 10px 14px; font-size: 13px; }
  .articles-grid { grid-template-columns: 1fr; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 32px 0; }
  .topbar .quicklinks { display: none; }
  .featured-body { padding: 20px; }
  .featured h3 { font-size: 18px; }
  .single-article { padding: 20px; }
  .single-article h1 { font-size: 22px; }
}

/* ===== WordPress core ===== */
.alignleft { float: left; margin: 5px 20px 20px 0; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.aligncenter { display: block; margin: 5px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--text-muted); text-align: center; padding: 8px 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
