/*
Theme Name: AMC Institute
Theme URI: https://amcinstitute.com
Author: AMC Institute
Description: Custom theme for AMC Institute — Applied Management Consulting
Version: 1.0.0
License: Private
Text Domain: amc-institute
*/

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  --navy: #1B3454;
  --navy-deep: #14283F;
  --ivory: #F7F4EF;
  --paper: #FCFBF7;
  --gold: #C8902F;
  --muted: #6E675B;
  --muted-navy: rgba(247,244,239,0.72);
  --line: #E4DCCF;
  --line-navy: rgba(247,244,239,0.16);
  --display: 'Fraunces', Georgia, serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--ivory);
  color: var(--navy);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.1;
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* =============================================
   LAYOUT
   ============================================= */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
.eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  padding: 11px 22px;
  border-radius: 2px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn-ghost {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--navy);
}
.btn-ghost:hover { background: transparent; color: var(--ivory); }
.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }

/* =============================================
   TOPBAR (utility nav)
   ============================================= */
.topbar {
  background: var(--navy-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-navy);
}
.bar {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 18px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.site-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  text-decoration: none;
}
.site-mark .glyph {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 600;
  color: var(--gold);
  font-size: 17px;
  flex-shrink: 0;
}
.namewrap { display: flex; flex-direction: column; gap: 2px; line-height: 1.05; }
.site-mark .name { font-size: 14px; letter-spacing: 0.24em; font-weight: 600; }
.site-mark .desc {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(247,244,239,0.55);
}
.mainnav {
  display: flex;
  gap: 28px;
  margin-left: 14px;
}
.mainnav a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(247,244,239,0.85);
  transition: color .2s;
}
.mainnav a:hover,
.mainnav a.current { color: var(--gold); }
.bar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang { font-size: 13px; color: var(--muted-navy); }
.lang a { color: var(--muted-navy); margin: 0 3px; }
.lang a.on { color: var(--ivory); font-weight: 600; }

/* =============================================
   TICKER
   ============================================= */
.ticker {
  background: var(--navy);
  border-bottom: 1px solid var(--line-navy);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  padding: 12px 0;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-track span {
  color: var(--gold);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 14px;
  opacity: .85;
}
.ticker-track span::after {
  content: "\00B7";
  margin-left: 28px;
  color: rgba(247,244,239,0.3);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================
   HOMEPAGE HERO — MAGAZINE LAYOUT
   ============================================= */
.hero-magazine {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 34px 0 78px;
}
.hero-lead { max-width: 780px; margin-bottom: 40px; }
.hero-lead h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  color: var(--ivory);
  max-width: 16ch;
}
.hero-lead p {
  margin-top: 16px;
  max-width: 52ch;
  font-size: 17px;
  color: rgba(247,244,239,0.82);
}
.arrow-btn {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(247,244,239,0.5);
  color: var(--ivory);
  font-size: 22px;
  margin-top: 24px;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.arrow-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* Magazine grid */
.mag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.08fr;
  gap: 26px;
  align-items: stretch;
}
.mag-col { display: flex; flex-direction: column; gap: 26px; }

/* Magazine cards */
.mag-card {
  position: relative;
  flex: 1;
  min-height: 310px;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-color: #1e3a5c;
}
.mag-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,40,63,0.0) 32%, rgba(20,40,63,0.82) 100%);
}
.mag-card .card-inner { position: relative; z-index: 2; padding: 24px; }
.mag-card .card-label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.mag-card h3 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ivory);
  font-size: 20px;
  margin-top: 8px;
  line-height: 1.22;
  max-width: 20ch;
}
.mag-card:hover h3 { color: var(--gold); }

/* Feature card */
.mag-feature {
  position: relative;
  flex: 1;
  min-height: 440px;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center right;
  background-color: #1e3a5c;
}
.mag-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,40,63,0) 30%, rgba(20,40,63,0.55) 66%, rgba(20,40,63,0.92) 100%);
}
.feature-inner { position: relative; z-index: 2; padding: 32px 34px; }
.feature-inner .card-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.feature-inner h2 {
  color: var(--ivory);
  font-size: clamp(22px, 2.2vw, 28px);
  margin-top: 10px;
  max-width: 20ch;
}
.feature-inner .perex {
  margin-top: 10px;
  max-width: 42ch;
  font-size: 14px;
  color: rgba(247,244,239,0.82);
}
.feature-inner .btn { margin-top: 18px; }

/* Subscribe card */
.sub-card {
  background: rgba(247,244,239,0.05);
  border: 1px solid var(--line-navy);
  border-radius: 3px;
  padding: 30px 26px;
  text-align: center;
}
.sub-card .card-label {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.sub-card p {
  margin-top: 10px;
  font-size: 14.5px;
  color: rgba(247,244,239,0.84);
  max-width: 32ch;
  margin: 10px auto 0;
  line-height: 1.5;
}
.sub-card .btn { margin-top: 18px; }
.all-row { display: flex; justify-content: flex-end; margin-top: 26px; }
.all-row a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ivory);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 4px;
}
.all-row a:hover { color: var(--gold); }

/* Card color placeholders */
.cg1 { background-image: linear-gradient(150deg, #27466b, #162940); }
.cg2 { background-image: linear-gradient(150deg, #203a5b, #14283f); }
.cg3 { background-image: linear-gradient(155deg, #2c4a6e, #16293f); }
.cg4 { background-image: linear-gradient(150deg, #4a3d27, #1b2a3e); }

/* =============================================
   ASYMMETRIC MOSAIC SECTION
   ============================================= */
.mosaic { background: var(--ivory); padding: 88px 0; }
.mosaic-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
  border-radius: 4px;
  overflow: hidden;
}
.mosaic-img {
  position: relative;
  background: var(--navy) center/cover no-repeat;
  min-height: 420px;
}
.mosaic-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,40,63,0.18) 0%, rgba(20,40,63,0.04) 100%);
}
.mosaic-text {
  background: var(--navy-deep);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ivory);
}
.mosaic-text h2 {
  font-size: clamp(28px, 3vw, 40px);
  color: var(--ivory);
  max-width: 18ch;
  margin-top: 14px;
}
.mosaic-text p {
  margin-top: 20px;
  font-size: 16px;
  color: rgba(247,244,239,0.82);
  max-width: 44ch;
  line-height: 1.7;
}
.mosaic-text .btn { margin-top: 32px; }

/* =============================================
   STATS ROW
   ============================================= */
.stats-row {
  background: var(--navy);
  padding: 56px 0;
  border-top: 1px solid var(--line-navy);
  border-bottom: 1px solid var(--line-navy);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid var(--line-navy);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  color: var(--ivory);
  line-height: 1;
}
.stat-number span { color: var(--gold); }
.stat-label {
  font-size: 13px;
  color: rgba(247,244,239,0.65);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* =============================================
   CONTENT SECTIONS (inner pages)
   ============================================= */
.page-hero {
  position: relative;
  color: var(--ivory);
  overflow: hidden;
  background: var(--navy-deep);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20,40,63,0.94) 0%, rgba(20,40,63,0.78) 36%, rgba(20,40,63,0.20) 68%, rgba(20,40,63,0) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; padding: 118px 40px 108px; }
.page-hero h1 { font-size: clamp(34px, 4vw, 54px); color: var(--ivory); max-width: 18ch; }
.page-hero .perex {
  margin-top: 20px;
  font-size: 18px;
  color: rgba(247,244,239,0.82);
  max-width: 52ch;
  line-height: 1.6;
}

/* Content blocks */
.content-section { padding: 80px 0; }
.content-section.alt { background: var(--paper); }
.content-section.dark { background: var(--navy-deep); color: var(--ivory); }

/* =============================================
   CARDS GRID
   ============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 36px 32px;
}
.service-card .num {
  font-family: var(--display);
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 21px;
  color: var(--navy);
  margin-bottom: 14px;
}
.service-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

/* =============================================
   BLOG / ARTICLES
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.article-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color .2s;
}
.article-card:hover { border-color: var(--gold); }
.article-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--navy);
}
.article-body { padding: 24px 26px 28px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.article-card h3 {
  font-size: 19px;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 12px;
}
.article-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
.article-card .read-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
}
.article-card .read-more:hover { color: var(--gold); }

/* Single article */
.article-single { max-width: 720px; margin: 0 auto; padding: 64px 40px; }
.article-single h1 { font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 24px; }
.article-single .article-meta { margin-bottom: 32px; }
.article-single p { font-size: 17px; line-height: 1.8; margin-bottom: 24px; color: #2a2a2a; }
.article-single h2 { font-size: 26px; margin: 40px 0 16px; }
.article-single h3 { font-size: 20px; margin: 32px 0 12px; }

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 80px 0;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 13px 16px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 16px;
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact-info h3 { font-size: 22px; margin-bottom: 20px; }
.contact-info p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.contact-info a { color: var(--gold); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 60px 0 32px;
  border-top: 1px solid var(--line-navy);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(247,244,239,0.6);
  line-height: 1.65;
  max-width: 28ch;
}
.footer-col h4 {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(247,244,239,0.7);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--ivory); }
.footer-bottom {
  border-top: 1px solid var(--line-navy);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(247,244,239,0.45);
}
.footer-bottom a { color: rgba(247,244,239,0.45); }
.footer-bottom a:hover { color: var(--ivory); }

/* =============================================
   WORDPRESS SPECIFIC
   ============================================= */
.wp-block-image img { border-radius: 3px; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .mag-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .bar { padding: 14px 20px; gap: 16px; }
  .mainnav { display: none; }
  .mag-grid { grid-template-columns: 1fr; }
  .mosaic-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ========================================
   ASYMMETRIC HERO GRID (heroX)
   ======================================== */
.hero2 { background: var(--navy-deep); color: var(--ivory); padding: 40px 0 70px; }

.heroX {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 22px;
  grid-template-areas:
    "head head art"
    "pop  kom  art"
    "case kom  art"
    "studie studie sub";
  align-items: start;
}

.hx-head { grid-area: head; }
.hx-head h1 { font-size: clamp(34px,4.4vw,56px); color: var(--ivory); max-width: 16ch; line-height: 1.08; }
.hx-head p  { margin-top: 14px; max-width: 48ch; font-size: 16px; color: rgba(247,244,239,0.82); }
.hx-head .arrow { margin-top: 18px; }

.hx-pop { grid-area: pop; align-self: start; }
.hx-pop .ph { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 4px; }
.hx-pop a { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-navy); align-items: baseline; }
.hx-pop a:first-of-type { border-top: 1px solid var(--line-navy); }
.hx-pop .no { font-family: var(--display); color: var(--gold); font-size: 12px; }
.hx-pop .pt { font-family: var(--display); font-weight: 500; font-size: 15.5px; color: var(--ivory); line-height: 1.22; }
.hx-pop a:hover .pt { color: var(--gold); }

.hx-art    { grid-area: art; }
.hx-kom    { grid-area: kom; }
.hx-case   { grid-area: case; }
.hx-studie { grid-area: studie; }
.hx-sub    { grid-area: sub; }

.hx-card {
  position: relative; overflow: hidden; border-radius: 3px;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  transition: transform .2s;
}
.hx-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,40,63,0) 30%, rgba(20,40,63,0.5) 62%, rgba(20,40,63,0.92) 100%);
}
.hx-card:hover { transform: translateY(-3px); }
.hx-card .ci { position: relative; z-index: 2; padding: 26px; }
.hx-card .lab { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.hx-card h3 { font-family: var(--display); font-weight: 500; color: var(--ivory); font-size: 21px; margin-top: 8px; line-height: 1.2; max-width: 18ch; }
.hx-card:hover h3 { color: var(--gold); }

.hx-art { min-height: 600px; }
.hx-art h3 { font-size: clamp(24px,2.5vw,32px); max-width: 15ch; }
.hx-art .perex { margin-top: 10px; max-width: 34ch; font-size: 14px; color: rgba(247,244,239,0.86); }
.hx-art .btn { margin-top: 16px; }
.hx-kom { min-height: 420px; }
.hx-case { min-height: 250px; }
.hx-studie { min-height: 200px; }

.hx-sub {
  background: rgba(247,244,239,0.05); border: 1px solid var(--line-navy);
  border-radius: 3px; text-align: center; padding: 28px 24px; align-self: start;
}
.hx-sub .lab { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.hx-sub p { margin: 10px auto 0; font-size: 14px; color: rgba(247,244,239,0.84); max-width: 28ch; line-height: 1.5; }
.hx-sub .btn { margin-top: 16px; }

.allrow { display: flex; justify-content: flex-end; margin-top: 26px; }
.allrow a { font-weight: 600; font-size: 15px; color: var(--ivory); border-bottom: 1.5px solid var(--gold); padding-bottom: 4px; }
.allrow a:hover { color: var(--gold); }

/* Arrow button */
.arrow {
  display: inline-grid; place-items: center; width: 54px; height: 54px;
  border-radius: 50%; border: 1px solid rgba(247,244,239,0.5);
  color: var(--ivory); font-size: 22px; margin-top: 24px;
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none;
}
.arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

@media(max-width: 900px) {
  .heroX { grid-template-columns: 1fr 1fr; grid-template-areas: "head head" "pop pop" "art art" "kom case" "studie sub"; }
  .hx-art { min-height: 400px; }
}
@media(max-width: 600px) {
  .heroX { grid-template-columns: 1fr; grid-template-areas: "head" "pop" "art" "kom" "case" "studie" "sub"; }
}

/* ========================================
   HERO ART CARD — footer s autorem + ikonami
   ======================================== */
.lab-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }

.art-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(247,244,239,0.15);
}
.art-author {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(247,244,239,0.65);
  text-transform: uppercase;
}
.art-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}
.art-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(247,244,239,0.25);
  color: rgba(247,244,239,0.75);
  transition: border-color .2s, color .2s, background .2s;
  cursor: pointer;
}
.art-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,144,47,0.1);
}
.art-icon i {
  font-size: 16px;
  line-height: 1;
}

/* ============================================================
   OPRAVA VODOROVNÉHO PŘETEČENÍ
   Dlouhé URL ve Zdrojích (přes 140 znaků) se nezalomí a roztáhnou
   stránku do šířky. Tím se na mobilu rozbijí všechny fixed lišty.
   Doplněno 13. 7. 2026.
   ============================================================ */

.amc-main,
.amc-main p,
.amc-main li,
.amc-main blockquote,
.article-body,
.article-body p,
.article-body li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.amc-main a,
.article-body a {
  overflow-wrap: anywhere;
  word-break: break-all;
}

.amc-main ol,
.amc-main ul,
.article-body ol,
.article-body ul {
  padding-left: 1.4em;
  max-width: 100%;
}

.amc-main img,
.amc-main iframe,
.amc-main table,
.article-body img,
.article-body iframe,
.article-body table {
  max-width: 100%;
  height: auto;
}
