/*
Theme Name: Farasakou
Theme URI: https://farasakou.example.com
Author: Farasakou APC
Author URI: https://farasakou.example.com
Description: قالب اختصاصی شرکت فراسکو عسلویه — بندر و پایانه تخصصی فرآورده‌های نفتی و پتروشیمی. Includes bilingual (FA/EN) landing templates, custom post types and theme options.
Version: 1.0.22
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: farasakou
Tags: rtl-language-support, translation-ready, custom-menu, custom-logo
*/

/* ===== Farasakou Assaluyeh Co. — shared stylesheet (RTL + LTR) ===== */
/* Local Peyda font family */
@font-face { font-family: "Peyda"; src: url("assets/fonts/PeydaWeb-Thin.woff") format("woff"); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: "Peyda"; src: url("assets/fonts/peydaWeb-extralight.woff") format("woff"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Peyda"; src: url("assets/fonts/peydaWeb-light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Peyda"; src: url("assets/fonts/PeydaWeb-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Peyda"; src: url("assets/fonts/PeydaWeb-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Peyda"; src: url("assets/fonts/PeydaWeb-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Peyda"; src: url("assets/fonts/PeydaWeb-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Peyda"; src: url("assets/fonts/PeydaWeb-ExtraBold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Peyda"; src: url("assets/fonts/PeydaWeb-Black.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }


:root {
  --navy: #0b2a3f;
  --navy-dark: #071b29;
  --teal: #1f7a8c;
  --teal-light: #3fa7bd;
  --sand: #f3f1ec;
  --text: #1c2b36;
  --muted: #5d6b76;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 27, 41, .12);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main, "Vazirmatn", "Segoe UI", Tahoma, sans-serif);
  color: var(--text);
  background: var(--white);
  line-height: 1.9;
}
html[lang="en"] body { font-family: "Inter", "Segoe UI", Arial, sans-serif; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(var(--container), 92%); margin-inline: auto; }
section { padding-block: 84px; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--navy); margin-bottom: 12px; }
.section-title::after {
  content: ""; display: block; width: 56px; height: 4px; margin-top: 10px;
  background: var(--teal); border-radius: 4px;
}
.section-lead { color: var(--muted); max-width: 720px; margin-bottom: 40px; }

/* ===== Header ===== */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 50;
  background: #fff;
  box-shadow: 0 2px 14px rgba(7, 27, 41, .10);
  border-bottom: 1px solid #e8edf0;
  transition: box-shadow .3s;
}
.site-header.scrolled { background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.logo svg { width: 46px; height: 46px; flex: none; }
.logo .logo-img { width: auto; height: 64px; max-width: 260px; object-fit: contain; flex: none; }
.logo:has(.logo-img) .logo-text { display: none; }
.ceo-message { background: #f7f9fa; }
.ceo-grid { gap: 42px; }
.ceo-visual { max-width: 420px; justify-self: end; }
@media (max-width: 768px) { .logo .logo-img { height: 52px; max-width: 210px; } }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-size: 1.05rem; letter-spacing: .5px; }
.logo-text small { font-size: .72rem; opacity: .8; letter-spacing: 1.5px; }

.main-nav > ul { display: flex; align-items: center; gap: 26px; }
.main-nav li { position: relative; }
.main-nav a { color: var(--navy); font-size: .95rem; opacity: .9; padding-block: 6px; border-block-end: 2px solid transparent; transition: .2s; }
.main-nav a:hover, .main-nav a:focus-visible { opacity: 1; border-color: var(--teal-light); }
/* Multi-level dropdowns: open on hover and keyboard focus. */
.main-nav .sub-menu {
  display: block;
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 0;
  min-width: 220px;
  padding: 8px 0;
  background: var(--navy-dark);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 100;
  gap: 0;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .sub-menu li { width: 100%; }
.main-nav .sub-menu a { display: block; padding: 9px 16px; white-space: normal; border: 0; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu a:focus-visible { background: rgba(63,167,189,.16); }
.main-nav .sub-menu .sub-menu { inset-block-start: 0; inset-inline-start: 100%; }
html[dir="rtl"] .main-nav .sub-menu .sub-menu { inset-inline-start: auto; inset-inline-end: 100%; }
.lang-switch { border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 4px 14px !important; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 8px 6px; transition: .3s; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; color: var(--white); position: relative;
  background:
    linear-gradient(180deg, rgba(7,27,41,.75), rgba(7,27,41,.55) 50%, rgba(7,27,41,.9)),
    url("images/hero.jpg") center / cover no-repeat,
    linear-gradient(135deg, #0b2a3f, #1f7a8c);
}
.hero-content { max-width: 760px; padding-block-start: 80px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.4; margin-bottom: 18px; }
.hero p { font-size: 1.1rem; opacity: .92; margin-bottom: 32px; }
.btn {
  display: inline-block; padding: 12px 30px; border-radius: 999px; font-weight: 600;
  background: var(--teal); color: var(--white); transition: .2s; border: 2px solid var(--teal);
}
.btn:hover { background: var(--teal-light); border-color: var(--teal-light); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.7); margin-inline-start: 12px; }
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ===== Hero background video (optional) ===== */
.hero.has-hero-video { background: linear-gradient(135deg, #0b2a3f, #1f7a8c); }
.hero-video-wrap {
  position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none;
}
.hero-video {
  position: absolute; top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}
.hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7, 27, 41, 0.82) 0%, rgba(11, 42, 63, 0.72) 50%, rgba(31, 122, 140, 0.55) 100%);
}
.hero.has-hero-video .hero-content { position: relative; z-index: 1; }
@media (max-width: 768px) {
  .hero.has-hero-video .hero-video { display: block; }
}

.stats { background: var(--navy); color: var(--white); padding-block: 36px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-grid strong { display: block; font-size: 1.9rem; color: var(--teal-light); }
.stats-grid span { font-size: .9rem; opacity: .85; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-visual {
  aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow);
  background: linear-gradient(135deg, #e7eef1, #cfe1e6);
  display: grid; place-items: center; color: var(--teal); overflow: hidden;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { margin-bottom: 16px; color: var(--muted); }
.about-text strong { color: var(--navy); }

/* ===== Capabilities ===== */
.capabilities { background: var(--sand); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow);
  border-block-start: 4px solid var(--teal); transition: transform .25s;
}
.card:hover { transform: translateY(-6px); }
.card .icon {
  width: 56px; height: 56px; border-radius: 14px; background: #e2f1f4; color: var(--teal);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 30px; height: 30px; }
.card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* ===== HSE ===== */
.hse { background: var(--navy); color: var(--white); }
.hse .section-title { color: var(--white); }
.hse .section-lead { color: rgba(255,255,255,.8); }
.hse-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hse-item { border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 26px; }
.hse-item h3 { color: var(--teal-light); margin-bottom: 8px; }
.hse-item p { font-size: .95rem; opacity: .85; }

/* ===== News / Tender / Jobs ===== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.news-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.news-thumb { height: 235px; background: linear-gradient(135deg, #1f7a8c, #0b2a3f); overflow: hidden; }
.news-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.news-card-link { display: block; text-decoration: none; }
.news-card-link:hover .news-thumb img { transform: scale(1.04); }
.news-thumb-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #1f7a8c, #0b2a3f); }
.news-read-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--teal); font-weight: 700; text-decoration: none; }
.news-read-more:hover, .news-body h3 a:hover { text-decoration: underline; }
.news-body h3 a { color: inherit; text-decoration: none; }
.news-more-wrap { margin-top: 28px; text-align: center; }
.news-empty { color: var(--muted); text-align: center; padding: 24px; }
@media (max-width: 768px) { .news-thumb { height: 210px; } }
.news-body { padding: 22px; }
.news-body time { font-size: .8rem; color: var(--teal); }
.news-body h3 { color: var(--navy); margin-block: 6px 8px; font-size: 1.05rem; }
.news-body p { color: var(--muted); font-size: .92rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--sand); border-radius: var(--radius); padding: 34px; }
.panel h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 10px; }
.panel p { color: var(--muted); margin-bottom: 18px; }

/* ===== Contact ===== */
.contact { background: var(--sand); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-list li { margin-bottom: 14px; color: var(--muted); }
.contact-list strong { color: var(--navy); display: block; }
form { display: grid; gap: 14px; }
input, textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1px solid #cdd7dc;
  font: inherit; background: var(--white);
}
input:focus, textarea:focus { outline: 2px solid var(--teal-light); border-color: transparent; }
textarea { min-height: 130px; resize: vertical; }
form button { border: 0; cursor: pointer; font: inherit; justify-self: start; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding-block: 28px; font-size: .9rem; text-align: center; }
.footer-map-wrap { margin: 22px auto 24px; }
.footer-map-title { color: var(--white); font-size: 1.05rem; margin-bottom: 10px; }
.footer-map { display: block; width: 100%; height: 280px; border: 0; border-radius: 12px; background: rgba(255,255,255,.06); }
.footer-address { margin-top: 8px; font-size: .88rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid, .contact-grid, .split, .hse-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; inset-block: 0; inset-inline-end: 0; width: min(300px, 80%);
    background: #1b2120; padding: 100px 28px 30px;
    transform: translateX(100%); transition: transform .3s;
  }
  html[dir="rtl"] .main-nav { transform: translateX(-100%); }
  .main-nav.open { transform: none !important; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-block-end: 1px solid rgba(255,255,255,.12); }
  .main-nav a { display: block; padding-block: 14px; border: 0; }
  .main-nav .sub-menu, .main-nav .sub-menu .sub-menu {
    position: static; min-width: 0; padding: 0 12px 8px; border: 0; border-radius: 0;
    box-shadow: none; background: rgba(0,0,0,.12); opacity: 1; visibility: visible;
    transform: none; transition: none;
  }
  .main-nav .sub-menu a { padding-block: 9px; }
  .footer-map { height: 240px; }
  .btn-outline { margin-inline-start: 0; margin-block-start: 12px; }
}


/* Change-003: separated white header and multimedia destination cards */
body { padding-top: 80px; }
.hero-content { padding-block-start: 30px; }
.multimedia-section { background: #f5f8fa; }
.multimedia-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.multimedia-card { position: relative; display: flex; flex-direction: column; min-height: 245px; padding: 30px; overflow: hidden; border-radius: 18px; background: linear-gradient(135deg, #1f7a8c, #0b2a3f); color: #fff; box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease; }
.multimedia-card:hover, .multimedia-card:focus-visible { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(7,27,41,.2); }
.multimedia-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.multimedia-card p { opacity: .9; margin-bottom: 22px; }
.multimedia-card .multimedia-action { margin-top: auto; font-weight: 700; }
.archive-layout { padding-top: 45px; padding-bottom: 80px; }
.archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.archive-card { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.archive-card img { width: 100%; height: 220px; object-fit: cover; }
.archive-card-body { padding: 22px; }
.archive-card h2 { font-size: 1.2rem; margin-bottom: 8px; color: var(--navy); }
.archive-card p { color: var(--muted); }
.archive-card .btn { margin-top: 16px; }
@media(max-width:800px) { .multimedia-grid,.archive-grid { grid-template-columns: 1fr; } body { padding-top: 72px; } }

/* ===== Clients slider (auto-scroll, full-colour logos) ===== */
.clients { padding: 0; background: #fff; overflow: hidden; }
.clients-head { background: #f1f1f1; text-align: center; padding: 26px 20px; }
.clients-head h2 { margin: 0; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; color: #555; }
.clients-viewport { direction: ltr; overflow: hidden; padding-block: 36px 30px; }
.clients-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: clients-scroll var(--clients-duration, 40s) linear infinite; }
.clients-viewport:hover .clients-track, .clients-viewport:focus-within .clients-track { animation-play-state: paused; }
.client-item { flex: 0 0 auto; width: 220px; margin-inline: 14px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.client-logo { height: 130px; width: 100%; display: flex; align-items: center; justify-content: center; }
.client-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: none; }
.client-name { font-size: .9rem; color: var(--muted); }
@keyframes clients-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) { .client-item { width: 150px; margin-inline: 8px; } .client-logo { height: 90px; } }
@media (prefers-reduced-motion: reduce) { .clients-viewport { overflow-x: auto; } .clients-track { animation: none; } }

/* ===== v1.6.0: navy header, dynamic menu states, media archives ===== */
.site-header { background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy) 60%, #12475a 100%); border-bottom: 3px solid var(--teal); box-shadow: 0 4px 18px rgba(7,27,41,.28); }
.site-header.scrolled { background: var(--navy-dark); box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.site-header .logo, .site-header .main-nav a { color: #fff; }
.site-header .main-nav a { opacity: .88; }
.site-header .main-nav a:hover, .site-header .main-nav a:focus-visible,
.site-header .main-nav .current-menu-item > a, .site-header .main-nav .current-menu-ancestor > a { opacity: 1; border-color: var(--teal-light); }
.site-header .menu-toggle span { background: #fff; }
.site-header .lang-switch { border: 1px solid rgba(255,255,255,.55); }
.site-header .lang-switch:hover { background: var(--teal); border-color: var(--teal); }
.main-nav .menu-item-has-children > a::after { content: "▾"; margin-inline-start: 6px; font-size: .75em; }
.main-nav .sub-menu { background: var(--navy-dark); }
@media (max-width: 900px) { .main-nav { background: var(--navy-dark); } }

/* Multimedia cards: keep the latest image visible with a readable overlay */
.multimedia-card::before { content: ""; position: absolute; inset: 0; background: var(--card-bg, none) center / cover no-repeat; opacity: 1; transition: transform .35s ease; z-index: 0; }
.multimedia-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,27,41,.55), rgba(7,27,41,.9)); opacity: 1; transition: opacity .35s ease; z-index: 0; }
.multimedia-card:hover::before, .multimedia-card:focus-visible::before { transform: scale(1.04); }
.multimedia-card > * { position: relative; z-index: 1; }
.multimedia-card .multimedia-action { transition: transform .25s ease; }
.multimedia-card:hover .multimedia-action { transform: translateX(-8px); }
html[dir="ltr"] .multimedia-card:hover .multimedia-action { transform: translateX(8px); }

/* Archive banner + gallery */
.page-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%); color: #fff; padding: 44px 0; text-align: center; }
.page-banner h1 { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.page-banner p { margin: 0; opacity: .9; }
.archive-layout { padding-top: 50px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; background: var(--navy); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 26px 14px 12px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(7,27,41,.85)); opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-caption { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(4,14,22,.92); display: flex; align-items: center; justify-content: center; direction: ltr; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; text-align: center; color: #fff; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 8px; }
.lightbox figcaption { margin-top: 12px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; font-size: 28px; line-height: 1; }
.lightbox button:hover { background: var(--teal); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; } .lb-next { right: 20px; }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ===== v1.7.0: notices archive + generic pages ===== */
.notice-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.notice-filter a { padding: 8px 20px; border-radius: 999px; background: #fff; color: var(--navy); border: 1px solid #d5dfe5; font-size: .95rem; transition: .2s; }
.notice-filter a:hover, .notice-filter a.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.notice-list { display: grid; gap: 16px; }
.notice-item { display: flex; align-items: center; gap: 22px; padding: 20px 24px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); }
.notice-date { flex: none; width: 74px; text-align: center; padding: 10px 0; border-radius: 12px; background: var(--navy); color: #fff; line-height: 1.2; }
.notice-date span { display: block; font-size: 1.6rem; font-weight: 700; }
.notice-date small { font-size: .72rem; opacity: .85; }
.notice-body { flex: 1; min-width: 0; }
.notice-body h2 { font-size: 1.15rem; margin: 6px 0; color: var(--navy); }
.notice-body p { margin: 0; color: var(--muted); }
.notice-badge { display: inline-block; padding: 2px 12px; border-radius: 999px; background: rgba(31,122,140,.12); color: var(--teal); font-size: .8rem; font-weight: 600; }
.single-content .entry-content { line-height: 2; }
.single-content .entry-content h3 { color: var(--navy); margin-top: 28px; }
@media (max-width: 700px) { .notice-item { flex-wrap: wrap; } .notice-item .btn { width: 100%; text-align: center; } }

/* ===== v1.8.0: tenders & auctions page ===== */
.notice-banner { height: clamp(140px, 17vw, 240px); background: #071b29 center / cover no-repeat; }
.notice-head { background: #f1f1f1; text-align: center; padding: 26px 20px 30px; margin-top: 12px; color: #2b6f8a; }
.notice-head svg { width: 58px; height: 58px; display: block; margin: 0 auto 14px; }
.notice-head h1 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; color: #2b6f8a; }
.notice-main { padding-block: 34px 80px; }
.notice-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 28px; margin-bottom: 36px; }
.notice-tabs a { font-size: 1.15rem; color: #6b7882; padding: 6px 4px; border-bottom: 2px solid transparent; }
.notice-tabs a:hover { color: #2b6f8a; }
.notice-tabs a.active { color: #2b6f8a; font-weight: 700; border-color: #2b6f8a; }
.notice-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 1140px; margin-inline: auto; }
.notice-card { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 400px; padding: 0 28px 34px; overflow: hidden; background: #26425a center / cover no-repeat; color: #fff; text-align: center; isolation: isolate; }
.nc-overlay { position: absolute; inset: 0; z-index: -1; background: rgba(31,122,140,.78); transition: background .3s, opacity .3s; }
.nc-auction .nc-overlay { background: rgba(48,84,160,.82); }
.nc-tender .nc-overlay { background: rgba(207,72,52,.82); }
.notice-card:hover .nc-overlay { opacity: .9; }
.nc-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 140px; min-height: 200px; padding: 18px 10px; background: #fff; color: #1c2b36; box-shadow: 0 0 30px rgba(255,255,255,.35); }
.nc-logo img { max-width: 100%; max-height: 62px; width: auto; }
.nc-logo em { font-style: normal; font-size: .8rem; color: var(--navy); }
.nc-logo strong { font-size: 1.55rem; line-height: 1.2; color: #2b6f8a; }
.nc-auction .nc-logo strong { color: #3054a0; }
.nc-tender .nc-logo strong { color: #cf4834; }
.nc-title { margin-top: auto; padding-top: 24px; font-size: 1.05rem; line-height: 1.9; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.notice-card:hover .nc-title { text-decoration: underline; }
.notice-empty { text-align: center; color: var(--muted); }
@media (max-width: 800px) { .notice-cards { grid-template-columns: 1fr; } .notice-card { min-height: 340px; } }

/* v1.8.1: cards with an uploaded image show the image as-is (no tint, no logo panel) */
.notice-card.has-image { justify-content: flex-end; padding: 0; }
.notice-card.has-image .nc-overlay { background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(7,27,41,.85) 100%); }
.notice-card.has-image:hover .nc-overlay { opacity: 1; }
.notice-card.has-image .nc-title { margin: 0; padding: 24px 24px 22px; width: 100%; }

/* ===== v1.9.0: About page ===== */
.about-hero { background: #0b2a3f center / cover no-repeat; color: #fff; text-align: center; padding: 84px 0 64px; }
.about-eyebrow { display: inline-block; padding: 4px 16px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: .85rem; margin-bottom: 14px; }
.about-hero h1 { margin: 0 0 10px; font-size: clamp(2rem, 5vw, 3.2rem); }
.about-hero p { margin: 0 0 26px; opacity: .92; font-size: 1.1rem; }
.about-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.about-jump a { padding: 8px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: .92rem; transition: .2s; }
.about-jump a:hover { background: var(--teal); border-color: var(--teal); }
.about-intro { background: #fff; scroll-margin-top: 90px; }
.about-intro-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.about-intro-text p { line-height: 2.1; color: var(--text); }
.about-intro-img { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.about-intro-img img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.about-goals { background: #f5f8fa; scroll-margin-top: 90px; }
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; margin-top: 28px; }
.mv-card { background: #fff; border-radius: 18px; padding: 32px; box-shadow: var(--shadow); border-top: 4px solid var(--teal); }
.mv-icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 14px; background: rgba(31,122,140,.12); color: var(--teal); margin-bottom: 14px; }
.mv-icon svg { width: 30px; height: 30px; }
.mv-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.3rem; }
.mv-card p { margin: 0; line-height: 2; color: var(--muted); }
.goal-list { list-style: none; counter-reset: goal; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 28px 0 0; padding: 0; }
.goal-list li { counter-increment: goal; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border-radius: 14px; box-shadow: 0 4px 16px rgba(7,27,41,.07); line-height: 1.8; }
.goal-list li::before { content: counter(goal, persian); flex: none; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; font-weight: 700; }
.about-team { background: #fff; overflow: hidden; scroll-margin-top: 90px; }
.staff-viewport { direction: ltr; overflow: hidden; padding-block: 28px 10px; }
.staff-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: staff-scroll var(--staff-duration, 40s) linear infinite; }
.staff-viewport:hover .staff-track { animation-play-state: paused; }
.staff-card { flex: 0 0 auto; width: 210px; margin-inline: 12px; text-align: center; direction: rtl; }
.staff-photo { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #e6edf1; box-shadow: var(--shadow); margin-bottom: 12px; }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-card strong { display: block; color: var(--navy); }
.staff-card span { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
@keyframes staff-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .staff-viewport { overflow-x: auto; } .staff-track { animation: none; } }
.about-admin-hint { text-align: center; color: #a15c00; background: #fff8e5; padding: 12px 16px; border-radius: 10px; margin: 16px auto; max-width: 720px; }
.about-contact { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); scroll-margin-top: 90px; }
.about-contact-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: 32px; align-items: start; }
.contact-info-card { color: #fff; padding: 12px 8px; }
.contact-info-card h2 { margin: 0 0 12px; font-size: 1.7rem; }
.contact-info-card p { opacity: .88; line-height: 2; }
.contact-info-card ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-info-card li { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: rgba(255,255,255,.08); border-radius: 12px; }
.contact-info-card li strong { font-size: .8rem; color: var(--teal-light); }
.contact-info-card a, .contact-info-card span { color: #fff; word-break: break-word; }
.contact-form { background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 20px 50px rgba(0,0,0,.25); display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: .9rem; color: var(--navy); font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd9df; border-radius: 10px; font: inherit; background: #f9fbfc; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,122,140,.2); background: #fff; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .btn { justify-self: start; border: 0; cursor: pointer; }
.hp-field { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 12px 16px; border-radius: 10px; font-size: .95rem; }
.form-notice.ok { background: #e6f6ec; color: #1b6b3a; }
.form-notice.err { background: #fdeaea; color: #a32525; }
.about-phone-bar { background: var(--teal); color: #fff; text-align: center; padding: 22px 0; }
.about-phone-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; }
.about-phone-bar a { color: #fff; font-size: 1.6rem; font-weight: 700; letter-spacing: 1px; }
.about-phone-bar .about-admin-hint { margin: 0; }
@media (max-width: 900px) { .about-intro-grid, .about-contact-grid, .mv-grid { grid-template-columns: 1fr; } .contact-form .form-row { grid-template-columns: 1fr; } .about-hero { padding: 60px 0 44px; } }
@counter-style persian { system: numeric; symbols: '۰' '۱' '۲' '۳' '۴' '۵' '۶' '۷' '۸' '۹'; }

/* ===== v1.10.0: one font everywhere, no header gap, luxury media hub ===== */
:root { --gold: #c9a96a; --font-main: "Peyda", "Segoe UI", Tahoma, Arial, sans-serif; }
body, html[lang="en"] body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, .btn, .main-nav a, .logo-text { font-family: var(--font-main); }

/* Header takes its own space (no fixed-header offset => no white strip above banners) */
.site-header { position: sticky; inset-block-start: 0; inset-inline: auto; }
body { padding-top: 0 !important; }
.admin-bar .site-header { inset-block-start: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { inset-block-start: 46px; } }
.hero { min-height: calc(100vh - 84px); }
.hero-content { padding-block-start: 30px; }
.archive-layout, .notice-main { padding-top: 50px; }

/* Media hub */
.media-hero { background: #071b29 center / cover no-repeat; color: #fff; text-align: center; padding: 96px 0 84px; }
.media-eyebrow { display: inline-block; letter-spacing: 4px; font-size: .78rem; color: var(--gold); margin-bottom: 14px; }
.media-eyebrow.dark { color: var(--teal); letter-spacing: 2px; margin-bottom: 6px; }
.media-hero h1 { margin: 0 0 12px; font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 700; }
.media-hero p { margin: 0; opacity: .85; font-size: 1.1rem; }
.media-rule { display: block; width: 72px; height: 2px; margin: 28px auto 0; background: var(--gold); }
.media-tiles { padding: 0; margin-top: -44px; position: relative; z-index: 2; }
.media-tiles-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.media-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; padding: 30px; overflow: hidden; border-radius: 20px; color: #fff; isolation: isolate; background: linear-gradient(135deg, var(--navy), var(--teal)); box-shadow: 0 24px 50px rgba(7,27,41,.28); }
.media-tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--tile-bg, none) center / cover no-repeat; transition: transform .7s ease; }
.media-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,27,41,.15) 0%, rgba(7,27,41,.88) 100%); }
.media-tile:hover::before { transform: scale(1.08); }
.media-tile-count { position: absolute; inset-block-start: 20px; inset-inline-start: 24px; font-size: 2.6rem; font-weight: 700; line-height: 1; color: rgba(255,255,255,.28); }
.media-tile h2 { margin: 0 0 6px; font-size: 1.6rem; }
.media-tile p { margin: 0 0 18px; opacity: .9; line-height: 1.8; }
.media-tile-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold); border-top: 1px solid rgba(201,169,106,.5); padding-top: 14px; }
.media-tile-cta i { font-style: normal; transition: transform .3s; }
.media-tile:hover .media-tile-cta i { transform: translateX(-8px); }
.media-free { background: #fff; padding-block: 64px 10px; }
.media-free-inner { max-width: 860px; line-height: 2.1; }
.media-free-inner img, .media-free-inner video, .media-free-inner iframe { max-width: 100%; border-radius: 16px; }
.media-free-inner figure { margin: 24px 0; }
.media-free-inner .wp-block-embed__wrapper { position: relative; aspect-ratio: 16/9; }
.media-free-inner .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.media-block { background: #fff; padding-block: 72px; }
.media-block.alt { background: #f5f8fa; }
.media-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.media-head h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--navy); }
.media-more { color: var(--teal); font-weight: 700; white-space: nowrap; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.gallery-mosaic { grid-template-columns: repeat(4, minmax(0,1fr)); }
.gallery-mosaic .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.media-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.media-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.media-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(7,27,41,.18); }
.media-card-img { position: relative; display: block; aspect-ratio: 16/10; background: var(--navy); overflow: hidden; }
.media-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.media-card:hover .media-card-img img { transform: scale(1.06); }
.media-card-body { padding: 22px; }
.media-card-body time { font-size: .8rem; color: var(--teal); font-weight: 700; }
.media-card-body h3 { margin: 6px 0 8px; font-size: 1.1rem; line-height: 1.7; color: var(--navy); }
.media-card-body p { margin: 0; color: var(--muted); font-size: .92rem; }
.gallery-ph { position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy), var(--teal)); }
.play-badge { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(7,27,41,.55); border: 2px solid rgba(255,255,255,.85); color: #fff; backdrop-filter: blur(4px); transition: background .3s, transform .3s; }
[dir="rtl"] .play-badge { transform: translate(50%, -50%); }
.play-badge svg { width: 28px; height: 28px; margin-inline-start: 3px; }
.gallery-item:hover .play-badge, .media-card-img:hover .play-badge { background: var(--teal); }
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000; margin-bottom: 28px; }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb-stage { display: flex; justify-content: center; }
.lb-frame { width: min(92vw, 1100px); aspect-ratio: 16/9; height: auto; border: 0; border-radius: 10px; background: #000; }
.lb-video { max-width: 92vw; max-height: 78vh; border-radius: 10px; background: #000; }
.lightbox figcaption { display: grid; gap: 4px; direction: rtl; }
.lightbox figcaption span { opacity: .8; font-size: .9rem; }
@media (max-width: 900px) {
  .media-tiles-grid, .media-cards { grid-template-columns: 1fr; }
  .gallery-mosaic { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .media-head { flex-direction: column; align-items: flex-start; }
  .media-hero { padding: 64px 0 70px; }
}

/* ===== v1.11.0: HSE page + richer editor content ===== */
.hse-hero { background: #0b2a3f center / cover no-repeat; color: #fff; text-align: center; padding: 84px 0 70px; }
.hse-hero h1 { margin: 0 0 12px; font-size: clamp(1.9rem, 4.6vw, 3rem); }
.hse-hero p { max-width: 680px; margin: 0 auto; opacity: .92; line-height: 2; }
.hse-pillars { padding: 0; margin-top: -36px; position: relative; z-index: 2; }
.hse-pillars-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.hse-pillar { background: #fff; border-radius: 18px; padding: 30px 26px; box-shadow: 0 18px 40px rgba(7,27,41,.16); border-top: 4px solid var(--teal); transition: transform .3s; }
.hse-pillar:hover { transform: translateY(-6px); }
.hse-pillar-icon { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 16px; background: rgba(31,122,140,.12); color: var(--teal); margin-bottom: 14px; }
.hse-pillar-icon svg { width: 32px; height: 32px; }
.hse-pillar h2 { margin: 0 0 8px; font-size: 1.3rem; color: var(--navy); }
.hse-pillar p { margin: 0; color: var(--muted); line-height: 2; }
.hse-content { background: #fff; padding-block: 64px; }
.hse-content-inner { max-width: 880px; }
.hse-commit { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: #fff; padding-block: 64px; text-align: center; }
.hse-commit blockquote { max-width: 760px; margin: 0 auto; font-size: clamp(1.1rem, 2.2vw, 1.5rem); line-height: 2.1; position: relative; padding-top: 28px; }
.hse-commit blockquote::before { content: "”"; position: absolute; inset-block-start: -18px; inset-inline-start: 50%; transform: translateX(-50%); font-size: 5rem; line-height: 1; color: var(--gold, #c9a96a); }
.hse-cta { background: #f5f8fa; text-align: center; padding-block: 56px; }
.hse-cta h2 { margin: 0 0 18px; color: var(--navy); font-size: 1.4rem; }
@media (max-width: 900px) { .hse-pillars-grid { grid-template-columns: 1fr; } .hse-hero { padding: 60px 0 56px; } }

/* Text + photos added in the page editor look finished on every page */
.entry-content { line-height: 2.1; }
.entry-content h2 { color: var(--navy); margin: 36px 0 12px; font-size: 1.6rem; }
.entry-content h3 { color: var(--navy); margin: 28px 0 10px; font-size: 1.25rem; }
.entry-content p { margin: 0 0 16px; }
.entry-content ul, .entry-content ol { margin: 0 0 18px; padding-inline-start: 24px; list-style: revert; }
.entry-content img { border-radius: 14px; height: auto; }
.entry-content figure { margin: 26px 0; }
.entry-content figcaption { margin-top: 8px; font-size: .88rem; color: var(--muted); text-align: center; }
.entry-content .wp-block-gallery, .entry-content .gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin: 26px 0; }
.entry-content .wp-block-gallery figure, .entry-content .gallery-item { margin: 0; }
.entry-content .wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.entry-content blockquote { margin: 26px 0; padding: 14px 22px; border-inline-start: 4px solid var(--teal); background: #f5f8fa; border-radius: 0 12px 12px 0; }
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
@media (max-width: 700px) { .entry-content .wp-block-gallery, .entry-content .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); } }


/* v1.11.2 patch: balanced header logo sizing */
.site-header .nav-wrap { min-height: 88px; }
.site-header .logo { flex: 0 1 auto; min-width: 0; max-width: 245px; overflow: hidden; }
.site-header .logo .logo-img { display: block; width: auto; height: auto; max-width: 220px; max-height: 62px; object-fit: contain; }
@media (max-width: 900px) {
  .site-header .nav-wrap { min-height: 76px; }
  .site-header .logo { max-width: 190px; }
  .site-header .logo .logo-img { max-width: 180px; max-height: 52px; }
}
@media (max-width: 480px) {
  .site-header .logo { max-width: 155px; }
  .site-header .logo .logo-img { max-width: 145px; max-height: 44px; }
}
.ceo-message { padding-block: 56px; background: #f5f8fa; }
.ceo-grid { align-items: center; }
.ceo-visual img { max-width: 100%; height: auto; object-fit: cover; }


/* ===== Editorial news showcase ===== */
.news-showcase-section { padding-block: 64px; background: #fff; }
.news-showcase { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 38px; direction: ltr; align-items: start; }
.news-showcase-list, .news-showcase-featured { min-width: 0; direction: rtl; }
.news-showcase-heading { direction:rtl; text-align:right; display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:26px; }
.news-showcase-heading .section-title { margin:0; color:#378b43; font-size:1.65rem; }
.news-showcase-heading > a { color:#9bbd22; font-weight:700; text-decoration:none; white-space:nowrap; }
.news-list-item { display:grid; grid-template-columns: minmax(0, 1fr) 34%; gap:18px; padding:18px 0; border-bottom:1px solid #e5e5e5; direction:ltr; }
.news-list-thumb { display:block; height:112px; overflow:hidden; background:#0b2a3f; }
.news-list-thumb img { width:100%; height:100%; display:block; object-fit:cover; }
.news-list-copy { direction:rtl; text-align:right; align-self:center; }
.news-list-copy h3 { margin:0 0 14px; font-size:1rem; line-height:1.9; }
.news-list-copy h3 a { color:#737373; text-decoration:none; }
.news-list-copy h3 a:hover { color:#1f7a8c; }
.news-list-copy time, .news-feature-date { color:#888; font-size:.82rem; }
.news-feature-card { display:flex; flex-direction:column; justify-content:flex-end; gap:10px; padding:28px; min-width:0; color:#fff; text-decoration:none; background-color:#0b2a3f; background-position:center; background-size:cover; overflow:hidden; }
.news-feature-card h3 { margin:0; color:#fff; font-size:1.2rem; line-height:1.8; }
.news-feature-main { min-height:360px; }
.news-feature-main .news-feature-date, .news-feature-small .news-feature-date { color:#fff; }
.news-feature-small-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:24px; }
.news-feature-small { min-height:180px; padding:20px; }
.news-feature-small h3 { font-size:1rem; }
.news-feature-card:hover { filter:brightness(1.06); }
@media (max-width: 900px) {
  .news-showcase { grid-template-columns:1fr; gap:30px; }
  .news-showcase-featured { grid-row:1; }
  .news-showcase-list { grid-row:2; }
  .news-feature-main { min-height:300px; }
}
@media (max-width: 560px) {
  .news-showcase-section { padding-block:42px; }
  .news-feature-main { min-height:240px; padding:20px; }
  .news-feature-small-grid { gap:12px; margin-top:12px; }
  .news-feature-small { min-height:150px; padding:14px; }
  .news-feature-card h3 { font-size:.95rem; }
  .news-list-item { grid-template-columns:minmax(0,1fr) 34%; gap:12px; }
  .news-list-thumb { height:88px; }
  .news-list-copy h3 { font-size:.88rem; line-height:1.7; margin-bottom:8px; }
}


/* v1.12.1: add clear breathing room between multimedia and tenders/jobs */
.tender-jobs-section { margin-top: 64px; padding-top: 0; }
@media (max-width: 900px) { .tender-jobs-section { margin-top: 44px; } }
@media (max-width: 560px) { .tender-jobs-section { margin-top: 32px; } }


/* ===== v1.12.2: site-wide responsive layout pass ===== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-width: 320px; overflow-wrap: break-word; }
.container { width: min(var(--container), calc(100% - 40px)); }
img, video, iframe, embed, object { max-width: 100%; }
iframe, video { vertical-align: middle; }
input, select, textarea, button { max-width: 100%; }
input, select, textarea { min-width: 0; }
.wp-block-table, .entry-content table, .table-wrap { max-width: 100%; overflow-x: auto; }
.entry-content table { display: block; width: 100%; overflow-x: auto; }
pre, code { white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  section { padding-block: 60px; }
  .container { width: min(var(--container), calc(100% - 36px)); }
  .nav-wrap { gap: 14px; }
  .main-nav { max-width: 88vw; overflow-y: auto; overscroll-behavior: contain; }
  .hero { min-height: 68vh; min-height: 68svh; }
  .hero-content { max-width: 100%; padding-block: 36px; }
  .hero h1 { font-size: clamp(1.8rem, 5vw, 2.7rem); }
  .hero p { font-size: 1rem; }
  .about-grid, .contact-grid, .split, .hse-grid, .about-intro-grid, .about-contact-grid, .mv-grid,
  .ceo-grid, .news-showcase { grid-template-columns: minmax(0, 1fr); }
  .about-visual, .ceo-visual { width: 100%; max-width: 640px; justify-self: center; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .multimedia-grid, .archive-grid, .media-tiles-grid, .media-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid, .gallery-grid, .hse-pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-map { width: 100%; }
  .about-intro-grid > *, .about-contact-grid > *, .mv-grid > *, .ceo-grid > *, .hse-grid > * { min-width: 0; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  section { padding-block: 44px; }
  .site-header .nav-wrap { min-height: 68px; height: auto; }
  .site-header .logo { max-width: calc(100% - 58px); }
  .site-header .logo .logo-img { max-width: min(145px, 42vw); max-height: 44px; }
  .menu-toggle { flex: 0 0 42px; }
  .main-nav { width: min(320px, 88vw); padding: 82px 20px 24px; }
  .main-nav > ul { gap: 0; }
  .main-nav a { font-size: 1rem; }
  .hero { min-height: 600px; min-height: min(78svh, 700px); }
  .hero-content { padding-block: 26px; }
  .hero h1 { font-size: clamp(1.55rem, 7vw, 2.15rem); line-height: 1.55; }
  .hero p { font-size: .94rem; line-height: 1.9; margin-bottom: 22px; }
  .hero .btn, .btn { max-width: 100%; white-space: normal; padding: 10px 20px; }
  .btn-outline { margin-inline-start: 0; margin-block-start: 10px; }
  .section-title { font-size: clamp(1.3rem, 5.5vw, 1.7rem); }
  .section-lead { margin-bottom: 26px; }
  .about-grid, .contact-grid, .split, .hse-grid, .about-intro-grid, .about-contact-grid, .mv-grid,
  .ceo-grid, .stats-grid, .multimedia-grid, .archive-grid, .media-tiles-grid, .media-cards,
  .news-grid, .gallery-grid, .hse-pillars-grid, .news-feature-small-grid, .entry-content .wp-block-gallery,
  .entry-content .gallery { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { gap: 14px; }
  .stats-grid strong { font-size: 1.55rem; }
  .multimedia-card { min-height: 210px; padding: 22px; }
  .archive-card img { height: auto; aspect-ratio: 16/10; }
  .media-hero { padding: 60px 0 52px; }
  .media-hero h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); line-height: 1.45; }
  .media-tile { min-height: 240px; padding: 22px; }
  .news-showcase-section { padding-block: 36px; }
  .news-showcase { gap: 24px; }
  .news-showcase-heading { align-items: flex-start; flex-wrap: wrap; }
  .news-showcase-heading .section-title { font-size: 1.35rem; }
  .news-feature-main { min-height: 250px; padding: 18px; }
  .news-feature-small-grid { grid-template-columns: minmax(0, 1fr); }
  .news-feature-small { min-height: 170px; }
  .news-list-item { grid-template-columns: minmax(0, 1fr) 34%; gap: 10px; padding: 14px 0; }
  .news-list-thumb { height: 86px; }
  .news-list-copy h3 { font-size: .86rem; line-height: 1.7; }
  .ceo-message { padding-block: 36px; }
  .ceo-visual { max-width: 100%; }
  .ceo-visual img { width: 100%; max-height: 360px; object-fit: cover; }
  .notice-item { gap: 12px; }
  .notice-item .btn { width: 100%; text-align: center; }
  .notice-card { min-height: 260px; }
  .gallery-grid { gap: 14px; }
  .gallery-grid img { width: 100%; height: auto; }
  .footer-map { height: 220px; }
  .about-phone-bar a { font-size: 1.2rem; }
  .form-row, .contact-form .form-row { grid-template-columns: minmax(0, 1fr); }
  .entry-content h2 { font-size: 1.35rem; }
  .entry-content h3 { font-size: 1.12rem; }
  .entry-content p, .entry-content li { overflow-wrap: anywhere; }
  .tender-jobs-section { margin-top: 30px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 24px); }
  .site-header .logo .logo-img { max-width: 125px; }
  .news-list-item { grid-template-columns: minmax(0, 1fr) 31%; gap: 8px; }
  .news-list-thumb { height: 74px; }
  .news-list-copy h3 { font-size: .8rem; }
}


/* v1.1.4: keep the primary navigation beside the logo on the right in RTL layouts. */
@media (min-width: 901px) {
  .site-header .nav-wrap { justify-content: flex-start; gap: 0; }
  html[dir="rtl"] .site-header .main-nav { margin-inline-start: 28px; margin-inline-end: 0; }
  html[dir="ltr"] .site-header .main-nav { margin-inline-start: 28px; margin-inline-end: 0; }
  .site-header .logo { flex-shrink: 0; }
  .site-header .main-nav { flex: 0 1 auto; }
}
.gallery-hidden-image { display: none !important; }
.gallery-caption small { display: inline-block; font-size: .78em; opacity: .85; }

/* ===== v1.0.2 ===== */
.contact-form.contact-form--inline { background: transparent; box-shadow: none; padding: 0; border-radius: 0; }
.error-404 { text-align: center; padding: 40px 0 60px; display: grid; gap: 22px; justify-items: center; }
.error-404 p { max-width: 620px; color: var(--muted); line-height: 2; }
.error-404-search { width: 100%; max-width: 460px; }
.error-404-search form { display: flex; gap: 8px; }
.error-404-search label { flex: 1; }

/* v1.0.7: HSE dashboard media */
.hse-gallery { margin-top: 28px; }
.hse-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 28px; }
.hse-content-inner { max-width: 1100px; }

/* ===== v1.0.8: compact heroes, tighter contact, HSE cards ===== */
.about-hero, .hse-hero, .media-hero { padding: 40px 0 34px; }
.about-hero h1, .hse-hero h1, .media-hero h1 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin: 0 0 8px; line-height: 1.5; }
.about-hero p, .hse-hero p, .media-hero p { font-size: .98rem; margin: 0 0 14px; line-height: 1.9; }
.about-hero p:last-child, .hse-hero p:last-child, .media-hero p:last-child { margin-bottom: 0; }
.about-eyebrow { font-size: .78rem; padding: 3px 14px; margin-bottom: 10px; }
.media-eyebrow { margin-bottom: 8px; }
.media-rule { margin-top: 16px; width: 56px; }
.about-jump { gap: 8px; }
.about-jump a { padding: 5px 16px; font-size: .85rem; }
.page-banner { padding: 30px 0; }
.page-banner h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.hse-pillars { margin-top: -22px; }
.about-contact { padding-block: 44px; }
.about-contact-grid { gap: 26px; }
.contact-info-card h2 { font-size: 1.35rem; }
.contact-info-card p { line-height: 1.9; font-size: .95rem; }
.contact-info-card ul { margin-top: 14px; gap: 10px; }
.contact-info-card li { padding: 10px 14px; }
.contact-form { padding: 22px; gap: 12px; border-radius: 16px; }
.contact-form input, .contact-form textarea { padding: 9px 12px; }
.about-phone-bar { padding: 14px 0; }
.about-phone-bar a { font-size: 1.3rem; }
@media (max-width: 900px) { .about-hero, .hse-hero, .media-hero { padding: 32px 0 28px; } }

.hse-cards { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 32px; }
.hse-card { flex: 1 1 calc(50% - 12px); min-width: 300px; display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(7,27,41,.1); border-top: 4px solid var(--teal); }
.hse-card-media { background: #f1f5f8; }
.hse-card-main { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.hse-card-main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.hse-card-main:hover img { transform: scale(1.05); }
.hse-card-thumbs { display: flex; gap: 6px; padding: 6px; overflow-x: auto; }
.hse-card-thumbs a { flex: 0 0 72px; height: 54px; border-radius: 8px; overflow: hidden; }
.hse-card-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hse-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hse-card-body h3 { margin: 0; color: var(--navy); font-size: 1.2rem; }
.hse-card-body p { margin: 0; color: var(--muted); line-height: 2; }
.hse-card-link { align-self: flex-start; margin-top: auto; padding: 8px 20px; font-size: .9rem; }
@media (max-width: 700px) { .hse-card { flex-basis: 100%; min-width: 0; } }

/* ===== v1.0.9 ===== */
/* Hero title on two lines (desktop) */
.hero-content { max-width: 980px; }
.hero h1 { font-size: clamp(1.5rem, 2.9vw, 2.5rem); line-height: 1.6; text-wrap: balance; }
/* CEO image fills the full height of its flex/grid box */
.ceo-grid { align-items: stretch; }
.ceo-visual { display: flex; align-self: stretch; }
.ceo-visual img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
/* News heading at the top-right corner */
@media (max-width: 900px) { .ceo-visual { display: block; } .ceo-visual img { height: auto; min-height: 0; } }

/* v1.0.10: phone number above the map must always be visible */
.about-phone-bar .about-phone-number { display: inline-block; color: #fff !important; opacity: 1 !important; visibility: visible !important; min-height: 1.2em; }

/* ===== v1.0.13: news layout like reference + symmetric CEO block ===== */
.news-showcase { direction: ltr; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 38px; align-items: start; }
.news-showcase-list, .news-showcase-featured { direction: rtl; min-width: 0; }
.news-list-item { grid-template-columns: 34% minmax(0, 1fr); }
.news-list-thumb { height: 128px; }
.news-list-copy h3 { margin: 0 0 12px; }
.news-list-copy time { display: inline-flex; align-items: center; gap: 8px; }
.news-list-copy time::before { content: ""; width: 18px; height: 18px; flex: none; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.news-feature-card .news-feature-date { order: 2; font-size: .85rem; }
.news-feature-card h3 { order: 1; }
.news-feature-main { min-height: 520px; }
.news-feature-small { min-height: 230px; }
@media (max-width: 900px) { .news-showcase { grid-template-columns: 1fr; } .news-feature-main { min-height: 300px; } .news-feature-small { min-height: 180px; } }
/* CEO block: equal columns, equal side spacing */
.ceo-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: stretch; padding-inline: 0; }
.ceo-visual { max-width: none; width: 100%; justify-self: stretch; }
.ceo-message .about-text { padding-inline: 0; }
@media (max-width: 900px) { .ceo-grid { grid-template-columns: 1fr; gap: 28px; } }

/* v1.0.14: news heading in the top-right corner of the section */
.news-showcase-top { direction: rtl; }
.news-showcase-top .news-showcase-heading { margin-bottom: 22px; }

/* v1.0.15: photos and videos in separate gallery sections */
.gallery-section + .gallery-section { margin-top: 48px; padding-top: 32px; border-top: 2px solid #e5eaee; }
.gallery-section-title { margin: 0 0 20px; font-size: 1.4rem; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.gallery-videos .gallery-section-title { color: #c0392b; }

/* ===== v1.0.16: footer split (map 1/2 left, quick links 1/2 right) + tighter home spacing ===== */
.footer-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; direction: ltr; align-items: start; text-align: start; margin-bottom: 18px; }
.footer-split .footer-map-wrap { margin: 0; min-width: 0; direction: rtl; text-align: right; }
.footer-split .footer-quick { min-width: 0; direction: rtl; text-align: right; }
.footer-split.no-map { grid-template-columns: 1fr; }
.footer-quick ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.footer-quick a { display: block; padding: 12px 16px; border-radius: 10px; background: rgba(255,255,255,.07); color: #fff; transition: .2s; }
.footer-quick a:hover, .footer-quick a:focus-visible { background: var(--teal); }
.footer-split .footer-map { height: 260px; }
@media (max-width: 800px) { .footer-split { grid-template-columns: 1fr; } .footer-split .footer-quick { order: -1; } .footer-split .footer-map { height: 220px; } }

/* Home page: tighter vertical rhythm */
body.home section { padding-block: 52px; }
body.home .hero { padding-block: 0; }
body.home .ceo-message { padding-block: 40px; }
body.home .news-showcase-section { padding-block: 44px; }
body.home .stats { padding-block: 26px; }
body.home .tender-jobs-section { margin-top: 0; }
body.home .news-showcase-top { padding-bottom: 0; }
@media (max-width: 800px) { body.home section { padding-block: 36px; } body.home .ceo-message { padding-block: 28px; } body.home .news-showcase-section { padding-block: 30px; } }
body.home .section-lead { margin-bottom: 26px; }

/* ===== v1.0.17: gallery album tiles (one cover each) + album page ===== */
.gallery-album .gallery-caption { opacity: 1; }
.album-page { padding-top: 36px; padding-bottom: 60px; }
.album-head { background: #f5f5f6; border-top: 12px solid #dfe3f3; padding: 26px 30px 30px; margin-bottom: 34px; }
.album-head h1 { margin: 0; font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 800; color: var(--text); line-height: 1.6; }
.album-head time { display: block; margin-top: 6px; color: var(--muted); font-size: .9rem; }
.album-text { font-size: 1.02rem; line-height: 2.2; color: var(--text); margin-bottom: 34px; }
.album-text p { margin: 0 0 22px; }
.album-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 46px; }
.album-grid a { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--navy); cursor: zoom-in; }
.album-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.album-grid a:hover img { transform: scale(1.05); }
.album-back { display: inline-block; margin-top: 36px; color: var(--teal); font-weight: 600; }
@media (max-width: 1000px) { .album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (max-width: 700px) { .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .album-head { padding: 18px 16px 20px; } }

/* ===== v1.0.18: hero image slider (green filling timeline, gradient overlay, text motion) ===== */
.hero.hero-slider {
  --hs-green: #8cc63f; --hs-ink: #04101a;
  display: block; position: relative; overflow: hidden; padding: 0;
  min-height: clamp(560px, calc(100svh - 84px), 880px);
  background: var(--navy-dark); color: #fff;
}
.hero-slider .hs-slides { position: absolute; inset: 0; }
.hero-slider .hs-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; z-index: 0;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.hero-slider .hs-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s ease, visibility 0s; }
.hero-slider .hs-media { position: absolute; inset: 0; overflow: hidden; }
.hero-slider .hs-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transform: scale(1.08); }
.hero-slider .hs-slide.is-active .hs-img { animation: hs-zoom calc(var(--hs-duration, 7s) + 2s) ease-out both; }
/* gradient: dark on the text side + dark at the bottom (behind the timeline) */
.hero-slider .hs-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(4,16,26,.88) 0%, rgba(4,16,26,.35) 24%, rgba(4,16,26,0) 46%),
    linear-gradient(to right, rgba(4,16,26,.84) 0%, rgba(4,16,26,.58) 38%, rgba(4,16,26,.12) 74%, rgba(4,16,26,0) 100%);
}
[dir="rtl"] .hero-slider .hs-shade {
  background:
    linear-gradient(to top, rgba(4,16,26,.88) 0%, rgba(4,16,26,.35) 24%, rgba(4,16,26,0) 46%),
    linear-gradient(to left, rgba(4,16,26,.84) 0%, rgba(4,16,26,.58) 38%, rgba(4,16,26,.12) 74%, rgba(4,16,26,0) 100%);
}
.hero-slider .hs-content { position: relative; z-index: 2; padding-block: 40px 130px; max-width: var(--container); }
.hero.hero-slider .hs-kicker {
  font-size: .95rem; font-weight: 500; margin: 0 0 18px; opacity: .9; color: #fff;
}
html[lang="en"] .hero.hero-slider .hs-kicker { text-transform: uppercase; letter-spacing: .16em; }
.hero.hero-slider .hs-title {
  font-size: clamp(1.9rem, 4.3vw, 3.7rem); font-weight: 500; line-height: 1.5; margin: 0 0 22px;
  max-width: 17em; text-wrap: balance; color: #fff;
}
.hero-slider .hs-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .06em; }
.hero-slider .hs-title .w > span { display: inline-block; }
.hero.hero-slider .hs-text { font-size: 1.1rem; line-height: 2; max-width: 38em; margin: 0 0 30px; opacity: .92; color: #fff; }
.hero-slider .hs-link { display: inline-flex; align-items: center; gap: 22px; color: #fff; font-size: 1.15rem; font-weight: 500; }
.hero-slider .hs-link-icon {
  width: 64px; height: 64px; border: 2px solid #fff; border-radius: 50%;
  display: inline-grid; place-items: center; transition: background .25s, color .25s, transform .25s;
}
[dir="rtl"] .hero-slider .hs-link-icon svg { transform: scaleX(-1); }
.hero-slider .hs-link:hover .hs-link-icon, .hero-slider .hs-link:focus-visible .hs-link-icon { background: #fff; color: var(--navy); transform: scale(1.06); }
.hero-slider .hs-link:focus-visible { outline: 2px solid var(--hs-green); outline-offset: 6px; border-radius: 40px; }

/* Text motion: runs every time a slide becomes active */
.hero-slider .hs-slide:not(.is-active) .hs-anim,
.hero-slider .hs-slide:not(.is-active) .hs-title .w > span { opacity: 0; }
.hero-slider .hs-slide.is-active .hs-anim { animation: hs-rise .85s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, .2s); }
.hero-slider .hs-slide.is-active .hs-title .w > span { animation: hs-word .95s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.3s + var(--i, 0) * .07s); }
@keyframes hs-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hs-word { from { opacity: 0; transform: translateY(110%); } to { opacity: 1; transform: none; } }
@keyframes hs-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes hs-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Timeline tabs */
.hero-slider .hs-nav { position: absolute; inset-inline: 0; bottom: 30px; z-index: 3; }
.hero-slider .hs-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 28px; }
.hero-slider .hs-tab {
  background: none; border: 0; padding: 0; cursor: pointer; text-align: start; color: rgba(255,255,255,.62);
  font: inherit; font-size: .82rem; font-weight: 500; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  transition: color .25s;
}
html[lang="en"] .hero-slider .hs-tab { text-transform: uppercase; letter-spacing: .12em; }
.hero-slider .hs-tab:hover, .hero-slider .hs-tab.is-active { color: #fff; }
.hero-slider .hs-tab:focus-visible { outline: 2px solid var(--hs-green); outline-offset: 6px; }
.hero-slider .hs-tab-label { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-slider .hs-tab-bar { display: block; height: 3px; background: rgba(255,255,255,.28); overflow: hidden; }
.hero-slider .hs-tab-bar i { display: block; height: 100%; background: var(--hs-green); transform: scaleX(0); transform-origin: left center; }
[dir="rtl"] .hero-slider .hs-tab-bar i { transform-origin: right center; }
.hero-slider .hs-tab.is-active .hs-tab-bar i { animation: hs-fill var(--hs-duration, 7s) linear forwards; }
.hero-slider.is-paused .hs-tab.is-active .hs-tab-bar i { animation-play-state: paused; }

@media (max-width: 800px) {
  .hero.hero-slider { min-height: clamp(520px, 82svh, 700px); }
  .hero-slider .hs-content { padding-block: 30px 120px; }
  .hero.hero-slider .hs-text { font-size: 1rem; margin-bottom: 22px; }
  .hero-slider .hs-link { font-size: 1rem; gap: 16px; }
  .hero-slider .hs-link-icon { width: 52px; height: 52px; }
  .hero-slider .hs-nav { bottom: 20px; }
  .hero-slider .hs-tabs { gap: 10px; }
  .hero-slider .hs-tab { font-size: .7rem; gap: 10px; }
  .hero-slider .hs-shade, [dir="rtl"] .hero-slider .hs-shade {
    background: linear-gradient(to top, rgba(4,16,26,.92) 0%, rgba(4,16,26,.6) 45%, rgba(4,16,26,.35) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider .hs-slide, .hero-slider .hs-slide.is-active { transition-duration: .01s; }
  .hero-slider .hs-slide.is-active .hs-img, .hero-slider .hs-slide.is-active .hs-anim,
  .hero-slider .hs-slide.is-active .hs-title .w > span { animation: none; opacity: 1; transform: none; }
}

/* ===== v1.0.19: language switch button (header) ===== */
.site-header .lang-btn {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  margin-inline-start: auto; padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55); color: #fff; font-size: .9rem; font-weight: 600; line-height: 1.2;
  transition: background .2s, border-color .2s, transform .2s;
}
.site-header .lang-btn:hover, .site-header .lang-btn:focus-visible { background: var(--teal); border-color: var(--teal); transform: translateY(-1px); }
.site-header .lang-btn svg { flex: none; }
html[lang="en"] .site-header .lang-btn { font-family: "Inter", "Segoe UI", Arial, sans-serif; }
@media (max-width: 900px) {
  .site-header .lang-btn { margin-inline-start: auto; margin-inline-end: 10px; padding: 6px 12px; font-size: .82rem; }
  .menu-toggle { order: 3; }
}
html[lang="en"] body.farasakou-en .about-eyebrow, html[lang="en"] .media-eyebrow { letter-spacing: .18em; text-transform: uppercase; }

/* ===== v1.0.20: capabilities (each card = its own page) ===== */
.card.card-link { display: block; color: inherit; text-decoration: none; cursor: pointer; transition: transform .25s, box-shadow .25s; overflow: hidden; }
.card.card-link:hover, .card.card-link:focus-visible { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(7,27,41,.16); }
.card-more { display: inline-block; margin-top: 12px; color: var(--teal); font-weight: 600; font-size: .92rem; }
.card-more i { font-style: normal; display: inline-block; transition: transform .2s; }
html[dir="rtl"] .card.card-link:hover .card-more i { transform: translateX(-5px); }
html[dir="ltr"] .card.card-link:hover .card-more i { transform: translateX(5px); }
.card .card-thumb { margin: -28px -24px 18px; height: 150px; overflow: hidden; background: var(--navy); }
.card .card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cap-page { padding-block: 48px; }
.cap-page-text { margin-top: 40px; }
.cap-crumb { margin: 0 0 8px !important; font-size: .9rem; }
.cap-crumb a { color: #fff; opacity: .85; border-bottom: 1px solid rgba(255,255,255,.5); }
.cap-single .entry-content { line-height: 2.1; }
.cap-single .entry-content img { max-width: 100%; height: auto; border-radius: 12px; }
.cap-others { margin-top: 44px; padding-top: 24px; border-top: 1px solid #e3e6e8; }
.cap-others h2 { font-size: 1.15rem; margin: 0 0 14px; color: var(--navy); }
.cap-others ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cap-others a { display: inline-block; padding: 8px 18px; border-radius: 999px; background: #e6f1f4; color: var(--navy); font-weight: 600; font-size: .92rem; transition: .2s; }
.cap-others a:hover { background: var(--teal); color: #fff; }
html[dir="ltr"] .footer-split .footer-map-wrap, html[dir="ltr"] .footer-split .footer-quick,
html[dir="ltr"] .news-showcase-heading, html[dir="ltr"] .news-list-copy { direction: ltr; text-align: left; }

/* ===== v1.0.22: Contact Form 7 markup styled to look exactly like the original theme form ===== */
.contact-form .hidden-fields-container { display: none; }
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7-form-control-wrap input, .contact-form .wpcf7-form-control-wrap textarea { display: block; }
.contact-form .wpcf7-spinner { display: none; }
.wpcf7 .screen-reader-response { position: absolute; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; word-wrap: normal; }
.contact-form input.cf-ltr { direction: ltr; text-align: left; }
.contact-form input.wpcf7-submit.btn { width: auto; display: inline-block; justify-self: start; padding: 12px 30px; border: 0; border-radius: 999px; background: var(--teal); color: var(--white); font: inherit; font-family: var(--font-main); font-weight: 600; cursor: pointer; transition: .2s; }
.contact-form input.wpcf7-submit.btn:hover { background: var(--teal-light); }
@media (max-width: 600px) { .contact-form input.wpcf7-submit.btn { max-width: 100%; white-space: normal; padding: 10px 20px; } }
.contact-form .wpcf7-not-valid-tip { display: block; margin-top: 2px; font-size: .85rem; font-weight: 400; color: #a32525; }
.contact-form input.wpcf7-not-valid, .contact-form textarea.wpcf7-not-valid { border-color: #a32525; }
.contact-form .wpcf7-response-output { margin: 0; padding: 12px 16px; border: 0; border-radius: 10px; font-size: .95rem; background: #fdeaea; color: #a32525; }
.contact-form .wpcf7-response-output:empty { display: none; }
.contact-form.sent .wpcf7-response-output, .contact-form[data-status="sent"] .wpcf7-response-output { background: #e6f6ec; color: #1b6b3a; }
.contact-form.init .wpcf7-response-output, .contact-form[data-status="init"] .wpcf7-response-output, .contact-form.resetting .wpcf7-response-output { display: none; }
/* CF7 stamps its own lang/dir on the wrapper from the site locale: always follow the page direction instead. */
.wpcf7 { direction: inherit; text-align: inherit; unicode-bidi: normal; }
