/*
Theme Name:     ClassiPress Clean
Theme URI:      https://www.7r6.net/
Description:    Sade ve tutarli renklerle ozellestirilmis ClassiPress child temasi. Yazilari cerceveye alir, footer metnini ortalar ve tek bir lacivert vurgu rengi etrafinda tutarli bir gorunum saglar.
Author:         Site Ekibi
Template:       classipress
Version:        1.0.0
*/

@import url("../classipress/style.css");

/* =====================================================
   Clean theme customization
   ===================================================== */

:root {
	--cp-accent: #3f7069;
	--cp-accent-dark: #2c4f4a;
	--cp-frame-border: #d7e4e2;
	--cp-frame-shadow: 0 2px 6px rgba(63, 112, 105, 0.1);
}

/* ---- Frame posts / ad listings / sidebar blocks ---- */
.shadowblock,
.post-block-out,
.searchblock,
.sidebar-block,
.paging {
	border: 1px solid var(--cp-frame-border) !important;
	border-top: 4px solid var(--cp-accent) !important;
	box-shadow: var(--cp-frame-shadow) !important;
}

.shadowblock_out,
.post-block-out {
	margin-bottom: 22px;
}

.post-block-out:last-child {
	margin-bottom: 0;
}

/* single ad / single post page frame */
.content_left .shadowblock,
.content_left .post-block {
	border-radius: 6px;
}

/* ---- Selected home tab gets the page accent background ---- */
.tabcontrol ul.tabnavig li a.selected {
	background-color: var(--cp-accent);
	color: #ffffff;
	border-color: var(--cp-accent);
}

.tabcontrol ul.tabnavig li a:hover {
	color: var(--cp-accent);
}

.tabcontrol ul.tabnavig li a.selected:hover {
	color: #ffffff;
}

/* ---- Post / ad titles use the same accent color ---- */
.post-block .post-right h3 a,
.post-block .post-right-no-img h3 a,
.shadowblock h2.loop a,
.shadowblock h1.loop a {
	color: var(--cp-accent);
}

.post-block .post-right h3 a:hover,
.post-block .post-right-no-img h3 a:hover,
.shadowblock h2.loop a:hover,
.shadowblock h1.loop a:hover {
	color: var(--cp-accent-dark);
}

/* ---- Footer: center + frame the footer text widget ---- */
.footer_main {
	padding: 30px 20px;
}

.footer_main .textwidget {
	max-width: 780px;
	margin: 0 auto;
	padding: 22px 28px;
	text-align: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	line-height: 1.7;
}

.footer_main .textwidget p {
	margin: 0 0 10px 0;
}

.footer_main .textwidget p:last-child {
	margin-bottom: 0;
}

.footer_main .textwidget h1,
.footer_main .textwidget h2 {
	color: #fff;
	text-align: center;
}

.footer a,
.footer a:visited,
.footer_main .textwidget a,
.footer_main .textwidget a:visited {
	color: #ffffff !important;
	text-decoration: underline;
}

.footer a:hover,
.footer_main .textwidget a:hover {
	color: #ffffff !important;
	text-decoration: none;
}

/* ---- Frame + center the "cntr" block above the footer ---- */
main.cntr {
	max-width: 760px;
	width: 90%;
	margin: 25px auto;
	padding: 25px 30px;
	background: #fff;
	border: 2px solid var(--cp-accent);
	border-radius: 8px;
	box-shadow: 0 4px 14px rgba(63, 112, 105, 0.18);
	box-sizing: border-box;
}

main.cntr .clr {
	margin: 0;
	padding: 0;
	height: 0;
}

/* footer bottom menu row: also centered for visual balance */
.footer_menu_res {
	text-align: center;
}

.footer_menu_res ul {
	display: inline-block;
	float: none;
}

.footer_menu_res ul li {
	float: left;
}
