/*
Theme Name: Divi T1A
Template: Divi
Description: Detská téma Divi pre Top 1 Accounting – tmavomodrý dizajn, fonty a štýly modulov. Obsah stránok upravujte v Divi Builderi.
Author: Top 1 Accounting
Version: 1.2.2
Text Domain: divi-t1a
*/

/* Farby (na zmenu celého dizajnu stačí upraviť tu):
   navy #0a1a33 · navy-2 #123161 · tmavá pätička #08142a
   modrá (z loga) #2aa7e0 · modrá tmavšia #1489c0 · svetlé pozadie #f3f6fb */
:root {
	--t1a-navy: #0a1a33;
	--t1a-navy-2: #123161;
	--t1a-navy-3: #08142a;
	--t1a-accent: #2aa7e0;
	--t1a-accent-strong: #1489c0;
	--t1a-accent-soft: #e6f3fb;
	--t1a-ink: #0f1d33;
	--t1a-muted: #56637a;
	--t1a-line: #e1e7f0;
	--t1a-surface: #f3f6fb;
}

/* ---------- typografia ---------- */
body, .et_pb_text, .et_pb_blurb_description, input, textarea, select, button {
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body { color: var(--t1a-muted); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .et_pb_module_header, .et_pb_blurb .et_pb_module_header, .et_pb_number_counter h3, .et_pb_post h2 {
	font-family: "Manrope", "Inter", system-ui, sans-serif !important;
	color: var(--t1a-ink);
	letter-spacing: -.02em;
	line-height: 1.15 !important;
	font-weight: 800;
	padding-bottom: .4em;
}
.et_pb_text h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.et_pb_text h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.et_pb_text h3 { font-size: 1.3rem; }
.et_pb_text p { padding-bottom: 1em; }
a { color: var(--t1a-accent-strong); }

.t1a-eyebrow {
	display: inline-flex !important; align-items: center; gap: 8px;
	font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--t1a-accent) !important;
	padding-bottom: 14px !important;
}
.t1a-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.t1a-center .t1a-eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.t1a-lead { font-size: 1.15rem; }
.t1a-accent-text { color: var(--t1a-accent); }

/* ---------- tlačidlá ---------- */
body .et_pb_button, body .et_pb_button:hover,
.t1a-btn, .t1a-btn:hover {
	border-radius: 999px !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	padding: .8em 1.5em !important;
	letter-spacing: 0 !important;
	transition: transform .15s, background .2s, color .2s, border-color .2s !important;
}
body .et_pb_button:hover { transform: translateY(-1px); }
body .et_pb_button::after { display: none !important; }
.t1a-btn-row .et_pb_button_module_wrapper { display: inline-block; margin: 0 10px 10px 0 !important; }
.t1a-btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none !important; border: 2px solid transparent; }
.t1a-btn-primary { background: var(--t1a-accent); color: #fff !important; }
.t1a-btn-primary:hover { background: var(--t1a-accent-strong); }
.t1a-btn-white { background: #fff; color: var(--t1a-navy) !important; }
.t1a-btn-line { border-color: rgba(255,255,255,.6); color: #fff !important; }

/* ---------- hlavička (Theme Builder) ---------- */
.t1a-header { position: relative; z-index: 99; }
.t1a-header .et_pb_menu__menu > nav > ul > li > a { font-weight: 600; font-size: 15px; }
.t1a-header .et_pb_menu .et-menu-nav > ul ul { border-radius: 14px; border-top: 0 !important; padding: 8px; box-shadow: 0 18px 40px -12px rgba(15,29,51,.35); width: 290px; }
.t1a-header .et_pb_menu .et-menu-nav > ul ul li { padding: 0; width: 100%; }
.t1a-header .et_pb_menu .et-menu-nav > ul ul a { width: 100% !important; padding: 9px 12px !important; border-radius: 10px; color: var(--t1a-ink) !important; font-weight: 500; }
.t1a-header .et_pb_menu .et-menu-nav > ul ul a:hover { background: var(--t1a-accent-soft); opacity: 1; color: var(--t1a-accent-strong) !important; }
.t1a-header .et_mobile_menu { border-top-color: var(--t1a-accent) !important; border-radius: 0 0 14px 14px; }
.t1a-header .et_mobile_menu a { color: var(--t1a-ink) !important; }
.t1a-header-phone { white-space: nowrap; }
.t1a-header-phone a { color: #fff !important; font-weight: 600; }

/* ---------- hero ---------- */
.t1a-hero h1 { color: #fff; }
.t1a-hero p, .t1a-hero li { color: #b8c4d8; }
.t1a-checks { list-style: none !important; padding: 0 !important; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; }
.t1a-checks li { display: flex; align-items: center; gap: 8px; }
.t1a-checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(42,167,224,.18); color: var(--t1a-accent); font-size: 12px; font-weight: 700; }
.t1a-hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.t1a-hero-card h3 { color: #fff; font-size: 1.2rem; padding-bottom: 4px; }
.t1a-hero-card p { font-size: .95rem; padding-bottom: 0 !important; }
.t1a-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 22px; }
.t1a-hero-stats div { padding: 16px 8px; border-radius: 16px; background: rgba(42,167,224,.12); text-align: center; }
.t1a-hero-stats strong { display: block; font-family: "Manrope", sans-serif; font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1.1; }
.t1a-hero-stats small { display: block; color: #b8c4d8; font-size: .78rem; line-height: 1.3; margin-top: 4px; }
.t1a-hero-card .t1a-btn { width: 100%; justify-content: center; }

/* ---------- členstvá ---------- */
.t1a-members { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 44px; }
.t1a-members img { height: 54px; width: auto; filter: grayscale(1); opacity: .8; transition: .2s; }
.t1a-members img:hover { filter: none; opacity: 1; }

/* ---------- karty (blurb) ---------- */
.t1a-card.et_pb_blurb {
	background: #fff; border: 1px solid var(--t1a-line); border-radius: 20px; padding: 26px 24px !important;
	transition: transform .2s, box-shadow .2s, border-color .2s; height: 100%;
}
.t1a-card.et_pb_blurb:hover { transform: translateY(-3px); border-color: var(--t1a-accent); box-shadow: 0 22px 44px -26px rgba(15,29,51,.38); }
.t1a-card .et_pb_main_blurb_image { margin-bottom: 18px !important; text-align: left; }
.t1a-card .et-pb-icon.et-pb-icon-circle { padding: 13px; font-size: 22px; border-radius: 14px; border: 0 !important; }
.t1a-card .et_pb_module_header { font-size: 1.1rem !important; padding-bottom: 8px; }
.t1a-card .et_pb_module_header a { color: var(--t1a-ink); }
.t1a-card .et_pb_blurb_description { font-size: .95rem; color: var(--t1a-muted); }
.t1a-card .t1a-more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .92rem; color: var(--t1a-accent-strong); }
.t1a-cards-row .et_pb_column { display: flex; flex-direction: column; }
.t1a-cards-row .et_pb_column > .et_pb_module { flex: 1; }

/* ---------- o nás / štatistiky ---------- */
.t1a-about h2, .t1a-about h3 { color: #fff; }
.t1a-about p, .t1a-about li { color: #aebbd0; }
.t1a-stat.et_pb_number_counter { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 28px 24px; text-align: left !important; }
.t1a-stat .percent { height: auto !important; text-align: left; }
.t1a-stat .percent p { font-family: "Manrope", sans-serif; font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.4rem) !important; line-height: 1 !important; color: #fff !important; }
.t1a-stat .percent p::after { content: "+"; color: var(--t1a-accent); }
.t1a-stat h3 { color: #aebbd0 !important; font-family: "Inter", sans-serif !important; font-weight: 500 !important; font-size: 1rem !important; letter-spacing: 0; padding-top: 10px; }

/* ---------- blog ---------- */
.t1a-blog .et_pb_post { border: 1px solid var(--t1a-line) !important; border-radius: 20px; overflow: hidden; padding: 0 !important; transition: .2s; background: #fff; }
.t1a-blog .et_pb_post:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(15,29,51,.38); }
.t1a-blog .et_pb_post .et_pb_image_container { margin: 0 !important; }
.t1a-blog .et_pb_post .entry-featured-image-url { margin-bottom: 0; }
.t1a-blog .et_pb_post .entry-title, .t1a-blog .et_pb_post .post-meta, .t1a-blog .et_pb_post .more-link { padding-left: 24px; padding-right: 24px; }
.t1a-blog .et_pb_post .entry-title { padding-top: 22px; font-size: 1.08rem !important; line-height: 1.35 !important; }
.t1a-blog .et_pb_post .post-meta { color: var(--t1a-muted); font-size: .85rem; }
.t1a-blog .et_pb_post .more-link { display: inline-block; padding-bottom: 24px; font-weight: 600; color: var(--t1a-accent-strong); }

/* ---------- CTA box ---------- */
.t1a-ctabox { border-radius: 28px; overflow: hidden; }
.t1a-ctabox h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem) !important; padding-bottom: 6px; }
.t1a-ctabox p { color: #c9d4e6; }
.t1a-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 980px) { .t1a-cta-actions { justify-content: flex-start; } }

/* ---------- kontakt ---------- */
.t1a-contact-item.et_pb_blurb { background: #fff; border: 1px solid var(--t1a-line); border-radius: 18px; padding: 16px 20px !important; margin-bottom: 14px !important; }
.t1a-contact-item .et_pb_blurb_content { display: flex; align-items: center; max-width: none; }
.t1a-contact-item .et-pb-icon.et-pb-icon-circle { padding: 12px; font-size: 20px; border-radius: 14px; border: 0 !important; }
.t1a-contact-item .et_pb_module_header { font-size: 1rem !important; padding-bottom: 0 !important; }
.t1a-contact-item .et_pb_blurb_description { font-size: .85rem; }
.t1a-formcard { background: #fff; border: 1px solid var(--t1a-line); border-radius: 24px; padding: clamp(24px, 4vw, 40px) !important; box-shadow: 0 30px 60px -40px rgba(15,29,51,.4); }
.t1a-formcard h3 { font-size: 1.4rem !important; }
.t1a-formcard .wpcf7 label { display: block; font-size: .88rem; font-weight: 600; color: var(--t1a-ink); }
.t1a-formcard .wpcf7 input[type="text"], .t1a-formcard .wpcf7 input[type="email"], .t1a-formcard .wpcf7 input[type="tel"], .t1a-formcard .wpcf7 textarea, .t1a-formcard .wpcf7 select {
	width: 100%; font: inherit; font-size: 1rem; color: var(--t1a-ink); padding: 13px 16px; margin-top: 6px;
	border-radius: 12px; border: 1.5px solid var(--t1a-line); background: var(--t1a-surface);
}
.t1a-formcard .wpcf7 input:focus, .t1a-formcard .wpcf7 textarea:focus { outline: none; border-color: var(--t1a-accent); background: #fff; }
.t1a-formcard .wpcf7 textarea { min-height: 140px; }
.t1a-formcard .wpcf7-submit { background: var(--t1a-accent); color: #fff; border: 0; border-radius: 999px; padding: 14px 28px; font-weight: 600; cursor: pointer; font-size: 16px; }
.t1a-formcard .wpcf7-submit:hover { background: var(--t1a-accent-strong); }

/* ---------- podstránky ---------- */
.t1a-page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem) !important; padding-bottom: 0; }
.t1a-page-hero p { color: #b8c4d8; }
.t1a-breadcrumbs, .t1a-breadcrumbs a { color: #b8c4d8 !important; font-size: .9rem; }
.t1a-content { font-size: 17px; }
.t1a-content h2 { font-size: 1.7rem !important; margin-top: 1.2em; }
.t1a-content h3 { font-size: 1.3rem !important; margin-top: 1em; }
.t1a-content ul, .t1a-content ol { padding-left: 1.3em !important; }
.t1a-content li { margin-bottom: .4em; }
.t1a-content table { border-radius: 12px; overflow: hidden; border: 1px solid var(--t1a-line) !important; }
.t1a-content td, .t1a-content th { border-color: var(--t1a-line) !important; padding: 10px 12px !important; }

/* ---------- pätička (Theme Builder) ---------- */
.t1a-footer, .t1a-footer p, .t1a-footer li { color: #aebbd0; font-size: .95rem; }
.t1a-footer h4 { color: #fff; font-size: 1rem !important; padding-bottom: 12px; }
.t1a-footer ul { list-style: none !important; padding: 0 !important; display: grid; gap: 8px; }
.t1a-footer a { color: #aebbd0; }
.t1a-footer a:hover { color: #fff; }
.t1a-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; }
.t1a-footer-bottom p { font-size: .86rem; }

@media (max-width: 767px) {
	.t1a-hero-stats { grid-template-columns: repeat(3, 1fr); }
	body { font-size: 16px; }
}

/* ===== doladenie 1.0.1 ===== */
.t1a-card .et-pb-icon, .t1a-contact-item .et-pb-icon { background: var(--t1a-accent-soft) !important; color: var(--t1a-accent-strong) !important; border-radius: 14px !important; }
.t1a-card .et_pb_main_blurb_image, .t1a-card .et_pb_image_wrap { text-align: left !important; display: block; }
.t1a-card .et_pb_blurb_content { max-width: none !important; text-align: left; }
.t1a-card:hover .et-pb-icon { background: var(--t1a-accent) !important; color: #fff !important; }
.t1a-cards-row.et_pb_row { padding: 10px 0 !important; }
.t1a-cards-row .et_pb_column { margin-bottom: 20px !important; }
.t1a-stat .percent-value { color: #fff !important; }
.t1a-about .et_pb_column_1_2:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.t1a-about .et_pb_column_1_2:last-child .t1a-stat { margin: 0 !important; }
.t1a-about .et_pb_column_1_2:last-child .t1a-stat:first-child { grid-column: 1 / -1; }
.t1a-blog .et_pb_post .entry-featured-image-url img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.t1a-cta-actions .t1a-btn { white-space: nowrap; }

/* ---------- hlavička Divi ---------- */
#main-header, #main-header.et-fixed-header { background-color: rgba(9, 24, 48, .96) !important; box-shadow: 0 1px 0 rgba(255,255,255,.06) !important; }
#main-header #top-menu > li > a, #main-header.et-fixed-header #top-menu > li > a,
#main-header #et_search_icon::before, #main-header .mobile_menu_bar::before { color: #fff !important; opacity: 1; font-weight: 600; font-size: 15px; }
#main-header #top-menu > li > a:hover, #main-header #top-menu > li.current-menu-item > a { color: var(--t1a-accent) !important; }
#main-header #top-menu li.menu-item-has-children > a::after { color: inherit; }
#main-header .nav li ul { border-top: 0 !important; border-radius: 14px; padding: 8px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.35); width: 290px; background: #fff !important; }
#main-header .nav li ul li { padding: 0 !important; width: 100%; }
#main-header .nav li ul a { width: 100% !important; padding: 9px 12px !important; border-radius: 10px; color: var(--t1a-ink) !important; font-weight: 500; }
#main-header .nav li ul a:hover { background: var(--t1a-accent-soft); color: var(--t1a-accent-strong) !important; opacity: 1; }
#main-header .et_mobile_menu { border-top-color: var(--t1a-accent) !important; border-radius: 0 0 14px 14px; }
#main-header .et_mobile_menu a { color: var(--t1a-ink) !important; }
#main-header #et_top_search { display: none; }
#logo { max-height: 60% !important; }

/* ---------- pätička Divi ---------- */
#main-footer { background-color: var(--t1a-navy-3) !important; }
#main-footer .footer-widget h4, #main-footer .footer-widget .title { color: #fff !important; font-family: "Manrope", sans-serif; }
#main-footer .footer-widget, #main-footer .footer-widget a { color: #aebbd0 !important; font-weight: 400; }
#main-footer .footer-widget a:hover { color: #fff !important; }
#main-footer .footer-widget li::before { border-color: var(--t1a-accent) !important; }
#footer-bottom { background-color: rgba(0,0,0,.25) !important; }
#footer-info, #footer-info a { color: #8b9ab3 !important; }
#footer-bottom .et-social-icon a { color: #aebbd0 !important; }

/* ===== 1.0.3: zoznam činností, jazyky, sociálne ikony ===== */
.t1a-checkgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none !important; padding: 0 !important; margin: 24px 0 36px !important; }
.t1a-checkgrid li {
	position: relative; margin: 0 !important; padding: 16px 16px 16px 50px; border-radius: 14px;
	background: var(--t1a-surface); border: 1px solid var(--t1a-line); color: var(--t1a-ink); font-weight: 600; font-size: .97rem; line-height: 1.4;
}
.t1a-checkgrid li::before {
	content: "✓"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
	width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
	background: var(--t1a-accent); color: #fff; font-size: 13px; font-weight: 700;
}
@media (max-width: 980px) { .t1a-checkgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .t1a-checkgrid { grid-template-columns: 1fr; } }
.t1a-content h2[style*="center"] { margin-top: 1.6em; }
.t1a-content hr { display: none; }

.t1a-lang { float: right; margin-left: 18px; display: flex; align-items: center; height: 100%; padding-top: 0; }
#et-top-navigation .t1a-lang { padding-bottom: 0; }
.t1a-lang a { display: inline-block; margin: 0 2px; opacity: .85; }
.t1a-lang a:hover { opacity: 1; }
.t1a-lang img { width: 22px !important; height: auto !important; border-radius: 3px; vertical-align: middle; }
.t1a-lang select { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: 4px 6px; }
.t1a-lang select option { color: #0f1d33; }
@media (max-width: 980px) { .t1a-lang { float: none; position: absolute; right: 56px; top: 50%; transform: translateY(-50%); margin: 0; } }

#footer-bottom .et-social-icons li:has(a[href="#"]) { display: none; }

/* ===== 1.0.4: postup spolupráce, FAQ, tlačidlo Zavolať ===== */
.t1a-step { background: #fff; border: 1px solid var(--t1a-line); border-radius: 20px; padding: 26px 24px; height: 100%; position: relative; }
.t1a-step-num {
	display: inline-grid !important; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--t1a-accent); color: #fff !important; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.1rem; margin-bottom: 16px; padding: 0 !important;
}
.t1a-step h3 { font-size: 1.1rem !important; padding-bottom: 6px; }
.t1a-step p { font-size: .95rem; padding-bottom: 0 !important; }
.t1a-steps-row .et_pb_column { display: flex; flex-direction: column; }
.t1a-steps-row .et_pb_column > .et_pb_module { flex: 1; }

.t1a-faq.et_pb_toggle { border: 1px solid var(--t1a-line) !important; border-radius: 16px; background: #fff !important; padding: 20px 24px !important; margin-bottom: 12px !important; }
.t1a-faq .et_pb_toggle_title { font-family: "Manrope", sans-serif !important; font-weight: 700 !important; font-size: 1.05rem !important; color: var(--t1a-ink) !important; padding-right: 40px; }
.t1a-faq .et_pb_toggle_title::before { color: var(--t1a-accent) !important; font-size: 22px; right: 0; }
.t1a-faq.et_pb_toggle_open { border-color: var(--t1a-accent) !important; }
.t1a-faq .et_pb_toggle_content { padding-top: 12px; font-size: .98rem; }

.t1a-callbar { display: none; }
@media (max-width: 767px) {
	.t1a-callbar {
		display: inline-flex; align-items: center; gap: 8px; position: fixed; z-index: 9990;
		left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
		padding: 13px 20px; border-radius: 999px; background: var(--t1a-accent); color: #fff !important;
		font-weight: 700; font-size: 16px; box-shadow: 0 12px 28px -8px rgba(10,26,51,.55); text-decoration: none !important;
	}
}
/* prepínač jazykov musí byť nad absolútne umiestneným kontajnerom loga Divi */
.t1a-lang { position: relative; z-index: 5; }
#main-header .logo_container { pointer-events: none; }
#main-header .logo_container a { pointer-events: auto; }

/* ===== 1.1.0: hlavička blogu ===== */
.t1a-archive-hero { background: linear-gradient(160deg, #0a1a33 0%, #123161 100%); padding: 72px 0 56px; }
.t1a-archive-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem) !important; padding-bottom: 6px; }
.t1a-archive-hero p { color: #b8c4d8; max-width: 640px; }

/* ===== 1.2.0: blog – mriežka kariet, články bez bočného panela ===== */
body.blog #sidebar, body.archive #sidebar, body.search #sidebar, body.single-post #sidebar { display: none; }
body.blog #main-content .container::before, body.archive #main-content .container::before,
body.search #main-content .container::before, body.single-post #main-content .container::before { display: none; }
body.blog #left-area, body.archive #left-area, body.search #left-area, body.single-post #left-area { width: 100% !important; padding-right: 0 !important; float: none; }
body.blog #main-content, body.archive #main-content, body.search #main-content { background: var(--t1a-surface); }
body.blog #main-content .container, body.archive #main-content .container, body.search #main-content .container { padding-top: 56px; padding-bottom: 72px; }

body.blog #left-area, body.archive #left-area, body.search #left-area {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
body.blog #left-area > .et_pb_post, body.archive #left-area > .et_pb_post, body.search #left-area > .et_pb_post {
	display: flex; flex-direction: column; margin: 0 !important; padding: 0 24px 24px !important; background: #fff; font-size: .95rem; color: var(--t1a-muted);
	border: 1px solid var(--t1a-line); border-radius: 20px; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
}
body.blog #left-area > .et_pb_post:hover, body.archive #left-area > .et_pb_post:hover, body.search #left-area > .et_pb_post:hover {
	transform: translateY(-3px); border-color: var(--t1a-accent); box-shadow: 0 22px 44px -26px rgba(15,29,51,.38);
}
#left-area > .et_pb_post .entry-featured-image-url { display: block; margin: 0 -24px 20px !important; aspect-ratio: 16 / 9; overflow: hidden; background: var(--t1a-accent-soft); }
#left-area > .et_pb_post .entry-featured-image-url img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
#left-area > .et_pb_post:hover .entry-featured-image-url img { transform: scale(1.04); }
body.blog #left-area > .et_pb_post .entry-title, body.archive #left-area > .et_pb_post .entry-title, body.search #left-area > .et_pb_post .entry-title {
	font-size: 1.12rem !important; line-height: 1.35 !important; padding-bottom: 6px;
}
#left-area > .et_pb_post .entry-title a { color: var(--t1a-ink); }
#left-area > .et_pb_post .entry-title a:hover { color: var(--t1a-accent-strong); }
body.blog #left-area > .et_pb_post .post-meta, body.archive #left-area > .et_pb_post .post-meta, body.search #left-area > .et_pb_post .post-meta {
	font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--t1a-accent-strong); margin-bottom: 8px;
}
body.blog #left-area > .et_pb_post .post-meta a, body.archive #left-area > .et_pb_post .post-meta a { color: var(--t1a-accent-strong); }
body.blog #left-area > .et_pb_post .post-content, body.archive #left-area > .et_pb_post .post-content, body.search #left-area > .et_pb_post .post-content,
body.blog #left-area > .et_pb_post > p, body.archive #left-area > .et_pb_post > p { font-size: .95rem; color: var(--t1a-muted); }
body.blog #left-area > .et_pb_post .post-content p, body.archive #left-area > .et_pb_post .post-content p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: 0; }
body.blog #left-area > .et_pb_post .more-link, body.archive #left-area > .et_pb_post .more-link { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--t1a-accent-strong); }
body.blog #left-area .pagination, body.archive #left-area .pagination, body.search #left-area .pagination,
body.blog #left-area > .wp-pagenavi, body.archive #left-area > .wp-pagenavi { grid-column: 1 / -1; display: flex; justify-content: center; gap: 12px; padding-top: 16px; }
#left-area .pagination .alignleft, #left-area .pagination .alignright { float: none; }
#left-area .pagination a { display: inline-block; padding: 12px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--t1a-line); color: var(--t1a-ink); font-weight: 600; }
#left-area .pagination a:hover { border-color: var(--t1a-accent); color: var(--t1a-accent-strong); }
@media (max-width: 980px) { body.blog #left-area, body.archive #left-area, body.search #left-area { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { body.blog #left-area, body.archive #left-area, body.search #left-area { grid-template-columns: 1fr; } }

/* detail článku */
body.single-post #main-content .container { padding-top: 56px; padding-bottom: 40px; }
body.single-post #left-area > article { max-width: 780px; margin: 0 auto; }
body.single-post .et_post_meta_wrapper h1.entry-title { font-size: clamp(1.9rem, 4vw, 2.8rem) !important; padding-bottom: 12px; }
body.single-post .et_post_meta_wrapper .post-meta { color: var(--t1a-accent-strong); font-weight: 600; font-size: .9rem; margin-bottom: 24px; }
body.single-post .et_post_meta_wrapper img { border-radius: 20px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 32px; }
body.single-post .entry-content { font-size: 18px; line-height: 1.75; color: #36435a; }
body.single-post .entry-content h2 { font-size: 1.6rem !important; margin-top: 1.6em; }
body.single-post .entry-content h3 { font-size: 1.25rem !important; margin-top: 1.3em; }
body.single-post .entry-content ul, body.single-post .entry-content ol { padding-left: 1.3em !important; margin-bottom: 1.2em; }
body.single-post .entry-content li { margin-bottom: .45em; }
body.single-post .entry-content table { border: 1px solid var(--t1a-line) !important; border-radius: 12px; overflow: hidden; margin: 1.5em 0; }
body.single-post .entry-content th { background: var(--t1a-surface); color: var(--t1a-ink); }
body.single-post .entry-content td, body.single-post .entry-content th { padding: 10px 14px !important; border-color: var(--t1a-line) !important; }
body.single-post .entry-content blockquote { border-left: 4px solid var(--t1a-accent); background: var(--t1a-surface); border-radius: 0 14px 14px 0; padding: 16px 22px; }
.t1a-post-cta { max-width: 780px; margin: 48px auto 0; border-radius: 24px; padding: 32px; background: linear-gradient(120deg, #0e2547, #0a1a33); display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.t1a-post-cta h3 { color: #fff; font-size: 1.35rem !important; padding-bottom: 4px; }
.t1a-post-cta p { color: #c9d4e6; padding-bottom: 0; }
body.single-post #comment-wrap { max-width: 780px; margin: 0 auto; }

/* ===== 1.2.1: pätička ===== */
#main-footer { padding-top: 64px; }
#footer-widgets { display: grid !important; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 40px; padding: 0 0 48px !important; }
#footer-widgets::after, #footer-widgets::before { display: none !important; }
#footer-widgets .footer-widget { width: auto !important; margin: 0 !important; float: none !important; }
#footer-widgets .footer-widget:empty { display: none; }
#main-footer .footer-widget .fwidget { margin-bottom: 0 !important; width: 100%; }
#main-footer .footer-widget h4.title { font-size: 1rem !important; letter-spacing: 0; margin-bottom: 16px; padding-bottom: 0; }
#main-footer .footer-widget li { padding-left: 0 !important; margin-bottom: 10px !important; }
#main-footer .footer-widget li::before { display: none !important; }
#main-footer .footer-widget li a { font-size: .95rem; line-height: 1.45; }
#main-footer .footer-widget .post-date { display: block; font-size: .8rem; color: #6f7f99; margin-top: 2px; }
.t1a-fabout img { width: 190px; height: auto; margin-bottom: 16px; }
.t1a-fabout p { color: #aebbd0; font-size: .95rem; line-height: 1.6; padding-bottom: 18px !important; max-width: 340px; }
.t1a-fabout .t1a-btn { font-size: 15px !important; padding: .7em 1.3em !important; }
#main-footer .t1a-fabout a.t1a-btn { color: #fff !important; }
.t1a-flinks, .t1a-fcontact { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.t1a-fcontact li span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #6f7f99; margin-bottom: 2px; }
.t1a-fcontact li a { color: #fff !important; font-weight: 500; }
#footer-bottom { padding: 20px 0 !important; }
#footer-bottom .et-social-icons .et-social-rss { display: none; }
@media (max-width: 980px) { #footer-widgets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { #footer-widgets { grid-template-columns: 1fr; gap: 32px; } }
