/* Stalmont-Stal.pl — structural editorial skin */
:root {
  --kc-navy: #1b232b;
  --kc-navy-2: #101820;
  --kc-coral: #e45b35;
  --kc-coral-dark: #c94324;
  --kc-teal: #2e9cca;
  --kc-ink: #1b232b;
  --kc-muted: #64717b;
  --kc-line: #aab4bd;
  --kc-surface: #ffffff;
  --kc-warm: #e8edf0;
  --kc-radius-sm: 0;
  --kc-radius: 0;
  --kc-radius-lg: 0;
  --kc-shadow: 0 16px 42px rgba(15,24,32,.15);
  --kc-container: 1420px;
}

body { color: var(--kc-ink); background-color: var(--kc-warm); background-image: linear-gradient(rgba(46,156,202,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(46,156,202,.09) 1px, transparent 1px); background-size: 100% 64px, 128px 100%; }
h1, h2, h3, h4 { color: var(--kc-navy); font-weight: 820; letter-spacing: -.03em; }
a:hover { color: var(--kc-coral); }
.site-header { background: rgba(16,24,32,.98); border-color: #33414c; }
.header-inner { width: min(calc(100% - 52px), 1480px); min-height: 104px; }
.site-branding img, .custom-logo { max-width: 300px; max-height: 72px; }
.primary-nav a, .icon-button, .menu-toggle { color: #eaf0f4; }
.primary-nav a { font-size: .78rem; letter-spacing: .045em; text-transform: uppercase; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--kc-teal); }
.primary-nav .sub-menu, .search-panel { background: #18232c; border-color: #3d4b56; }
.icon-button, .menu-toggle { border: 0; border-left: 1px solid #44515b; border-radius: 0; }
.icon-button:hover, .menu-toggle:hover { background: #26333d; }
.header-cta { display: inline-flex; color: #fff; background: var(--kc-coral); border-color: var(--kc-coral); border-radius: 0; }
.header-cta:hover { background: var(--kc-coral-dark); border-color: var(--kc-coral-dark); }
.search-field { color: #fff; background: #101820; border-color: #52606a; border-radius: 0; }
.search-submit { background: var(--kc-teal); border-color: var(--kc-teal); border-radius: 0; }

.ss-breaking { background: #f8fafb; border-bottom: 1px solid #aab4bd; }
.ss-breaking .kc-container { display: grid; min-height: 42px; grid-template-columns: 110px 1fr 80px; align-items: center; }
.ss-breaking strong { display: flex; height: 100%; align-items: center; justify-content: center; color: #fff; background: var(--kc-teal); font-size: .72rem; letter-spacing: .08em; }
.ss-breaking div > div { display: flex; padding-inline: 22px; gap: 26px; overflow: hidden; white-space: nowrap; }
.ss-breaking div > div a { position: relative; font-size: .78rem; }
.ss-breaking div > div a + a::before { content: "•"; position: absolute; left: -16px; color: var(--kc-coral); }
.ss-breaking time { justify-self: stretch; align-self: stretch; display: grid; place-items: center; color: #fff; background: linear-gradient(110deg, transparent 0 16%, var(--kc-teal) 16%); font-weight: 800; }

.ss-frame { position: relative; display: grid; margin-top: 34px; padding-top: 34px; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; }
.ss-frame::before, .ss-frame::after { content: ""; position: absolute; pointer-events: none; }
.ss-frame::before { inset: 0; border: 1px solid rgba(46,156,202,.32); }
.ss-frame::after { top: 0; bottom: 0; left: 72%; border-left: 1px dashed rgba(46,156,202,.42); }
.ss-coordinates { position: absolute; top: 0; right: 0; left: 0; display: grid; height: 34px; grid-template-columns: repeat(12, 1fr); border-bottom: 1px solid rgba(46,156,202,.35); }
.ss-coordinates span { padding: 7px 9px; color: #7a8b97; border-left: 1px solid rgba(46,156,202,.25); font-size: .62rem; }
.ss-hero { min-width: 0; min-height: 560px; padding: 10px; }
.ss-hero article { position: relative; min-height: 540px; overflow: hidden; }
.ss-hero-media { position: absolute; inset: 0; }
.ss-hero-media img, .ss-hero-media .placeholder-image { width: 100%; height: 100%; object-fit: cover; }
.ss-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,24,32,.28), transparent 58%); }
.ss-hero-plate { position: absolute; z-index: 2; top: 34px; bottom: 34px; left: 24px; display: flex; width: min(36%, 430px); padding: clamp(28px, 3.5vw, 52px); flex-direction: column; align-items: flex-start; justify-content: center; color: #fff; background: rgba(16,24,32,.95); box-shadow: var(--kc-shadow); }
.ss-hero-plate::after { content: ""; position: absolute; bottom: 0; left: 0; width: 80px; height: 5px; background: var(--kc-teal); }
.ss-hero-plate .category-pill { color: var(--kc-coral); background: transparent; padding: 0; }
.ss-hero-plate h1 { margin: 7px 0 18px; color: #fff; font-size: clamp(2.5rem, 4.4vw, 5.1rem); line-height: .97; }
.ss-hero-plate h1 a:hover { color: #fff; }
.ss-hero-plate p { color: #bdc7ce; }
.ss-hero-plate .read-more { padding: 0; color: #fff; border: 0; border-radius: 0; text-transform: uppercase; }

.ss-pulse { position: relative; z-index: 2; margin: 10px 10px 10px 0; padding: 32px; color: #fff; background: #101820; }
.ss-pulse h2 { margin-bottom: 16px; padding-bottom: 12px; color: #fff; border-bottom: 2px solid var(--teal, #2e9cca); font-size: 1.6rem; }
.ss-pulse ol { padding: 0; margin: 0; list-style: none; }
.ss-pulse li { display: grid; padding: 20px 0; grid-template-columns: 56px 1fr; gap: 12px; border-bottom: 1px dashed #52606a; }
.ss-pulse time { color: var(--kc-teal); font-weight: 850; }
.ss-pulse li a { color: #fff; font-weight: 700; line-height: 1.25; }
.ss-pulse-more { display: inline-flex; margin-top: 28px; color: #fff; font-size: .75rem; font-weight: 850; text-transform: uppercase; }
.ss-pulse-more:hover { color: var(--kc-coral); }

.ss-topics { margin-top: 18px; background: rgba(248,250,251,.92); border: 1px solid #aab4bd; }
.ss-topics h2 { display: flex; margin: 0; padding: 16px 18px; align-items: center; gap: 18px; font-size: 1.55rem; }
.ss-topics h2 span { display: block; width: 36px; height: 24px; background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(46,156,202,.35) 4px 5px); }
.ss-topics > div { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); border-top: 1px solid #aab4bd; }
.ss-topics a { display: grid; min-height: 100px; padding: 18px; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; border-right: 1px solid #aab4bd; }
.ss-topics a:last-child { border-right: 0; }
.ss-topics a > span { color: var(--kc-teal); font-size: 2.7rem; font-weight: 900; line-height: .85; }
.ss-topics a > strong { grid-column: 1; align-self: end; font-size: .78rem; text-transform: uppercase; }
.ss-topics a > b { grid-column: 2; grid-row: 2; color: #75828b; }
.ss-topics a:hover { color: var(--kc-coral); background: #fff; }

.ss-world { display: grid; padding-block: 62px; grid-template-columns: minmax(0,1fr) 330px; gap: 36px; }
.ss-section-head { display: flex; margin-bottom: 18px; align-items: end; justify-content: space-between; gap: 20px; }
.ss-section-head h2, .ss-ranking h2 { display: flex; margin: 0; align-items: center; gap: 14px; font-size: clamp(1.8rem, 3vw, 3rem); }
.ss-section-head h2::after { content: ""; width: 38px; height: 24px; background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(46,156,202,.35) 4px 5px); }
.ss-section-head > a { color: var(--kc-teal); font-weight: 800; }
.ss-world-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 16px; }
.ss-world-grid article { min-width: 0; background: rgba(255,255,255,.93); border: 1px solid #aab4bd; }
.ss-world-media { display: block; aspect-ratio: 16/9; overflow: hidden; }
.ss-world-media img, .ss-world-media .placeholder-image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ss-world-grid article:hover img { transform: scale(1.025); }
.ss-world-grid article > div { padding: 22px; }
.ss-world-grid h3 { margin: 7px 0 12px; font-size: clamp(1.25rem, 2vw, 1.85rem); }
.ss-world-grid article:first-child h3 { font-size: clamp(1.7rem, 2.8vw, 2.7rem); }
.ss-world-grid .card-category { color: var(--kc-coral); }
.ss-world-grid article > div > span { color: var(--kc-muted); font-size: .7rem; text-transform: uppercase; }

.ss-ranking { padding-top: 4px; }
.ss-ranking h2 { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--kc-coral); font-size: 1.42rem; }
.ss-ranking ol { padding: 0; margin: 0; list-style: none; }
.ss-ranking li { display: grid; padding: 17px 0; grid-template-columns: 48px 1fr; gap: 10px; border-bottom: 1px dashed #99a5ad; }
.ss-ranking li span { color: var(--kc-teal); font-size: 1.8rem; font-weight: 900; line-height: 1; }
.ss-ranking li a { font-size: .86rem; font-weight: 720; line-height: 1.25; }

.ss-publish { padding: 48px 0; color: #fff; background: var(--kc-coral); }
.ss-publish .kc-container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ss-publish span { font-size: .72rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.ss-publish h2 { margin: 6px 0 0; color: #fff; font-size: clamp(2rem, 4vw, 3.6rem); }
.ss-publish .button { color: #fff; background: #101820; border-color: #101820; border-radius: 0; }

.page-header, .single-hero { background: #f8fafb; border-color: #aab4bd; }
.post-card, .compact-card, .focus-story-inner, .no-results, .page-numbers, .content-area, .sidebar .widget, .comments-area { background: #fff; border-color: #aab4bd; border-radius: 0; }
.category-pill, .eyebrow { background: var(--kc-teal); border-radius: 0; }
.card-category { color: var(--kc-coral); }
.single-featured { border-radius: 0; }
.site-footer { color: #b9c4cb; background: #101820; }
.footer-title, .footer-menu a { color: #fff; }

@media (max-width: 1180px) {
  .ss-frame { grid-template-columns: minmax(0,1fr) 320px; }
  .ss-hero-plate { width: min(44%, 410px); }
  .ss-topics > div { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .ss-topics a:nth-child(3) { border-right: 0; }
  .ss-topics a:nth-child(-n+3) { border-bottom: 1px solid #aab4bd; }
}
@media (max-width: 920px) {
  .ss-frame { grid-template-columns: 1fr; }
  .ss-frame::after { display: none; }
  .ss-pulse { margin: 0 10px 10px; }
  .ss-world { grid-template-columns: 1fr; }
  .ss-ranking ol { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 24px; }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .header-inner { min-height: 78px; }
  .ss-breaking .kc-container { grid-template-columns: 82px 1fr; }
  .ss-breaking time { display: none; }
  .ss-hero { min-height: 640px; }
  .ss-hero article { min-height: 620px; }
  .ss-hero-plate { top: auto; right: 20px; bottom: 20px; left: 20px; width: auto; min-height: 330px; }
  .ss-world-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ss-world-grid article:first-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .kc-container { width: min(calc(100% - 24px), var(--kc-container)); }
  .site-branding img, .custom-logo { max-width: 148px; }
  .header-cta { min-height: 38px; padding: 7px 9px; font-size: .62rem; }
  .search-toggle { display: none; }
  .ss-breaking div > div a:nth-child(n+2) { display: none; }
  .ss-frame { width: 100%; margin-top: 14px; padding-top: 28px; }
  .ss-coordinates span:nth-child(n+7) { display: none; }
  .ss-coordinates { grid-template-columns: repeat(6,1fr); }
  .ss-hero-plate { padding: 28px; }
  .ss-hero-plate h1 { font-size: 2.45rem; }
  .ss-pulse { padding: 26px 22px; }
  .ss-topics > div { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ss-topics a:nth-child(3) { border-right: 1px solid #aab4bd; }
  .ss-topics a:nth-child(2n) { border-right: 0; }
  .ss-topics a:nth-child(-n+4) { border-bottom: 1px solid #aab4bd; }
  .ss-world-grid { grid-template-columns: 1fr; }
  .ss-world-grid article:first-child { grid-column: 1; }
  .ss-ranking ol { display: block; }
  .ss-publish .kc-container { flex-direction: column; align-items: flex-start; }
}
