/*
Theme Name:   Rheinland Fokus Child
Theme URI:    https://rheinlandfokus.de/
Description:  Child-Theme von Newspaper (tagDiv) fuer rheinlandfokus.de. Eigene Anpassungen nur hier, nie im Parent-Theme.
Author:       Onlineseitig
Template:     Newspaper
Version:      1.0.0
Requires PHP: 8.3
Text Domain:  rheinlandfokus-child
*/

/* Eigene Styles unterhalb dieser Zeile. */
/* RF-DESIGN-START */

/* ===== Rheinland Fokus: Petrol, Terrakotta, Source Serif 4 + Inter (überschreibt Publication-Pro-Demo) ===== */
:root {
	--rf-petrol: #0e4a52;
	--rf-petrol-tief: #0a363c;
	--rf-terra: #e07a52;
	--rf-terra-text: #b8552f;
	--rf-tinte: #1d2b2e;
	--rf-linie: #dfe5e5;
	--rf-flaeche: #f6f3ef;
	--rf-serif: 'RF Serif', Georgia, 'Times New Roman', serif;
	--rf-sans: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
body, .td-theme-wrap { background: #fff; color: var(--rf-tinte); font-family: var(--rf-sans); }
body, p, li, .td-excerpt, .td-post-date, .td-module-meta-info, .td-editor-date,
.tdb-head-search-form-input, .td-search-form-widget input, input, textarea, select, button,
.tdb-menu > li > a, .tdb-menu .sub-menu a, .td-block-list-menu a, .tdm-descr, .td-post-category,
.tdb-entry-category, .tdm-btn-text, .td_block_ad_box, .tdb-category-siblings a { font-family: var(--rf-sans) !important; }
h1, h2, h3, h4, h5, .td-module-title, .td-module-title a, .entry-title, .tdb-title-text,
.tdm-title, .tdb-single-content h2, .tdb-single-content h3, .td-page-title, .rf-presse-titel { font-family: var(--rf-serif) !important; }

/* Blocktitel ruhig: Serif, keine Versalien, feine Linie mit Terrakotta-Anfang */
.tdm_block_column_title .tdm-title { text-transform: none !important; letter-spacing: 0 !important; font-weight: 700 !important; color: var(--rf-petrol) !important; }
.tdm_block_column_title .tds-title2 .tdm-title-line { background: var(--rf-linie) !important; height: 1px !important; }
.tdm_block_column_title .tds-title2 .tdm-title-line:after,
.tdm_block_column_title .tds-title2 .tdm-title-line::before { content: ''; position: absolute; left: 0; top: -1px; width: 48px; height: 3px; background: var(--rf-terra); }
.tdm_block_column_title .tds-title2 .tdm-title-line { position: relative; }

/* Modultitel */
.td-module-title a { color: var(--rf-tinte); }
.td-module-title a:hover, .tdb-menu > li > a:hover, .tdb-menu .sub-menu a:hover { color: var(--rf-terra-text) !important; }
.td-post-category, .tdb-entry-category { color: var(--rf-terra-text) !important; letter-spacing: .06em; }
.td-module-container:hover .td-module-title a { color: var(--rf-petrol); }

/* Kopf: weiß, Logo mittig, Menüleiste darunter */
.td-header-template-wrap { background: #fff; }
.rf-menuleiste { border-bottom: 1px solid var(--rf-linie); }
.tdb-menu > li > a .tdb-menu-item-text { font-weight: 600; font-size: 15px; letter-spacing: .01em; color: var(--rf-tinte); }
.tdb-menu > li.current-menu-item > a .tdb-menu-item-text,
.tdb-menu > li.current-menu-ancestor > a .tdb-menu-item-text,
.tdb-menu > li.current-category-ancestor > a .tdb-menu-item-text { color: var(--rf-petrol); }
.tdb-menu > li > a .tdb-menu-item-text:after, .tdb_header_menu .tdb-menu-items-pulldown .tdb-menu-item-text:after { background: var(--rf-terra) !important; }
.rf-einsenden .tdm-btn { border: 1px solid var(--rf-petrol) !important; padding: 10px 16px !important; border-radius: 2px; }
.rf-einsenden .tdm-btn .tdm-btn-text { color: var(--rf-petrol) !important; text-transform: none !important; font-size: 14px !important; letter-spacing: 0 !important; font-weight: 600 !important; }
.rf-einsenden .tdm-btn:hover { background: var(--rf-petrol) !important; }
.rf-einsenden .tdm-btn:hover .tdm-btn-text { color: #fff !important; }
.td-header-template-wrap .tdb-head-search-btn i, .tdb_mobile_search i, .tdb_mobile_menu i { color: var(--rf-petrol) !important; }

/* Startseite: viel Weißraum */
.rf-aufmacher .td_flex_block_2 .td-module-title a { color: #fff; }
.rf-aufmacher .td_flex_block_2 .td-module-title { font-weight: 700; }
.rf-anzeige-reihe { padding: 8px 0; }

/* Werbeflächen: Platz reservieren, kein Layout-Sprung */
.rf-anzeige img { display: block; height: auto; margin: 0 auto; }
.rf-anzeige .td-adspot-title { font-size: 11px; color: #6b7b7d; text-transform: none; }
@media (min-width: 768px) {
	.rf-anzeige img[width="728"], .rf-anzeige-reihe .rf-anzeige img { aspect-ratio: 728 / 90; width: 100%; max-width: 728px; }
}

/* Kasten „Für Pressestellen“ */
.rf-presse { background: var(--rf-flaeche); border-top: 3px solid var(--rf-terra); padding: 22px 22px 8px; margin-bottom: 30px; }
.rf-presse p { font-size: 15px; line-height: 1.55; margin-bottom: 14px; }
.rf-presse .rf-presse-titel { font-size: 22px; font-weight: 700; color: var(--rf-petrol); margin-bottom: 10px; line-height: 1.2; }
.rf-presse a { color: var(--rf-terra-text); font-weight: 600; }

/* Beitrag */
.tdb_single_content .tdb-block-inner a, .td-page-content a, .bp-quellen a { color: var(--rf-terra-text); text-decoration: underline; text-underline-offset: 2px; }
.tdb_single_content .tdb-block-inner { font-size: 18px; line-height: 1.7; }
.tdb_single_content .tdb-block-inner h2 { color: var(--rf-petrol); font-size: 26px; }
blockquote, .td-post-content blockquote { border-left: 3px solid var(--rf-terra) !important; }

/* Kommentarzähler aus (Kommentare sind aus) */
.td-module-comments, .td-post-comments, .tdb-comment-count { display: none !important; }

/* Fuß */
.td-footer-template-wrap { border-top: 3px solid var(--rf-petrol); background: #fff; }
.td-footer-template-wrap .td-block-list-menu a:hover { color: var(--rf-terra-text) !important; }

/* Leere Blöcke (noch keine Meldungen) unauffällig */
.td_block_wrap .td-no-posts, .tdb-no-posts { font-size: 14px; color: #6b7b7d; border: 0; padding: 0; }
.tdb-menu > li > a .tdb-menu-item-text, .tdb-menu .sub-menu .tdb-menu-item-text { text-transform: none !important; }
.td-footer-template-wrap .tdm-title { text-transform: none !important; color: var(--rf-petrol) !important; }
body .tdm_block_column_title .tdm-title { text-transform: none !important; }
.td-header-template-wrap .tdb-head-search-btn i, .td-header-template-wrap .tdb-head-search-btn svg { color: var(--rf-petrol) !important; fill: var(--rf-petrol) !important; }
.rf-liste .entry-title, .rf-liste .td-module-title { font-size: 17px !important; line-height: 1.3 !important; font-weight: 600; }
.rf-liste .td-block-span12 { border-bottom: 1px solid var(--rf-linie); padding-bottom: 12px; margin-bottom: 12px; }
.tdb-head-search-btn svg, .tdb-head-search-btn svg *, .tdb_mobile_search svg, .tdb_mobile_search svg *, .tdb_mobile_menu svg, .tdb_mobile_menu svg * { fill: var(--rf-petrol) !important; }
.tdb-head-search-btn .tdb-search-icon { color: var(--rf-petrol) !important; }
/* Anzeigenbilder sind 2x gerendert: auf Nennmaß begrenzen */
.td-a-rec img { max-width: 100%; height: auto; }
img[src*="anzeige-rheinland-728"] { width: 728px; max-width: 100%; }
img[src*="anzeige-rheinland-300"] { width: 300px; max-width: 100%; }
img[src*="anzeige-rheinland-320"] { width: 320px; max-width: 100%; }
.td-a-rec div[style*="inline-block"] { max-width: 100%; }
.td-a-rec .td-adspot-title { display: none; }
@media (max-width: 767px) { html, body { overflow-x: hidden; } }
.td-scroll-up, .td-scroll-up-visible { background-color: var(--rf-petrol) !important; }
.td-next-prev-wrap a:hover { background-color: var(--rf-petrol) !important; border-color: var(--rf-petrol) !important; }
