/*
Theme Name: Trendy Age
Theme URI: https://trendy-age.cz
Author: Trendy Age
Description: Moderní magazínová šablona pro trendy-age.cz. Přebírá menu "První menu" (pozice main-nav) a widgety z oblasti sidebar1.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
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: trendyage
*/

:root {
  --ta-ink: #171412;
  --ta-ink-2: #4a4542;
  --ta-muted: #8a847f;
  --ta-line: #e8e2db;
  --ta-bg: #ffffff;
  --ta-bg-soft: #f8f4ee;
  --ta-accent: #c2512f;
  --ta-accent-dark: #9d3f22;
  --ta-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --ta-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ta-max: 1240px;
  --ta-gutter: 20px;
  --ta-radius: 14px;
  --ta-shadow: 0 10px 30px rgba(23, 20, 18, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ta-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ta-ink);
  background: var(--ta-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ta-accent); text-decoration: none; }
a:hover { color: var(--ta-accent-dark); }
h1, h2, h3, h4 { font-family: var(--ta-serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--ta-ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.2em; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; left: 16px; top: 16px; z-index: 1000; background: var(--ta-ink); color: #fff; padding: 10px 14px; clip: auto; width: auto; height: auto; border-radius: 8px; }

.ta-wrap { max-width: var(--ta-max); margin: 0 auto; padding: 0 var(--ta-gutter); }

/* ---------- header ---------- */
.ta-topbar { background: var(--ta-ink); color: #cfc9c3; font-size: 13px; }
.ta-topbar .ta-wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.ta-topbar a { color: #e9e4de; }
.ta-topbar a:hover { color: #fff; }
.ta-social { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.ta-social svg { width: 16px; height: 16px; fill: currentColor; vertical-align: -3px; }
.ta-tagline { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ta-header { position: relative; z-index: 50; background: #fff; }

/* masthead: centered logo (original Raleway wordmark) */
.ta-masthead { border-bottom: 1px solid var(--ta-line); }
.ta-masthead .ta-wrap { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; min-height: 112px; }
.ta-brand { text-align: center; grid-column: 2; }
.ta-logo { font-family: "Raleway", "Segoe UI", Helvetica, Arial, sans-serif; font-size: 34px; letter-spacing: 8px; text-transform: uppercase; color: #111; line-height: 1; display: inline-block; }
.ta-logo .ta-logo-a { font-weight: 400; }
.ta-logo .ta-logo-b { font-weight: 300; }
.ta-logo:hover { color: #111; }
.ta-brand img { max-height: 70px; width: auto; margin: 0 auto; }
.ta-search-btn { grid-column: 3; justify-self: end; }
.ta-icon-btn.ta-burger { grid-column: 1; justify-self: start; display: none; }
.ta-icon-btn { background: none; border: 0; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ta-ink); }
.ta-icon-btn:hover { background: var(--ta-bg-soft); }
.ta-icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* navbar: sticky, centered, underline on hover */
.ta-navbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--ta-line); transition: box-shadow .2s; }
.admin-bar .ta-navbar { top: 32px; }
.ta-navbar.is-stuck { box-shadow: 0 8px 24px rgba(23,20,18,.08); }
.ta-nav { display: flex; justify-content: center; }
.ta-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.ta-nav li { position: relative; }
.ta-nav a { position: relative; display: block; padding: 17px 16px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ta-ink); white-space: nowrap; }
.ta-nav > ul > li > a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 11px; height: 2px; background: var(--ta-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.ta-nav > ul > li:hover > a::after, .ta-nav > ul > li.current-menu-item > a::after, .ta-nav > ul > li.current-menu-parent > a::after, .ta-nav > ul > li.current-category-ancestor > a::after { transform: scaleX(1); }
.ta-nav .menu-item-has-children > a { padding-right: 28px; }
.ta-nav .menu-item-has-children > a::before { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); opacity: .6; }
.ta-nav .sub-menu { position: absolute; left: 8px; top: 100%; min-width: 220px; background: #fff; border: 1px solid var(--ta-line); border-top: 2px solid var(--ta-accent); box-shadow: var(--ta-shadow); padding: 8px 0; display: none; flex-direction: column; z-index: 60; }
.ta-nav li:hover > .sub-menu, .ta-nav li:focus-within > .sub-menu { display: flex; }
.ta-nav .sub-menu a { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 15px; padding: 9px 18px; }
.ta-nav .sub-menu a:hover { background: var(--ta-bg-soft); color: var(--ta-accent); }

.ta-search-panel { display: none; border-bottom: 1px solid var(--ta-line); background: #fff; }
.ta-search-panel.is-open { display: block; }
.ta-search-panel form { display: flex; gap: 10px; padding: 16px 0; }
.ta-search-panel input[type=search] { flex: 1; font: inherit; font-size: 18px; padding: 12px 16px; border: 1px solid var(--ta-line); border-radius: 10px; min-width: 0; }
.ta-btn { display: inline-block; font: inherit; font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 10px; background: var(--ta-ink); color: #fff; border: 0; cursor: pointer; }
.ta-btn:hover { background: var(--ta-accent); color: #fff; }
.ta-btn--ghost { background: transparent; color: var(--ta-ink); border: 1px solid var(--ta-ink); }
.ta-btn--ghost:hover { background: var(--ta-ink); color: #fff; }

/* mobile nav */
.ta-mobile-nav { display: none; background: #fff; border-bottom: 1px solid var(--ta-line); }
.ta-mobile-nav.is-open { display: block; }
.ta-mobile-nav ul { list-style: none; margin: 0; padding: 8px 0; }
.ta-mobile-nav li a { display: block; padding: 12px var(--ta-gutter); font-weight: 600; color: var(--ta-ink); border-bottom: 1px solid var(--ta-line); }
.ta-mobile-nav .sub-menu a { padding-left: calc(var(--ta-gutter) + 20px); font-weight: 400; color: var(--ta-ink-2); }

/* ---------- common blocks ---------- */
.ta-section { padding: 44px 0; }
.ta-section--soft { background: var(--ta-bg-soft); }
.ta-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; border-bottom: 2px solid var(--ta-ink); padding-bottom: 10px; }
.ta-section-head h2 { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.ta-section-head a.more { font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ta-ink-2); white-space: nowrap; }
.ta-section-head a.more:hover { color: var(--ta-accent); }

.ta-cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ta-accent); }
.ta-cat:hover { color: var(--ta-accent-dark); }
.ta-meta { font-size: 13px; color: var(--ta-muted); }
.ta-meta a { color: inherit; }
.ta-meta span + span::before { content: "\00b7"; margin: 0 6px; }

.ta-media { position: relative; overflow: hidden; border-radius: var(--ta-radius); background: var(--ta-bg-soft); aspect-ratio: 3/2; }
.ta-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ta-card:hover .ta-media img, .ta-hero:hover .ta-media img { transform: scale(1.04); }
.ta-media--empty { background: linear-gradient(135deg, #efe8df, #e4d9cc); }
.ta-media--empty::after { content: "TA"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--ta-serif); font-size: 44px; color: rgba(23,20,18,.18); letter-spacing: .2em; }

/* grid of cards */
.ta-grid { display: grid; gap: 28px 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ta-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ta-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ta-card { display: flex; flex-direction: column; gap: 12px; }
.ta-card h3 { font-size: 1.15rem; margin: 0; }
.ta-card h3 a { color: var(--ta-ink); }
.ta-card h3 a:hover { color: var(--ta-accent); }
.ta-card .ta-excerpt { font-size: 15px; color: var(--ta-ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ta-card--row { flex-direction: row; align-items: flex-start; gap: 16px; }
.ta-card--row .ta-media { flex: 0 0 110px; aspect-ratio: 1/1; border-radius: 10px; }
.ta-card--row h3 { font-size: 1rem; line-height: 1.35; }

/* hero */
.ta-hero-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: stretch; }
.ta-hero { position: relative; border-radius: var(--ta-radius); overflow: hidden; min-height: 460px; display: flex; color: #fff; }
.ta-hero .ta-media { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.ta-hero .ta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.75) 100%); }
.ta-hero-body { position: relative; z-index: 1; margin-top: auto; padding: 28px; }
.ta-hero-body .ta-cat { color: #ffd9c9; }
.ta-hero-body h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 8px 0 10px; }
.ta-hero-body h2 a { color: inherit; }
.ta-hero-body p { color: rgba(255,255,255,.85); margin: 0; font-size: 15px; max-width: 60ch; }
.ta-hero-body .ta-meta { color: rgba(255,255,255,.7); margin-top: 10px; }
.ta-hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.ta-hero-side .ta-hero { min-height: 218px; }
.ta-hero-side .ta-hero-body { padding: 20px; }
.ta-hero-side .ta-hero-body h2 { font-size: 1.25rem; }
.ta-hero-side .ta-hero-body p { display: none; }

/* two-column with sidebar */
.ta-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.ta-sidebar .widget { margin-bottom: 36px; font-size: 15px; }
.ta-sidebar .widget-title, .ta-sidebar .widget h2, .ta-sidebar .widget h3 { font-family: var(--ta-sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ta-ink); border-bottom: 2px solid var(--ta-ink); padding-bottom: 8px; margin: 0 0 14px; }
.ta-sidebar ul { list-style: none; margin: 0; padding: 0; }
.ta-sidebar li { padding: 9px 0; border-bottom: 1px solid var(--ta-line); }
.ta-sidebar li a { color: var(--ta-ink); font-weight: 500; }
.ta-sidebar li a:hover { color: var(--ta-accent); }
.ta-sidebar .featured-post { padding: 9px 0; border-bottom: 1px solid var(--ta-line); }
.ta-sidebar .featured-post h4, .ta-sidebar .widget h4 { font-family: var(--ta-sans); font-size: 15px; font-weight: 500; margin: 0; line-height: 1.4; }
.ta-sidebar .featured-post h4 a { color: var(--ta-ink); }
.ta-sidebar .featured-post h4 a:hover { color: var(--ta-accent); }
.ta-sidebar .featured-post .clear { display: none; }
.ta-sidebar .widget_recent_entries li a, .ta-sidebar .widget_recent_entries li { font-size: 15px; }
.ta-sidebar .tagcloud a { display: inline-block; font-size: 13px !important; padding: 4px 10px; margin: 0 6px 8px 0; border: 1px solid var(--ta-line); border-radius: 999px; color: var(--ta-ink-2); }
.ta-sidebar .tagcloud a:hover { border-color: var(--ta-accent); color: var(--ta-accent); }
.ta-sidebar .search-form { display: flex; gap: 8px; }
.ta-sidebar .search-form input[type=search] { flex: 1; font: inherit; padding: 10px 12px; border: 1px solid var(--ta-line); border-radius: 10px; min-width: 0; }
.ta-sidebar .search-form input[type=submit], .ta-sidebar .search-form button { font: inherit; padding: 10px 14px; border: 0; border-radius: 10px; background: var(--ta-ink); color: #fff; cursor: pointer; }

/* archive header */
.ta-page-head { padding: 36px 0 8px; }
.ta-page-head .ta-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ta-accent); margin-bottom: 6px; }
.ta-page-head h1 { margin: 0 0 8px; }
.ta-page-head .ta-desc { color: var(--ta-ink-2); max-width: 70ch; }

/* single */
.ta-article-head { padding: 40px 0 24px; text-align: center; }
.ta-article-head h1 { max-width: 20ch; margin: 10px auto 14px; }
.ta-article-head .ta-meta { font-size: 14px; }
.ta-article-media { max-width: 1000px; margin: 0 auto 36px; border-radius: var(--ta-radius); overflow: hidden; }
.ta-article-media img { width: 100%; }
.ta-article-media figcaption { font-size: 13px; color: var(--ta-muted); padding: 8px 4px; text-align: center; }
.ta-article { max-width: 760px; margin: 0 auto; }
.ta-prose { font-size: 18px; line-height: 1.75; }
.ta-prose > p:first-child::first-letter { font-family: var(--ta-serif); font-size: 3.4em; float: left; line-height: .85; margin: .08em .12em 0 0; color: var(--ta-accent); }
.ta-prose h2, .ta-prose h3 { margin-top: 1.6em; }
.ta-prose img { border-radius: 10px; margin: 1.2em auto; }
.ta-prose img.alignleft { float: left; margin: .4em 1.4em 1em 0; max-width: 45%; }
.ta-prose img.alignright { float: right; margin: .4em 0 1em 1.4em; max-width: 45%; }
.ta-prose .aligncenter, .ta-prose img.aligncenter { margin-left: auto; margin-right: auto; }
.ta-prose figure { margin: 1.4em 0; }
.ta-prose figcaption, .ta-prose .wp-caption-text { font-size: 14px; color: var(--ta-muted); text-align: center; margin-top: .5em; }
.ta-prose .wp-caption { max-width: 100%; }
.ta-prose blockquote { border-left: 4px solid var(--ta-accent); margin: 1.6em 0; padding: .4em 0 .4em 1.2em; font-family: var(--ta-serif); font-size: 1.25em; color: var(--ta-ink-2); }
.ta-prose iframe { max-width: 100%; }
.ta-prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.ta-prose td, .ta-prose th { border: 1px solid var(--ta-line); padding: 8px 10px; }
.ta-prose .wp-block-gallery, .ta-prose .gallery { clear: both; }
.ta-prose::after { content: ""; display: block; clear: both; }
.ta-tags { margin: 28px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ta-tags a { font-size: 13px; padding: 5px 12px; border: 1px solid var(--ta-line); border-radius: 999px; color: var(--ta-ink-2); }
.ta-tags a:hover { border-color: var(--ta-accent); color: var(--ta-accent); }
.ta-author { display: flex; gap: 18px; align-items: center; padding: 22px; background: var(--ta-bg-soft); border-radius: var(--ta-radius); margin: 28px 0; }
.ta-author img { border-radius: 50%; width: 64px; height: 64px; }
.ta-author strong { display: block; font-family: var(--ta-serif); font-size: 1.1rem; }
.ta-author p { margin: 4px 0 0; font-size: 15px; color: var(--ta-ink-2); }
.ta-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.ta-prevnext a { display: block; padding: 16px 18px; border: 1px solid var(--ta-line); border-radius: 12px; color: var(--ta-ink); font-weight: 600; }
.ta-prevnext a:hover { border-color: var(--ta-ink); }
.ta-prevnext small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ta-muted); margin-bottom: 4px; }
.ta-prevnext .next { text-align: right; }
.ta-share { display: flex; gap: 8px; justify-content: center; align-items: center; margin: 20px 0 0; flex-wrap: wrap; }
.ta-share a, .ta-share button { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 13px; font-weight: 600; line-height: 1; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--ta-line); background: #fff; color: var(--ta-ink-2); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.ta-share a:hover, .ta-share button:hover { border-color: var(--ta-ink); color: var(--ta-ink); }
.ta-share svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.ta-share--top a span, .ta-share--top button span { display: none; }
.ta-share--top a, .ta-share--top button { width: 40px; height: 40px; padding: 0; justify-content: center; }
.ta-share--top svg { width: 17px; height: 17px; }
.ta-share--bottom { justify-content: flex-start; margin: 10px 0 28px; padding: 18px 0; border-top: 1px solid var(--ta-line); border-bottom: 1px solid var(--ta-line); }
.ta-share-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ta-ink); margin-right: 6px; }
.ta-share .ta-copy.is-done { border-color: var(--ta-accent); color: var(--ta-accent); }

/* pagination */
.ta-pagination { margin: 40px 0 10px; }
.ta-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ta-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--ta-line); border-radius: 10px; color: var(--ta-ink); font-weight: 600; }
.ta-pagination .page-numbers.current { background: var(--ta-ink); color: #fff; border-color: var(--ta-ink); }
.ta-pagination .page-numbers:hover { border-color: var(--ta-ink); }

/* footer */
.ta-footer { margin-top: 60px; background: var(--ta-ink); color: #bdb6af; }
.ta-footer a { color: #e9e4de; }
.ta-footer a:hover { color: #fff; }
.ta-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 48px 0 36px; }
.ta-footer .ta-logo { color: #fff; font-size: 26px; letter-spacing: 6px; }
.ta-footer .ta-logo:hover { color: #fff; }
.ta-footer h4 { color: #fff; font-family: var(--ta-sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.ta-footer ul { list-style: none; margin: 0; padding: 0; }
.ta-footer li { padding: 5px 0; font-size: 15px; }
.ta-footer .widget { margin-bottom: 20px; font-size: 15px; }
.ta-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ta-footer .ta-social svg { width: 18px; height: 18px; }

/* comments (minimal) */
.ta-comments { max-width: 760px; margin: 40px auto; }
.ta-comments ol { list-style: none; padding: 0; }
.ta-comments .comment { padding: 16px 0; border-bottom: 1px solid var(--ta-line); }
.ta-comments textarea, .ta-comments input[type=text], .ta-comments input[type=email], .ta-comments input[type=url] { width: 100%; font: inherit; padding: 10px; border: 1px solid var(--ta-line); border-radius: 10px; }

/* 404 / search */
.ta-empty { text-align: center; padding: 60px 0; }
.ta-empty form { display: flex; gap: 10px; max-width: 480px; margin: 20px auto 0; }
.ta-empty input[type=search] { flex: 1; font: inherit; padding: 12px 14px; border: 1px solid var(--ta-line); border-radius: 10px; min-width: 0; }

/* plugin tweaks */
.ta-prose .flagallery { margin: 1.5em 0; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .ta-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ta-hero-wrap { grid-template-columns: 1fr; }
  .ta-hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .ta-cols { grid-template-columns: 1fr; gap: 36px; }
  .ta-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .ta-navbar { display: none; }
  .ta-icon-btn.ta-burger { display: inline-flex; }
  .ta-masthead .ta-wrap { min-height: 72px; }
  .ta-logo { font-size: 24px; letter-spacing: 5px; }
  .ta-brand img { max-height: 48px; }
}
@media (max-width: 782px) {
  .admin-bar .ta-navbar { top: 46px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .ta-grid, .ta-grid--2, .ta-grid--4 { grid-template-columns: 1fr; }
  .ta-hero { min-height: 340px; }
  .ta-hero-side { grid-template-columns: 1fr; }
  .ta-hero-side .ta-hero { min-height: 200px; }
  .ta-section { padding: 30px 0; }
  .ta-topbar .ta-tagline { display: none; }
  .ta-prevnext { grid-template-columns: 1fr; }
  .ta-prevnext .next { text-align: left; }
  .ta-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ta-prose { font-size: 17px; }
  .ta-prose img.alignleft, .ta-prose img.alignright { float: none; max-width: 100%; margin: 1em auto; }
  .ta-article-head { padding: 24px 0 16px; }
}

/* Cookie consent bar */
.ta-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9000; max-width: 460px; margin-left: auto; background: var(--ta-ink); color: #fff; border-radius: var(--ta-radius); padding: 20px 22px; box-shadow: 0 18px 50px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 14px; font-size: 14.5px; line-height: 1.5; animation: ta-cookie-in .35s ease-out; }
.ta-cookie[hidden] { display: none; }
.ta-cookie strong { font-family: var(--ta-serif); font-size: 18px; display: block; margin-bottom: 4px; }
.ta-cookie p { margin: 0; color: rgba(255,255,255,.82); }
.ta-cookie a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ta-cookie-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.ta-btn { appearance: none; border: 0; cursor: pointer; font: 600 14px/1 var(--ta-sans); letter-spacing: .03em; padding: 12px 20px; border-radius: 999px; background: var(--ta-accent); color: #fff; transition: background .15s ease, transform .15s ease; }
.ta-btn:hover { background: #a9432a; transform: translateY(-1px); }
.ta-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.ta-btn--ghost:hover { background: rgba(255,255,255,.1); }
.ta-cookie-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@keyframes ta-cookie-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .ta-cookie { left: 10px; right: 10px; bottom: 10px; padding: 16px; } .ta-btn { flex: 1; text-align: center; } }
