/*
Theme Name: Escortia
Theme URI: https://www.escortia.de/
Author: DATAsoft
Description: 1:1-Umsetzung des Joomla/Helix-Auftritts von escortia.de für WordPress (Marktplatz).
Version: 1.1.1
Requires at least: 6.4
Tested up to: 6.8
Text Domain: escortia
*/

html, body {
	margin: 0;
	padding: 0;
	background: #e8e8e8;
	color: #252525;
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 1.5;
}
a { color: #0345bf; text-decoration: none; }
a:hover { color: #044cd0; }
img { max-width: 100%; height: auto; border: 0; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.body-innerwrapper {
	max-width: 1140px;
	margin: 20px auto;
	background: #fff;
	box-shadow: 0 0 5px rgba(0,0,0,.15);
}

/* Header wie Joomla SP Page Builder */
.escortia-head-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0 8px;
}
.escortia-logo img { max-height: 60px; width: auto; }
.escortia-userlinks ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; font-size: 13px; }
.escortia-userlinks a { color: #252525; }
.escortia-lang { font-size: 12px; }
.escortia-lang a { margin: 0 3px; }
.escortia-lang a.is-active { font-weight: 700; }

.escortia-navbar {
	background: #0345bf;
	min-height: 42px;
}
.escortia-mainnav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.escortia-mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.escortia-mainnav a {
	color: #fff;
	display: block;
	padding: 10px 14px;
	font-size: 14px;
}
.escortia-mainnav a:hover { color: #fff; background: rgba(0,0,0,.12); }

#sp-main-body { padding: 24px 0 40px; }

/* Home-Artikel */
.escortia-welcome h3 { font-size: 1.5rem; font-weight: 600; margin: 0 0 8px; }
.escortia-welcome h3 a { color: #0345bf; }
.sppb-article-meta { font-size: 13px; color: #0345bf; margin-bottom: 16px; }
.sppb-article-meta a { margin-right: 8px; }
.sppb-article-introtext p { margin: 0 0 1em; }

/* Kategorien 4 Spalten */
#dj-classifieds .dj-category.cat_cols4 .cat_col {
	float: left;
	width: 24.9%;
}
#dj-classifieds .dj-category .cat_row_title { font-weight: 700; margin: 0 0 10px; }
#dj-classifieds .dj-category h2 { font-size: 16px; margin: 4px 0; font-weight: 700; }
#dj-classifieds .clear_both { clear: both; }
.djsortbox { margin: 16px 0; }
.djsortbox select { width: 100%; max-width: 100%; padding: 6px; }

/* Setkarten: 5 in einer Reihe */
#dj-classifieds .djcf_items_blog .item_box,
.djcf_items_blog .item_box {
	float: left;
	width: 19.9% !important;
	box-sizing: border-box;
	padding: 0 6px 18px;
}
#dj-classifieds .djcf_items_blog .item_box .title h2 {
	font-size: 15px;
	margin: 0 0 8px;
	font-weight: 700;
	line-height: 1.3;
}
#dj-classifieds .item_img img {
	display: block;
	width: 100%;
	height: auto;
}
#dj-classifieds .djcf_items_blog .item_box_right .item_img {
	float: none;
	width: 100%;
}
#dj-classifieds .djcf_items_blog .item_img img {
	margin: 0 0 10px;
	width: 100%;
}
#dj-classifieds .djcf_items_blog .item_desc .desc_info {
	max-height: 4.6em;
	overflow: hidden;
}
#dj-classifieds .label_title { display: block; font-size: 12px; color: #666; }
#dj-classifieds .desc_info { font-size: 13px; }
#dj-classifieds .see_details {
	display: inline-block;
	margin-top: 8px;
	font-size: 13px;
}
#dj-classifieds .cf_box { font-size: 13px; margin-top: 6px; }

/* Footer */
#sp-footer { border-top: 1px solid #eee; padding: 20px 0 30px; }
.escortia-footnav ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.escortia-foottext { text-align: center; max-width: 720px; margin: 0 auto 16px; }
.escortia-foottext .sppb-addon-title { font-weight: 700; }
.escortia-copy { text-align: center; font-size: 13px; color: #666; }

.escortia-notice { margin: 12px 0; padding: 10px 14px; border-radius: 3px; }
.escortia-notice.ok { background: #e8f5e9; border: 1px solid #a5d6a7; }
.escortia-notice.err { background: #fdecea; border: 1px solid #f5c6cb; }
.escortia-form label { display: block; font-weight: 600; margin: 12px 0 4px; }
.escortia-form input[type="text"],
.escortia-form input[type="email"],
.escortia-form input[type="password"],
.escortia-form select,
.escortia-form textarea { width: 100%; max-width: 640px; }
.escortia-form .button,
.escortia-form button[type="submit"] {
	margin-top: 16px;
	background: #0345bf;
	color: #fff;
	border: 0;
	padding: 8px 18px;
	cursor: pointer;
}

/* Date-Manager nur auf Setcard/Dashboard */
body:not(.single-escortia_ad):not(.single-girl_escort):not(.single-girl_bordell):not(.page-date-manager) .ds-dm-modal,
body:not(.single-escortia_ad):not(.single-girl_escort):not(.single-girl_bordell):not(.page-date-manager) .ds-dm-btn,
body.home .ds-dm-modal { display: none !important; }

.screen-reader-text { position: absolute; left: -9999px; }

@media (max-width: 991px) {
	#dj-classifieds .djcf_items_blog .item_box { width: 33.2% !important; }
	#dj-classifieds .dj-category.cat_cols4 .cat_col { width: 49.5%; }
}
@media (max-width: 575px) {
	#dj-classifieds .djcf_items_blog .item_box,
	#dj-classifieds .dj-category.cat_cols4 .cat_col { width: 100% !important; }
	.escortia-head-top { flex-direction: column; align-items: flex-start; }
	.escortia-mainnav { flex-direction: column; }
}
