/*
Theme Name: GTSERTE Classic
Description: Το Κλασικό θέμα του GTSERTE για άρθρα WordPress, με υποστήριξη WooCommerce.
Version: 1.0.1
Text Domain: gtserte-classic
*/

:root {
  color-scheme: light;
  --paper: #f7f5f0; --ink: #17263b; --muted: #49566a;
  --line: #cbcbd0; --accent: #923a32; --panel: #e5e8ed;
  --solid: #182942; --on-solid: #fff9ed; --radius: 0;
  --title: Georgia, 'Times New Roman', serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { margin-bottom: clamp(1.4rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 2rem; padding-block: 1.1rem; }
.wordmark { text-decoration: none; font: 800 1.65rem/1 var(--title); letter-spacing: .045em; }
.site-nav { display: flex; flex-wrap: wrap; gap: .35rem clamp(.85rem, 2vw, 1.65rem); }
.site-nav a { text-decoration: none; font-size: .925rem; font-weight: 650; }
.site-nav a:hover, .topics a:hover { text-decoration: underline; text-underline-offset: .25em; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--title); }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 375px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.intro { display: grid; align-content: center; justify-items: start; padding: clamp(1.6rem, 5vw, 4.5rem); }
.hero h1 { font-size: clamp(2.4rem, 5.3vw, 4.65rem); letter-spacing: -.06em; line-height: 1.04; }
.intro p { max-width: 38ch; margin-top: 1.4rem; color: var(--muted); }
.art { position: relative; min-height: 215px; overflow: hidden; background: var(--solid); }
.art::before, .art::after, .art span { content: ''; position: absolute; display: block; }
.art::before { inset: 13% 18% 0; border: 1px solid #e8cf9e90; background: repeating-linear-gradient(90deg, transparent 0 13%, #e8cf9e50 13.1% 13.5%, transparent 13.6% 16.6%); }
.art::after { width: 57%; aspect-ratio: 1; left: 22%; top: 26%; border: 1px solid #f5d6a2; border-radius: 50%; background: repeating-radial-gradient(circle at center, transparent 0 14px, #f5d6a250 15px 16px); }
.art span { inset: auto 0 0; height: 24%; background: repeating-linear-gradient(0deg, var(--solid) 0 6px, #d1b98a 6px 7px); }
.topics { margin-top: clamp(2rem, 4vw, 3.25rem); }
.topics > h2 { font-size: 1.65rem; margin-bottom: .75rem; }
section:target, article:target { outline: 2px solid var(--accent); outline-offset: 4px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.3rem; font-weight: 750; }
.site-signature { margin-top: .35rem; color: var(--muted); font-size: .875rem; font-weight: 500; }
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .hero { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .art { min-height: 195px; }
  .site-header .wrap { gap: .9rem; }
}

.site-main { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.skip-link { position: absolute; top: .5rem; left: -100vw; }
.skip-link:focus { left: .5rem; z-index: 100000; background: var(--paper); padding: .5rem .75rem; }
.site-nav [aria-current="page"] { color: var(--accent); }
.section-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.section-card { grid-column: span 2; padding: 1.2rem; border-top: 3px solid var(--accent); border-bottom: 1px solid var(--line); }
.section-card h3 { font-size: 1.48rem; }
.section-card h3 a { text-decoration: none; }
.section-card p { color: var(--muted); margin-top: .35rem; }
.section-card-detail { grid-column: span 3; background: var(--panel); border: 0; padding: clamp(1.2rem, 4vw, 2.2rem); }
.section-card-detail h3 { font-size: 1.65rem; }
.section-posts { margin: .45rem 0 0; padding-inline-start: 1.25rem; }
.section-posts li + li { margin-top: .35rem; }
.page-title { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; }
.archive-header, .entry, .comments-area { margin-bottom: 2rem; }
.entry-title { font-size: clamp(1.4rem, 3vw, 2rem); }
.entry-meta { color: var(--muted); margin-top: .5rem; }
.entry-content { margin-top: 1rem; overflow-wrap: anywhere; }
.entry-content > * + * { margin-top: 1rem; }
.entry-content img, .entry-image { max-width: 100%; height: auto; }
.entry-image { display: block; margin-top: 1rem; }
.comments-area input, .comments-area textarea { max-width: 100%; }
@media (max-width: 680px) {
  .section-grid { grid-template-columns: 1fr; }
  .section-card { grid-column: 1; }
}
