/* ==========================================================
   custom.css  - added for inner pages. Theme files untouched.
   Brand colours come from the template (orange accent).
   ========================================================== */

/* ---- header: current menu item (WordPress/Joomla use same class) ---- */
.header-menu ul li.current-menu-item > a,
.main-menu ul li.current-menu-item > a { color: #ff5e14; }

/* ---- shared content typography ---- */
.content-heading { font-size: 28px; font-weight: 700; line-height: 1.3; margin: 34px 0 14px; color: #171717; }
.service-content-area p { font-size: 16px; line-height: 1.85; margin-bottom: 18px; color: #5c5c5c; }
.service-content-area .service-page-title h1 { font-size: 36px; line-height: 1.25; margin: 26px 0 18px; }
.service-hero-img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.service-content-area .team-contact-button { margin-top: 28px; }

/* ---- sidebar ---- */
.service-sidebar .widget-categories-box { margin-bottom: 30px; }
.service-sidebar .widget-categories-menu ul li.active > a { color: #ff5e14; }
.sidebar-contact { padding: 28px 30px; background: #f4f6f8; }
.sidebar-contact p { margin: 14px 0; line-height: 1.7; }
.sidebar-contact-list { list-style: none; padding: 0; margin: 0 0 20px; }
.sidebar-contact-list li { margin-bottom: 10px; word-break: break-word; }
.sidebar-contact-list i { color: #ff5e14; margin-right: 10px; }

/* ---- listing pages ---- */
.listing-area { padding: 100px 0 80px; }
.listing-intro { max-width: 900px; margin-bottom: 40px; }
.listing-intro p { line-height: 1.85; margin-bottom: 14px; }
.service-grid .single-service-box { margin-bottom: 30px; }
.service-grid .single-service-thumb img { width: 100%; height: 231px; object-fit: cover; }
.listing-extra { margin-top: 50px; }

/* ---- feature boxes spacing when used in a grid ---- */
.service-details-box { margin-bottom: 30px; height: calc(100% - 30px); }
.inner-values { padding-top: 40px; padding-bottom: 60px; }
.home-values { padding-top: 90px; padding-bottom: 60px; }

/* ---- about / trainers ---- */
.inner-about { padding: 100px 0 40px; }
.inner-about .about-thumb-right img,
.trainer-photo img { width: 100%; height: auto; display: block; }
.trainer-photo img { max-height: 520px; object-fit: cover; }

/* ---- gallery ---- */
.gallery-area { padding: 100px 0 70px; }
.gallery-item { position: relative; margin-bottom: 30px; overflow: hidden; }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: rgba(23,23,23,.45); color: #fff; font-size: 30px; opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-zoom { opacity: 1; }

/* ---- calendar table ---- */
.calendar-table table { margin-top: 10px; }
.calendar-table th { background: #171717; color: #fff; font-weight: 600; white-space: nowrap; }
.calendar-table td { vertical-align: middle; }
.table-link { color: #ff5e14; font-weight: 600; }

/* ---- contact ---- */
.inner-contact { padding: 100px 0 80px; }
.contact-info-list { list-style: none; padding: 0; margin: 24px 0; }
.contact-info-list li { margin-bottom: 12px; font-size: 17px; word-break: break-word; }
.contact-info-list i { color: #ff5e14; margin-right: 12px; }
.contact-note { margin-top: 22px; }
.contact-note h4 { font-size: 20px; margin-bottom: 6px; }
.contact-note p { line-height: 1.8; }
.inner-contact .contact_from_box { background: #f4f6f8; padding: 36px; }
.contact-form .form_box { margin-bottom: 18px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #e1e4e8; background: #fff; padding: 14px 18px; outline: none; }
.contact-form textarea { height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #ff5e14; }
.contact-form .quote_button button { background: #ff5e14; color: #fff; border: 0; padding: 15px 34px; font-weight: 600; cursor: pointer; }

/* ---- project carousel images (home): keep equal size ---- */
.project-list .project-thumb img { width: 100%; aspect-ratio: 519 / 377; object-fit: cover; }

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
	.service-content-area .service-page-title h1 { font-size: 30px; }
	.service-sidebar { margin-top: 40px; }
	.inner-about, .gallery-area, .inner-contact, .listing-area { padding-top: 70px; }
	.inner-about .about-thumb-right, .trainer-photo { margin-top: 30px; }
}
@media (max-width: 767px) {
	.content-heading { font-size: 23px; }
	.service-content-area .service-page-title h1 { font-size: 26px; }
	.gallery-item img { height: 220px; }
	.inner-contact .contact_from_box { padding: 24px 18px; }
	.listing-area, .gallery-area, .inner-contact { padding-bottom: 50px; }
	/* calendar table -> stacked cards on phones */
	.calendar-table table, .calendar-table tbody, .calendar-table tr, .calendar-table td { display: block; width: 100%; }
	.calendar-table thead { display: none; }
	.calendar-table tr { border: 1px solid #e1e4e8; margin-bottom: 14px; padding: 6px 0; }
	.calendar-table td { border: 0; padding: 6px 16px; }
	.calendar-table td:before { content: attr(data-label) ": "; font-weight: 600; color: #171717; }
}

/* ---- service cards: long titles must not run under the icon; equal heights ---- */
.single-service-box .service-content > a:not(.service-button) { display: block; padding-right: 66px; }
.service-area .row > [class*="col-"] > .single-service-box { height: calc(100% - 30px); }
.service-grid .row > [class*="col-"] > .single-service-box { height: 100%; }

/* ---- section titles with long text: no decorative bar, clean spacing ---- */
.section-long .em-bar { display: none; }
.section-long .section-title { margin-bottom: 36px; }
.section-long .section-title .section-text { margin-top: 18px; max-width: 860px; }

/* ---- mobile menu bar brand (template leftover text was "Constre") ---- */
.mean-container .mean-bar::before { content: "CORSHE"; }
