/* === ZÁKLADNÍ NASTAVENÍ, FONT A BARVY === */
#html_custom_template {
--orange: #ff6600;
--light-bg: #f9fafb;
--white: #ffffff;
--text-dark: #1f2937;
--text-secondary: #6b7280;
--border-color: #e5e7eb;
--link-blue: #3e8edd;
}

#html_custom_template body {
margin: 0;
font-family: 'Inter', sans-serif;
background-color: transparent;
color: var(--text-dark);
overflow-x: hidden;
}

#html_custom_template .showroom-section *, #html_custom_template .showroom-section *:before, #html_custom_template .showroom-section *:after {
box-sizing: border-box;
}

/* This is the main container as requested */
#html_custom_template .showroom-section {
font-family: 'Inter', sans-serif;
background-color: transparent;
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 40px 0; /* Top padding is handled here */
overflow-x: hidden;
}

#html_custom_template .page-wrapper {
width: 100%;
max-width: 1100px; /* ZMENENÉ: Pôvodne 900px, teraz rozšírené podľa požiadavky */
margin: 0 auto;
padding: 0 20px;
overflow: hidden;
}

#html_custom_template .section-spacer { margin-top: 80px; }

/* === HEADERS === */
#html_custom_template .page-header {
text-align: center;
margin-bottom: 50px;
}
#html_custom_template .page-header h1 { font-size: clamp(2.5rem, 5vw, 3rem); font-weight: 800; color: var(--text-dark); line-height: 1.2; margin-bottom: 15px; }
#html_custom_template .page-header h1 span { color: var(--orange); }
#html_custom_template .page-header p { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--text-secondary); max-width: 700px; margin: 0 auto; line-height: 1.6; }

/* === CONTENT STYLES === */
#html_custom_template .content-section h2 {
font-size: clamp(1.8rem, 4vw, 2.2rem);
font-weight: 700;
color: var(--text-dark);
margin-top: 40px;
margin-bottom: 20px;
border-bottom: 1px solid var(--border-color);
padding-bottom: 15px;
line-height: 1.3; /* Default line-height for all views */
}
#html_custom_template .content-section h3 {
font-size: 1.3rem;
font-weight: 600;
color: var(--text-dark);
margin-top: 30px;
margin-bottom: 15px;
}
#html_custom_template .content-section p, #html_custom_template .content-section li {
font-size: 1.05rem;
color: var(--text-secondary);
line-height: 1.8;
margin-bottom: 15px;
}
#html_custom_template .content-section ul {
list-style-type: disc;
padding-left: 25px;
}
#html_custom_template .content-section a {
color: var(--link-blue);
text-decoration: none;
font-weight: 500;
}
#html_custom_template .content-section a:hover {
text-decoration: underline;
color: var(--orange);
}
#html_custom_template .content-section strong {
color: var(--text-dark);
font-weight: 600;
}

/* === FEE TABLE STYLES === */
#html_custom_template .fee-table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
border: 1px solid var(--border-color);
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
#html_custom_template .fee-table th, #html_custom_template .fee-table td {
padding: 15px 20px;
text-align: left;
border-bottom: 1px solid var(--border-color);
}
#html_custom_template .fee-table th {
background-color: var(--light-bg);
font-size: 1rem;
font-weight: 600;
color: var(--text-dark);
text-transform: uppercase;
letter-spacing: 0.05em;
}
#html_custom_template .fee-table td {
font-size: 1rem;
color: var(--text-secondary);
}
#html_custom_template .fee-table tr:last-child td {
border-bottom: none;
}
#html_custom_template .fee-table .fee-amount {
font-weight: 700;
font-size: 1.1rem;
color: var(--orange);
}
#html_custom_template .fee-table .fee-note {
font-size: 0.9rem;
display: block;
margin-top: 4px;
color: #9ca3af;
}

/* === BLOCK FROM TEMPLATE: feature-block-split === */
#html_custom_template .feature-block-split {
background-color: var(--white);
border-radius: 24px;
display: flex;
align-items: stretch;
overflow: hidden;
border: 1px solid var(--border-color);
}
#html_custom_template .feature-block-split--reversed {
flex-direction: row-reverse;
}
#html_custom_template .feature-block-split__image {
flex: 1 1 45%;
min-height: 400px;
}
#html_custom_template .feature-block-split__image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
#html_custom_template .feature-block-split__text {
flex: 1 1 55%;
padding: 5%;
display: flex;
flex-direction: column;
justify-content: center;
}
#html_custom_template .feature-block-split__text h2 {
font-size: 2rem;
font-weight: 700;
color: var(--text-dark);
margin-bottom: 20px;
line-height: 1.3;
border-bottom: none; /* Override general h2 style */
padding-bottom: 0;   /* Override general h2 style */
margin-top: 0;        /* Override general h2 style */
}
#html_custom_template .feature-block-split__text p {
font-size: 1.1rem;
color: var(--text-secondary);
line-height: 1.8;
margin-bottom: 20px;
}
#html_custom_template .feature-block-split__text p:last-child {
margin-bottom: 0;
}
#html_custom_template .feature-block-split__text .highlight {
color: var(--orange);
font-weight: 600;
}

/* === RESPONSIVENESS === */
@media (max-width: 992px) {
#html_custom_template .feature-block-split, #html_custom_template .feature-block-split--reversed {
flex-direction: column;
}
}

/* ÚPRAVA PRO MOBILNÍ ZAŘÍZENÍ */
@media (max-width: 768px) {
#html_custom_template .content-section h2 {
line-height: 1.4; /* Zvýšené řádkování pro lepší čitelnost na mobilu */
}

#html_custom_template .page-header h1 {
line-height: 1.3; /* Mírně zvýšené řádkování i pro hlavní nadpis */
}
}
