/*
Theme Name: Arch Forum
Theme URI: https://archforumltd.com/
Author: KCL for Arch Forum Limited
Description: Custom theme for Arch Forum Limited, rebuilt from the original Drupal 7 site. Includes Services, Projects, Team, Clients and Home slides content types, a homepage with slider, services, stats, "Why choose us", latest posts, team and client logos, plus a built-in contact form. Settings live in Appearance → Customize → Arch Forum settings.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: archforum
*/

:root {
	--green: #94c948;
	--green-dark: #027400;
	--blue: #14469c;
	--blue-dark: #0e3474;
	--ink: #1a1a1a;
	--slate: #3d474a;
	--text: #6b6b6b;
	--gray: #f5f6f6;
	--line: #e6e8e8;
	--radius: 4px;
	--head: "Roboto", Arial, sans-serif;
	--body: "Open Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 15px; line-height: 1.75; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }
h1, h2, h3, h4, h5 { font-family: var(--head); color: var(--ink); line-height: 1.3; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.section { padding: 80px 0; }
.bg-gray { background: var(--gray); }
.accent { color: var(--green); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 999; background: #fff; padding: 10px 16px; }

/* Buttons */
.btn, button.btn, .wp-block-button__link, input[type="submit"] {
	display: inline-block; background: var(--green); color: #fff; border: 0; border-radius: var(--radius);
	padding: 11px 24px; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .06em;
	text-transform: uppercase; cursor: pointer; transition: background .2s;
}
.btn:hover, input[type="submit"]:hover { background: var(--green-dark); color: #fff; }
.btn-dark { background: var(--green-dark); }
.btn-dark:hover { background: var(--blue); }

/* Icons (CSS masks, no icon font needed) */
.ico { display: inline-block; width: 16px; height: 16px; background: currentColor; flex: none;
	-webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico-mail, .ico-mail-dark { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 5h20v14H2zm2 2v.5l8 5 8-5V7zm16 2.8-8 5-8-5V17h16z'/%3E%3C/svg%3E"); }
.ico-phone, .ico-phone-dark { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.ico-pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.ico-clock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 10.4 3.5 2.1-.8 1.3L11 13V7h2z'/%3E%3C/svg%3E"); }
.ico-search { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 0 1 6.3 12.9l5.4 5.4-1.4 1.4-5.4-5.4A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z'/%3E%3C/svg%3E"); width: 18px; height: 18px; }

/* Top bar */
.top-bar { background: var(--green); color: #fff; font-size: 13px; }
.top-bar a { color: #fff; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 12px; flex-wrap: wrap; }
.top-contacts { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.top-contacts li { display: flex; align-items: center; gap: 8px; }
.social-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.social-links a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; }
.social-links a:hover { background: var(--blue); color: #fff; }

/* Header */
.site-header { background: #fff; position: relative; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 20px; }
.site-logo img, .custom-logo { max-height: 70px; width: auto; }
.header-info { display: flex; align-items: center; gap: 36px; }
.info-item { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.5; }
.info-item .ico { width: 28px; height: 28px; color: var(--green); }
.info-item strong { display: block; font-family: var(--head); color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.main-nav { background: var(--blue); }
.main-nav.is-stuck { position: sticky; top: 0; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.menu-wrap .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.menu-wrap .menu > li { position: relative; }
.menu-wrap .menu a { display: block; padding: 16px 16px; color: #fff; font-family: var(--head); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.menu-wrap .menu > li > a:hover, .menu-wrap .current-menu-item > a, .menu-wrap .current_page_item > a, .menu-wrap .current-menu-ancestor > a { background: var(--green); color: #fff; }
.menu-wrap .sub-menu { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12); display: none; }
.menu-wrap li:hover > .sub-menu, .menu-wrap li:focus-within > .sub-menu { display: block; }
.menu-wrap .sub-menu a { color: var(--ink); text-transform: none; font-weight: 500; }
.menu-wrap .sub-menu a:hover { background: var(--gray); }
.search-toggle, .nav-toggle { background: none; border: 0; color: #fff; cursor: pointer; padding: 14px; }
.nav-toggle { display: none; }
.nav-toggle span:not(.screen-reader-text) { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }
.header-search { background: var(--blue-dark); padding: 16px 0; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field, input[type="text"], input[type="email"], input[type="url"], textarea {
	width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; color: var(--ink); background: #fff;
}
.search-field:focus, input:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 0; }

/* Hero slider */
.hero-slider { position: relative; height: clamp(320px, 62vh, 680px); overflow: hidden; background: #111; }
.hero-slider .slide { position: absolute; inset: 0; background-size: cover; background-position: center bottom; opacity: 0; transition: opacity 1.1s ease; }
.hero-slider .slide.is-active { opacity: 1; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 70px; border: 0; background: rgba(0,0,0,.35); color: #fff; font-size: 36px; cursor: pointer; }
.slider-arrow:hover { background: var(--green); }
.slider-arrow.prev { left: 0; } .slider-arrow.next { right: 0; }
.slider-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.slider-dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.slider-dots button.is-active { background: var(--green); border-color: var(--green); }

/* Section headings */
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: 30px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; display: inline-block; position: relative; padding-bottom: 14px; }
.section-head h2 span { color: var(--green); }
.section-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 60px; height: 3px; background: var(--green); }

/* About strip */
.grid-about { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; }
.about-pic img { width: 100%; border-radius: var(--radius); }
.discipline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.discipline { background: #fff; padding: 36px 24px; text-align: center; border-bottom: 3px solid var(--green); transition: transform .2s, box-shadow .2s; }
.discipline:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.discipline img { margin: 0 auto 16px; width: 60px; height: 60px; object-fit: contain; }
.discipline h3 { font-size: 17px; text-transform: uppercase; margin: 0; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.1); transform: translateY(-3px); }
.card.is-hidden { display: none; }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-size: 18px; margin: 0; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--green-dark); }
.card-meta, .post-date { font-size: 13px; color: #999; }
.read-more { margin-top: auto; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }

/* Services carousel */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-btn { position: absolute; top: 35%; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--green); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
.carousel-btn:hover { background: var(--green-dark); }
.carousel-btn.prev { left: -20px; } .carousel-btn.next { right: -20px; }

/* Stats */
.stats { background: linear-gradient(rgba(20,70,156,.92), rgba(20,70,156,.92)), var(--blue); color: #fff; padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { display: block; font-family: var(--head); font-size: 46px; font-weight: 900; color: #fff; line-height: 1.1; }
.stat-label { display: block; margin-top: 8px; color: var(--green); font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
a.stat-label:hover { color: #fff; }

/* Why us */
.why-us { background-color: var(--gray); background-repeat: no-repeat; background-position: right bottom; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-box { background: #fff; padding: 32px 24px; text-align: center; border-top: 3px solid var(--green); }
.why-box img { width: 56px; height: 56px; object-fit: contain; margin: 0 auto 16px; }
.why-box h3 { font-size: 16px; text-transform: uppercase; }
.why-box p { margin: 0; font-size: 14px; }

/* Latest blog */
.blog-front { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.blog-feature { position: relative; min-height: 420px; background-size: cover; background-position: center; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; }
.blog-feature::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0,0,0,.8)); }
.blog-feature-text { position: relative; padding: 28px; color: #fff; }
.blog-feature-text h3 { color: #fff; font-size: 22px; }
.blog-feature-text .post-date { color: var(--green); font-weight: 600; }
.blog-feature-text p { margin: 0; color: rgba(255,255,255,.85); }
.blog-list { display: flex; flex-direction: column; gap: 20px; }
.blog-mini { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: start; color: var(--text); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.blog-mini:last-child { border-bottom: 0; }
.blog-mini img { width: 130px; height: 100px; object-fit: cover; border-radius: var(--radius); }
.blog-mini h4 { font-size: 15px; text-transform: uppercase; margin-bottom: 2px; }
.blog-mini:hover h4 { color: var(--green-dark); }
.blog-mini p { margin: 4px 0 0; font-size: 14px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; gap: 30px; }
.team-card { background: #fff; text-align: center; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.team-photo { display: block; aspect-ratio: 1; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-info { padding: 18px; border-bottom: 3px solid var(--green); }
.team-info h3 { font-size: 18px; margin: 0; }
.team-info h3 a { color: var(--ink); }
.team-info span { color: var(--green-dark); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.team-profile { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.team-profile-photo img { width: 100%; border-radius: var(--radius); border-bottom: 4px solid var(--green); }
.team-role { color: var(--green-dark); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }

/* Client logos */
.clients-strip { padding: 40px 0; border-top: 1px solid var(--line); }
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 40px; width: max-content; animation: afd-marquee 60s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item img { height: 80px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-item img:hover { filter: none; opacity: 1; }
@keyframes afd-marquee { to { transform: translateX(-50%); } }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.client-logo { border: 1px solid var(--line); padding: 20px; display: grid; place-items: center; background: #fff; }
.client-logo img { max-height: 100px; width: auto; }

/* Page banner */
.page-banner { background: linear-gradient(rgba(20,70,156,.88), rgba(20,70,156,.88)), var(--blue); color: #fff; padding: 56px 0; }
.page-banner h1 { color: #fff; font-size: 34px; text-transform: uppercase; font-weight: 900; margin-bottom: 6px; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,.8); }
.breadcrumb a { color: var(--green); }
.breadcrumb span { margin: 0 6px; }

/* Content layout */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.entry-title { font-size: 26px; }
.entry-meta { color: #999; font-size: 14px; }
.entry-image { margin: 0 0 28px; }
.entry-image img { width: 100%; border-radius: var(--radius); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .35em; }
.entry-content ul li::marker { color: var(--green); }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content iframe { max-width: 100%; }
.entry-content .wp-block-embed { margin: 0 0 40px; }
.entry-content blockquote { border-left: 4px solid var(--green); margin: 0 0 1.2em; padding: 6px 0 6px 18px; color: var(--ink); }
.post-nav { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 32px; }
.nav-links { display: flex; gap: 6px; margin-top: 36px; }
.nav-links .page-numbers { padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.nav-links .current { background: var(--green); color: #fff; border-color: var(--green); }

/* Sidebar */
.sidebar .widget { background: var(--gray); padding: 24px; margin-bottom: 28px; border-radius: var(--radius); }
.sidebar .widget-title { font-size: 16px; text-transform: uppercase; border-bottom: 2px solid var(--green); padding-bottom: 10px; margin-bottom: 16px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar-posts li + li { margin-top: 14px; }
.sidebar-posts a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; color: var(--ink); font-size: 14px; line-height: 1.4; }
.sidebar-posts img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); }
.sidebar-posts small { display: block; color: #999; margin-top: 2px; }
.service-nav li a { display: block; padding: 10px 14px; background: #fff; margin-bottom: 6px; color: var(--ink); border-left: 3px solid transparent; }
.service-nav li.current a, .service-nav li a:hover { border-left-color: var(--green); color: var(--green-dark); }
.project-facts dl { margin: 0; }
.project-facts dt { font-weight: 700; color: var(--ink); font-size: 13px; text-transform: uppercase; }
.project-facts dd { margin: 0 0 14px; }
.cta-widget { background: var(--blue) !important; color: #fff; }
.cta-widget .widget-title { color: #fff; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.filters button { border: 1px solid var(--line); background: #fff; padding: 8px 18px; border-radius: 30px; font: 600 13px var(--head); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; color: var(--ink); }
.filters button.is-active, .filters button:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery-item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.gallery-item.is-hidden { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: 13px; line-height: 1.4; opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-caption, .gallery-item:focus .gallery-caption { opacity: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 1000; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 40px; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox p { color: #fff; margin: 14px 0 0; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; padding: 10px 18px; }
.lightbox .lb-close { top: 10px; right: 10px; }
.lightbox .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Contact */
.contact-cards { padding: 60px 0 0; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card { text-align: center; padding: 30px 20px; background: var(--gray); border-bottom: 3px solid var(--green); }
.contact-card .ico { width: 34px; height: 34px; color: var(--green); margin-bottom: 12px; }
.contact-card h3 { font-size: 15px; text-transform: uppercase; }
.contact-card p { margin: 0; font-size: 14px; }
.map-embed { margin-top: 60px; }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-field { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; }
.notice-success { background: #eaf6dc; color: #2f5d07; }
.notice-error { background: #fde8e8; color: #8a1c1c; }

/* Footer */
.site-footer { background: #000; color: #9a9a9a; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.site-footer h4 { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 20px; }
.site-footer a { color: #cfcfcf; }
.site-footer a:hover { color: var(--green); }
.footer-logo img { max-height: 60px; width: auto; margin-bottom: 16px; }
.recent-posts, .footer-links { list-style: none; margin: 0; padding: 0; }
.recent-posts li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; margin-bottom: 14px; line-height: 1.4; }
.date-box { background: var(--green); color: #fff; text-align: center; font-size: 11px; text-transform: uppercase; padding: 6px 0; line-height: 1.2; }
.date-box strong { display: block; font-size: 18px; }
.footer-links li { padding: 6px 0; border-bottom: 1px solid #1d1d1d; }
.footer-links a::before { content: "› "; color: var(--green); }
.social-heading { margin-top: 26px; }
.site-footer .widget input[type="email"], .site-footer .widget input[type="text"] { background: #111; border-color: #333; color: #fff; margin-bottom: 8px; }
.footer-address { border-top: 1px solid #1d1d1d; border-bottom: 1px solid #1d1d1d; }
.address-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 30px; padding-bottom: 20px; }
.address-cols h5 { color: var(--green); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.copyright-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 20px; padding-bottom: 20px; font-size: 13px; }
.copyright p { margin: 0; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 42px; height: 42px; display: grid; place-items: center; background: var(--green); color: #fff !important; border-radius: 50%; font-size: 20px; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 60; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 13px; color: #888; }

/* Responsive */
@media (max-width: 1024px) {
	.header-info .info-item { display: none; }
	.card-grid.cols-3, .why-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
	.carousel-track { grid-auto-columns: calc((100% - 28px) / 2); }
	.footer-cols, .address-cols { grid-template-columns: repeat(2, 1fr); }
	.with-sidebar { grid-template-columns: 1fr; }
	.team-profile { grid-template-columns: 260px 1fr; gap: 32px; }
}
@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.menu-wrap { display: none; width: 100%; order: 3; }
	.menu-wrap.is-open { display: block; }
	.nav-inner { flex-wrap: wrap; }
	.menu-wrap .menu { flex-direction: column; padding-bottom: 10px; }
	.menu-wrap .menu a { padding: 12px 6px; border-top: 1px solid rgba(255,255,255,.12); }
	.menu-wrap .sub-menu { position: static; display: block; box-shadow: none; background: transparent; padding-left: 16px; }
	.menu-wrap .sub-menu a { color: #fff; }
	.grid-about, .blog-front, .team-profile { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.section { padding: 56px 0; }
}
@media (max-width: 600px) {
	.top-bar-inner { justify-content: center; }
	.top-contacts { justify-content: center; gap: 4px 16px; font-size: 12px; }
	.header-inner { flex-wrap: wrap; justify-content: center; }
	.card-grid.cols-3, .why-grid, .contact-grid, .form-row { grid-template-columns: 1fr; }
	.discipline-grid { gap: 12px; }
	.discipline { padding: 22px 10px; }
	.discipline h3 { font-size: 13px; }
	.carousel-track { grid-auto-columns: 85%; }
	.carousel-btn { display: none; }
	.footer-cols, .address-cols { grid-template-columns: 1fr; }
	.blog-mini { grid-template-columns: 96px 1fr; }
	.blog-mini img { width: 96px; height: 80px; }
	.section-head h2 { font-size: 24px; }
	.page-banner h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
