/*
Theme Name:   IsleMag Parent
Theme URI:    https://themeisle.com/themes/islemag/
Author:       Custom Build
Author URI:   https://themeisle.com/
Description:  A functional, installable rebuild of the IsleMag parent theme, built to work with the ReviewZine child theme (hooks, actions and filters match what ReviewZine expects). Installed under the folder "islemag-parent" to avoid conflicting with any other IsleMag install.
Version:      1.1.14
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  islemag
*/

/* ---------- Reset / Base ---------- */
body {
	color: #444;
	background: #fff;
	font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: #ffa71c; text-decoration: none; }
a:hover { color: #1e3046; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; }

/* ---------- Top bar ---------- */
.navbar-top {
	background: #1e3046;
	color: #fff;
	font-size: 13px;
}
.navbar-top .row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.navbar-top .social-icons a { color: #fff; margin-right: 12px; }
.navbar-top .top-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.navbar-top .top-navigation a { color: #fff; }

/* ---------- Header ---------- */
.site-header { padding: 25px 0; border-bottom: 1px solid #eee; }
.site-header .row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
.site-branding .site-title { font-size: 28px; font-weight: 700; color: #1e3046; margin: 0; }
.site-branding .site-title span { color: #ffa71c; }
.site-branding img { max-height: 60px; }
.header-ad-banner { text-align: center; }

/* ---------- Main navigation ---------- */
.main-navigation { background: #fff; border-top: 3px solid #ffa71c; }
.main-navigation .nav-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.main-navigation .nav-menu > li { position: relative; }
.main-navigation .nav-menu > li > a {
	display: block; padding: 15px 18px; color: #1e3046; font-weight: 600; text-transform: uppercase; font-size: 13px;
}
.main-navigation .nav-menu > li:hover > a,
.main-navigation .nav-menu > li.current_page_item > a,
.main-navigation .nav-menu > li.current-menu-item > a { color: #ffa71c; }
.main-navigation .sub-menu { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; top: 100%; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.1); min-width: 200px; display: none; z-index: 50; }
.main-navigation li:hover > .sub-menu { display: block; }
.main-navigation .sub-menu a { padding: 10px 15px; display: block; color: #1e3046; }
.menu-toggle { display: none; background: #1e3046; color: #fff; border: 0; padding: 10px 15px; }

/* ---------- Content layout ---------- */
#content.site-content { padding: 30px 0; }
.islemag-content-left { }
.page-header { margin-bottom: 30px; }
.page-header h1 { font-size: 26px; color: #1e3046; }
.category-name { color: #ffa71c; border-left: 3px solid #ffa71c; padding-left: 12px; margin-left: 12px; }
.taxonomy-description { color: #777; margin-top: 10px; }

/* ---------- Entry / post cards ---------- */
.entry-block { margin-bottom: 30px; }
.entry-media { position: relative; overflow: hidden; border-radius: 3px; }
.entry-media img { width: 100%; display: block; }
.entry-title { font-size: 18px; margin: 12px 0 6px; }
.entry-title a { color: #1e3046; }
.entry-meta { font-size: 13px; color: #999; }
.entry-meta > * { margin-right: 10px; }
.entry-content p { color: #666; line-height: 1.7; }
.entry-date { text-align: center; float: left; width: 60px; margin-right: 15px; background: #ffa71c; color: #fff; padding: 8px 0; border-radius: 3px; }
.entry-date div { font-size: 22px; font-weight: 700; line-height: 1; }
.entry-date span { display: block; font-size: 11px; margin-top: 3px; }
.entry:after { content: ""; display: table; clear: both; }

/* ---------- Slider (front page) ---------- */
.islemag-top-carousel { position: relative; margin-bottom: 30px; }
.islemag-top-carousel .owl-stage { display: flex; gap: 15px; }
.islemag-top-carousel .entry-holder { position: relative; overflow: hidden; border-radius: 3px; }
.islemag-top-carousel img { width: 100%; height: 320px; object-fit: cover; display: block; }
.islemag-top-carousel .extra-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0)); color: #fff; }
.islemag-top-carousel .extra-info .entry-title a { color: #fff; }
.entry-overlay-meta { font-size: 12px; opacity: .85; }

/* ---------- Sections (Latest News / Latest Posts) ---------- */
.islemag-section1, .islemag-section2, .islemag-section3, .islemag-section4, .islemag-section5 { margin: 40px 0; }
.title-border { border-bottom: 2px solid #eee; margin-bottom: 20px; position: relative; }
.title-border span, .title-bg-line span { display: inline-block; padding-bottom: 10px; border-bottom: 3px solid #ffa71c; font-size: 20px; font-weight: 700; color: #1e3046; }
.eb-small { display: flex; gap: 12px; margin-bottom: 15px; }
.eb-small img { width: 80px; height: 60px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.eb-small h3.entry-title { font-size: 14px; margin: 0 0 6px; }

/* ---------- Sidebar ---------- */
.sidebar .widget { margin-bottom: 30px; }
.sidebar .widget h3, .widget-title { font-size: 17px; color: #1e3046; margin-bottom: 15px; }
.sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar .widget li { padding-bottom: 12px; }

/* ---------- Ratings ---------- */
.star-ratings-css { position: relative; width: 90px; height: 14px; }
.star-ratings-css-bottom, .star-ratings-css-top { position: absolute; top: 0; left: 0; white-space: nowrap; overflow: hidden; }
.star-ratings-css-top { color: #ffc514; }
.star-ratings-css-bottom { color: #ddd; width: 100%; }

/* ---------- Pagination ---------- */
.reviewzine-pagination { margin: 30px 0; }
.reviewzine-pagination .page-numbers { padding: 7px 14px; border: 1px solid #e1e1e1; margin-right: 8px; display: inline-block; color: #1e3046; border-radius: 3px; }
.reviewzine-pagination .page-numbers.current { background: #1e3046; color: #fff; border-color: #1e3046; }

/* ---------- Comments ---------- */
.comments-area { margin-top: 40px; }
.comment-reply-title span { font-size: 20px; color: #1e3046; }
.comments-list { list-style: none; margin: 0; padding: 0; }
.comments-list .media { display: flex; gap: 15px; margin-bottom: 20px; }
.comments-list .media-object { border-radius: 50%; }
.comment-date { color: #999; font-size: 13px; }

/* ---------- Footer ---------- */
#footer-inner { background: #1e3046; color: #fff; padding: 40px 0; }
#footer .widget h3, .widget-title { color: #fff; }
#footer .widget { color: #cfd6df; }
#footer-bottom { background: #172435; padding: 15px 0; color: #cfd6df; font-size: 13px; }
#footer-bottom .row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 15px; flex-wrap: wrap; }
.footer-menu a { color: #cfd6df; }
.footer-menu a:hover { color: #ffa71c; }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
	.main-navigation .nav-menu { display: none; flex-direction: column; }
	.main-navigation .nav-menu.toggled { display: flex; }
	.menu-toggle { display: block; }
	.islemag-top-carousel .owl-stage { flex-direction: column; }
	.entry-date { float: none; margin-bottom: 10px; }
}
