/* ===== Inner pages (contact, blog, blog posts, legal) — same "Teal & Terracotta" system as index.php =====
   Loaded AFTER css/style.css. Uses only the :root tokens already defined there. */

/* header is always solid on inner pages (no hero image behind it) */
.mj-header.mj-solid{background:rgba(13,43,51,.97);backdrop-filter:blur(10px);box-shadow:0 8px 30px rgba(0,0,0,.22);padding:10px 0}
/* active-link style lives in css/menu.css */

/* ---- page banner ---- */
.mj section.mjp-hero{position:relative;padding:150px 0 120px;color:#fff;overflow:hidden}
.mjp-hero:before{content:"";position:absolute;inset:0;background:url(../images/blog-inisde-header.webp) center/cover;opacity:.55}
.mjp-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(9,29,35,.94) 0%,rgba(9,29,35,.72) 60%,rgba(9,29,35,.5) 100%)}
.mjp-hero .mj-wrap{position:relative;z-index:1}
.mjp-crumbs{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0 0 22px;font-size:13px;color:rgba(255,255,255,.72)}
.mjp-crumbs li+li:before{content:"/";margin-right:8px;color:#f2a56b}
.mjp-crumbs a{color:#fff}
.mjp-crumbs a:hover{color:#f2a56b}
.mj .mjp-hero h1{font-size:clamp(40px,6vw,76px);color:#fff;max-width:900px;margin-bottom:16px;text-shadow:0 4px 30px rgba(0,0,0,.35)}
.mjp-lead{font-size:18px;max-width:640px;color:rgba(255,255,255,.88);margin:0}
.mjp-meta{display:flex;flex-wrap:wrap;gap:10px 26px;margin:22px 0 0;font-size:13.5px;color:rgba(255,255,255,.85)}
.mjp-meta span{display:inline-flex;align-items:center;gap:8px}
.mjp-meta i{color:#f2a56b}
.mjp-tag{display:inline-block;padding:5px 14px;border-radius:999px;background:#d4793f;color:#fff;font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;margin:0 0 18px}

/* ---- contact: four ways to reach us, overlapping the banner ---- */
.mj section.mjp-ways{position:relative;z-index:3;margin-top:-62px}
.mjp-ways-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.mj .mjp-way{display:block;background:#fff;border:1px solid #e4d9c8;border-bottom:4px solid #d4793f;border-radius:var(--r);padding:26px 24px;box-shadow:0 22px 50px rgba(13,43,51,.12);transition:.3s;color:#0d2b33}
.mj .mjp-way:hover{transform:translateY(-5px);color:#0d2b33}
.mjp-way i{display:flex !important;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:#f6efe4;color:#d4793f;font-size:20px;margin-bottom:14px}
.mjp-way small{display:block;font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:#5d6f73;font-weight:600}
.mjp-way b{display:block;font-family:'Cormorant Garamond',serif;font-size:23px;font-weight:600;line-height:1.25;margin-top:2px;overflow-wrap:anywhere}

/* contact body */
.mjp-visit{margin-top:34px;padding:26px 28px;background:#f6efe4;border-radius:var(--r);border-left:4px solid #d4793f}
.mj .mjp-visit h3{font-size:26px;margin-bottom:8px}
.mjp-visit p{margin:0;color:#5d6f73}
.mjp-visit p+p{margin-top:8px}
.mj section.mjp-map{height:520px;background:#f6efe4}
.mjp-map iframe{display:block;width:100%;height:100%;border:0}

/* ---- blog list ---- */
.mjp-feature{display:grid;grid-template-columns:1.15fr 1fr;background:#0d2b33;color:#e6efef;border-radius:20px;overflow:hidden;box-shadow:0 30px 70px rgba(13,43,51,.22);border-bottom:5px solid #d4793f}
.mjp-feature-img{position:relative;min-height:380px;background:#14404b}
.mjp-feature-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mjp-feature-txt{padding:48px 46px;display:flex;flex-direction:column;justify-content:center}
.mj .mjp-feature-txt h2{color:#fff;font-size:clamp(30px,3.2vw,42px)}
.mj .mjp-feature-txt h2 a:hover{color:#f2a56b}
.mjp-feature-txt p{opacity:.85}
.mjp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:34px}
.mjp-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e4d9c8;border-radius:var(--r);overflow:hidden;transition:.35s}
.mjp-card:hover{transform:translateY(-6px);box-shadow:0 22px 48px rgba(13,43,51,.13);border-color:#d4793f}
.mjp-card-img{aspect-ratio:16/10;overflow:hidden;background:#f6efe4}
.mjp-card-img img{width:100%;height:100%;object-fit:cover;transition:.6s}
.mjp-card:hover .mjp-card-img img{transform:scale(1.05)}
.mjp-card-body{padding:24px 24px 26px;display:flex;flex-direction:column;flex:1}
.mj .mjp-card-body h3{font-size:25px;margin-bottom:10px}
.mjp-card-body p{color:#5d6f73;font-size:14.5px;margin-bottom:18px}
.mjp-info{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12.5px;color:#5d6f73;margin:0 0 12px}
.mjp-feature .mjp-info{color:rgba(255,255,255,.7)}
.mjp-info span{display:inline-flex;align-items:center;gap:7px}
.mjp-info i{color:#d4793f}
.mjp-cat{font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;font-weight:600;color:#d4793f}
.mj .mjp-more{margin-top:auto;font-size:12.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:#0d2b33;display:inline-flex;align-items:center;gap:10px}
.mj .mjp-feature .mjp-more{color:#f2a56b;margin-top:6px}
.mjp-more:after{content:"\2192";transition:.3s}
.mjp-more:hover:after{transform:translateX(5px)}

/* ---- blog post ---- */
.mjp-post{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:60px;align-items:start}
.mjp-article{font-size:16.5px}
.mjp-article>p:first-of-type{font-size:19px;color:#14404b}
.mj .mjp-article h2{font-size:clamp(28px,3vw,38px);margin:42px 0 14px}
.mj .mjp-article h3{font-size:26px;margin:30px 0 10px}
.mjp-article p{color:#2f464b}
.mjp-article ul{list-style:none;padding:0;margin:0 0 22px}
.mjp-article li{position:relative;padding:0 0 10px 28px;color:#2f464b}
.mjp-article li:before{content:"";position:absolute;left:0;top:.72em;width:12px;height:2px;background:#d4793f}
.mjp-article li b{color:#0d2b33}
.mjp-article figure{margin:34px 0}
.mjp-article figure img{width:100%;border-radius:var(--r);box-shadow:-14px 14px 0 #f6efe4,0 24px 50px rgba(13,43,51,.14)}
.mjp-article figcaption{margin-top:20px;font-size:13px;color:#5d6f73}
.mjp-note{margin:32px 0;padding:26px 28px;background:#f6efe4;border-radius:var(--r);border-left:4px solid #d4793f}
.mj .mjp-note h3{font-size:24px;margin:0 0 8px}
.mjp-note p,.mjp-note li{margin-bottom:8px}
.mjp-note ul{margin:0}
.mjp-side{position:sticky;top:96px;display:grid;gap:22px}
.mjp-enq{background:#0d2b33;color:#e6efef;padding:32px 30px;border-radius:var(--r);border-top:5px solid #d4793f;box-shadow:0 24px 54px rgba(13,43,51,.22)}
.mj .mjp-enq h3{color:#fff;font-size:30px}
.mjp-enq p{opacity:.85;font-size:14.5px}
.mjp-enq .mj-btn{display:block;margin-top:12px}
.mjp-facts{border:1px solid #e4d9c8;border-radius:var(--r);padding:26px 28px;background:#fff}
.mj .mjp-facts h4{font-size:24px;color:#d4793f;margin-bottom:8px}
.mjp-facts ul{list-style:none;margin:0;padding:0}
.mjp-facts li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed #d5c7b0;font-size:14px}
.mjp-facts li:last-child{border:0}
.mjp-facts li b{color:#14404b;text-align:right}
.mjp-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:36px 0 0;padding-top:24px;border-top:1px solid #e4d9c8;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:#5d6f73}
.mjp-share a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#f6efe4;color:#0d2b33;font-size:17px;transition:.3s}
.mjp-share a:hover{background:#d4793f;color:#fff}
.mjp-pn{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:40px}
.mj .mjp-pn a{display:block;padding:20px 24px;border:1px solid #e4d9c8;border-radius:var(--r);transition:.3s;background:#fff}
.mj .mjp-pn a:hover{border-color:#d4793f;box-shadow:0 14px 34px rgba(13,43,51,.09)}
.mjp-pn small{display:block;font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:#d4793f;font-weight:600}
.mjp-pn b{font-family:'Cormorant Garamond',serif;font-size:21px;font-weight:600;line-height:1.25;display:block;margin-top:4px}
.mjp-pn .next{text-align:right}

/* ---- legal / text pages ---- */
.mjp-legal{max-width:860px;margin:0 auto}
.mj .mjp-legal h2,.mj .mjp-legal h4{font-size:clamp(26px,2.6vw,34px);margin:36px 0 12px;color:#0d2b33}
.mjp-legal p,.mjp-legal li{color:#2f464b}
.mjp-legal ul{padding-left:22px;margin:0 0 20px}
.mjp-legal li{margin-bottom:8px}
.mjp-back{margin-top:34px}

/* ---- responsive ---- */
@media (max-width:1024px){
  .mjp-ways-grid{grid-template-columns:repeat(2,1fr)}
  .mjp-grid{grid-template-columns:repeat(2,1fr)}
  .mjp-post{grid-template-columns:1fr;gap:40px}
  .mjp-side{position:static}
  .mjp-feature{grid-template-columns:1fr}
  .mjp-feature-img{min-height:300px}
}
@media (max-width:767px){
  .mj section.mjp-hero{padding:118px 0 96px}
  .mjp-lead{font-size:16px}
  .mjp-grid,.mjp-pn{grid-template-columns:1fr}
  .mjp-ways-grid{gap:12px}
  .mjp-way{padding:18px 16px}
  .mjp-way b{font-size:18px}
  .mjp-way i{width:38px;height:38px;font-size:17px;margin-bottom:10px}
  .mjp-feature-txt{padding:32px 24px}
  .mj section.mjp-map{height:380px}
  .mjp-article{font-size:16px}
  .mjp-article>p:first-of-type{font-size:17.5px}
  .mjp-article figure img{box-shadow:-8px 8px 0 #f6efe4,0 16px 34px rgba(13,43,51,.14)}
  .mjp-pn .next{text-align:left}
}
