/*
Theme Name: RepromedaGyn
Template: twentytwentyfive
Description: Podřazené téma pro části webu, které nekreslí Elementor (detail článku, výpisy, 404). Hlavička a patička kopírují Elementor šablonu stránky (ID 33) — při změně menu nebo patičky upravit OBĚ místa.
Version: 1.2
Text Domain: repromedagyn
*/

:root { --rg-ruzova: #D7A3B3; --rg-fialova: #594B74; --rg-text: #2F2E2E; --rg-seda: #6B6B6B; --rg-pozadi: #F0F0F0; }

/* Hlavička */
.rg-header { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 6rem; background: #fff; font-family: Poppins, sans-serif; }
.rg-header .rg-logo img { width: 200px; height: auto; display: block; }
.rg-nav { display: flex; align-items: center; gap: 2.25rem; }
.rg-nav a { font-size: 0.8rem; color: var(--rg-text); text-decoration: none; }
.rg-nav a:hover, .rg-nav a.is-active { color: var(--rg-ruzova); }
.rg-nav a.rg-btn { color: var(--rg-fialova); border: 1px solid var(--rg-ruzova); border-radius: 6px; padding: 0.5rem 1rem; margin-left: 1.5rem; transition: all .3s; }
.rg-nav a.rg-btn:hover { background: var(--rg-ruzova); color: #fff; }

/* Patička */
.rg-addresses { display: flex; justify-content: center; align-items: center; gap: 3rem; padding: 2.5rem 2rem; font-size: 0.75rem; font-weight: 300; color: var(--rg-seda); }
.rg-addresses a { color: inherit; text-decoration: none; }
.rg-addresses strong { color: var(--rg-text); font-weight: 600; margin-right: .5rem; }
.rg-addresses .rg-sep { width: 1px; height: 1.5rem; background: var(--rg-fialova); }
.rg-footer { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 3rem 6rem 2rem; border-top: 1px solid var(--rg-pozadi); font-family: Poppins, sans-serif; }
.rg-footer-cols { display: flex; justify-content: space-between; width: 100%; max-width: 60rem; gap: 2rem; padding-bottom: 2rem; }
.rg-footer-cols h4 { font-size: 0.75rem; font-weight: 500; color: var(--rg-ruzova); margin: 0 0 .75rem; }
.rg-footer-cols ul { list-style: none; margin: 0; padding: 0; }
.rg-footer-cols li { margin: .4rem 0; font-size: .85rem; }
.rg-footer-cols li.small { font-size: .75rem; }
.rg-footer-cols a { color: var(--rg-fialova); text-decoration: none; }
.rg-footer-cols a:hover { color: var(--rg-ruzova); }
.rg-footer-contact { text-align: center; font-size: .75rem; font-weight: 300; line-height: 1.5; color: var(--rg-fialova); }
.rg-footer-contact a.rg-btn { display: inline-block; font-size: .8rem; font-weight: 500; color: var(--rg-fialova); border: 2px solid var(--rg-ruzova); border-radius: 4px; padding: .5rem 1rem; margin-bottom: 1rem; text-decoration: none; }
.rg-footer-contact a.rg-btn:hover { background: var(--rg-ruzova); color: #fff; }
.rg-partners-title { font-size: .7rem; color: var(--rg-text); border-bottom: 1px solid var(--rg-fialova); padding: 0 12rem .6rem; }
.rg-partners { font-size: .72rem; font-weight: 300; color: var(--rg-fialova); text-align: center; }
.rg-partners a { color: inherit; text-decoration: none; }
.rg-copy { font-size: .7rem; font-weight: 300; color: var(--rg-seda); margin-top: 2rem; }

/* Detail článku */
.rg-post { max-width: 46rem; margin: 0 auto; padding: 4rem 1.5rem 5rem; }
.rg-post .rg-back a { font-size: .85rem; font-weight: 300; color: var(--rg-fialova); text-decoration: none; }
.rg-post .rg-back a:hover { color: var(--rg-ruzova); }
.rg-post .wp-block-post-date { font-size: .75rem; color: var(--rg-seda); margin-top: 2rem; }
.rg-post .wp-block-post-title { font-size: 1.9rem; font-weight: 600; line-height: 1.3; color: var(--rg-fialova); margin: .5rem 0 2rem; }
.rg-post .wp-block-post-featured-image img { border-radius: 0; }
.rg-post .wp-block-post-content { font-size: .95rem; font-weight: 300; line-height: 1.75; color: var(--rg-text); }
.rg-post .wp-block-post-content a { color: var(--rg-fialova); }
.rg-post .wp-block-post-content img { max-width: 100%; height: auto; }
.rg-post .wp-block-post-content figure { margin: 2rem 0; }
.rg-post .wp-block-post-content h2, .rg-post .wp-block-post-content h3 { font-size: 1.25rem; line-height: 1.35; margin: 2.25rem 0 .75rem; }

@media (max-width: 767px) {
  .rg-header { flex-direction: column; padding: 1rem; gap: 1rem; }
  .rg-nav { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .rg-nav a.rg-btn { margin-left: 0; }
  .rg-addresses { flex-direction: column; gap: 1rem; }
  .rg-addresses .rg-sep { display: none; }
  .rg-footer { padding: 2rem 1rem; }
  .rg-footer-cols { flex-direction: column; }
  .rg-partners-title { padding: 0 1rem .6rem; }
}

/* Stránky z Elementoru (šablona Canvas): měřítko podle originálu na Wixu (text 14 px, nadpisy ~28 px)
   — Elementor styly jsou v rem, takže se úměrně zvětší písmo i mezery. Na mobilu zůstává 16 px. */
@media (min-width: 1025px) { html { font-size: 17.5px; } }
body.elementor-template-canvas { background-color: #FAFAFA; }
