/* Landing pages on aida-oceana.com: market data (template-market.php), glossary (template-glossary.php),
   article contents box and guide blocks (inc/article-toc.php). Ported from omanrealty/assets/css/oman.css — 03.11.2026. */
:root {
  --art-teal: var(--teal, #0d7272);
  --art-teal-dark: var(--teal-dark, #0a5a5a);
  --art-teal-tint: #eef7f6;
  --art-orange: var(--orange, #e07818);
  --art-orange-tint: #fdf3e7;
  --art-line: #dde7e6;
  --art-muted: #5d6b6b;
  --art-wa: #25D366;
  --art-tg: #2AABEE;
}

/* ===== Market data page (template-market.php) — 29.10.2026 ===== */
.mk-page { --mk-hue: var(--teal, #0d7272); --mk-hl: var(--orange, #e07818); --mk-grid: #e6ecec; --mk-ink: var(--text, #1f2937); --mk-muted: #5d6b6b; }
.mk-hero h1 { margin: 6px 0 14px; }
.mk-lead { max-width: 780px; font-size: 18px; line-height: 1.55; color: var(--mk-ink); }
.mk-updated { color: var(--mk-muted); font-size: 14px; margin: 10px 0 24px; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 24px; }
.mk-kpis-sm { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mk-kpis-sm .mk-kpi-v { font-size: 24px; }
.mk-kpi { position: relative; background: linear-gradient(180deg, #f2f9f8 0%, #ffffff 100%); border: 1px solid #d6ebe8; border-radius: 14px; padding: 18px 18px 16px 20px; overflow: hidden; }
.mk-kpi::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--mk-hue); }
.mk-hero .mk-kpi { background: linear-gradient(180deg, #e9f5f3 0%, #f7fbfa 100%); }
.mk-hero .mk-kpi:nth-child(3n+2)::before { background: var(--mk-hl); }
.alt .mk-kpi { background: #fff; }
.mk-kpi-v { font-family: var(--sans, Inter, sans-serif); font-weight: 600; font-size: 30px; line-height: 1.1; color: var(--mk-ink); letter-spacing: -0.01em; }
.mk-kpi-l { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--mk-muted); }
.mk-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.mk-toc a { font-size: 14px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--mk-grid); color: var(--mk-ink); text-decoration: none; background: #fff; }
.mk-toc a:hover { border-color: var(--mk-hue); color: var(--mk-hue); }
.mk-sec { scroll-margin-top: 90px; }
.mk-sub { max-width: 780px; }
.mk-ref { font-size: 11px; vertical-align: super; margin-left: 2px; color: var(--mk-hue); text-decoration: none; }
.mk-note { font-size: 13px; line-height: 1.5; color: var(--mk-muted); margin: 10px 0 0; max-width: 820px; }
.mk-charts { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 8px; }
.mk-charts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mk-chart-box { background: #fff; border: 1px solid var(--mk-grid); border-radius: 16px; padding: 20px 20px 14px; min-width: 0; }
.mk-chart { margin: 0; }
.mk-cap { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.mk-cap-t { font-weight: 600; font-size: 16px; color: var(--mk-ink); }
.mk-cap-s { font-size: 13px; color: var(--mk-muted); }
/* columns */
.mk-plot { position: relative; height: 240px; padding-left: 44px; }
.mk-grid { position: absolute; inset: 0 0 26px 44px; }
.mk-gl { position: absolute; left: 0; right: 0; border-top: 1px solid var(--mk-grid); }
.mk-gl span { position: absolute; right: calc(100% + 8px); top: -8px; font-size: 11px; color: var(--mk-muted); white-space: nowrap; }
.mk-bars { position: absolute; inset: 0 0 0 44px; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); align-items: end; }
.mk-col { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding-bottom: 26px; outline: none; cursor: default; }
.mk-bar { position: relative; width: min(24px, 70%); background: var(--mk-hue); border-radius: 4px 4px 0 0; min-height: 2px; transition: filter .15s; }
.mk-col.is-hl .mk-bar { background: var(--mk-hl); }
.mk-v { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 600; color: var(--mk-ink); white-space: nowrap; }
.mk-x { position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--mk-muted); white-space: nowrap; overflow: visible; }
/* horizontal bars */
.mk-rows { display: flex; flex-direction: column; gap: 10px; }
.mk-row { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; align-items: center; gap: 12px; outline: none; position: relative; }
.mk-rl { font-size: 14px; color: var(--mk-ink); line-height: 1.3; }
.mk-track { position: relative; display: block; height: 18px; padding-right: 64px; min-width: 0; }
.mk-fill { display: block; height: 14px; margin-top: 2px; width: calc(100% * var(--f)); min-width: 2px; background: var(--mk-hue); border-radius: 0 4px 4px 0; }
.mk-track .mk-rv { position: absolute; top: 0; left: calc((100% - 64px) * var(--f) + 8px); line-height: 18px; }
.mk-row.is-hl .mk-fill { background: var(--mk-hl); }
.mk-row.is-neg .mk-fill { background: #9aa7a7; }
.mk-rv { font-size: 13px; font-weight: 600; color: var(--mk-ink); white-space: nowrap; }
/* tooltip (hover + keyboard focus) */
.mk-col:hover .mk-bar, .mk-col:focus-visible .mk-bar, .mk-row:hover .mk-fill, .mk-row:focus-visible .mk-fill { filter: brightness(0.88); }
.mk-col[data-tip]:hover::after, .mk-col[data-tip]:focus-visible::after, .mk-row[data-tip]:hover::after, .mk-row[data-tip]:focus-visible::after {
	content: attr(data-tip); position: absolute; z-index: 5; left: 50%; bottom: calc(100% - 18px); transform: translateX(-50%);
	background: #1f2937; color: #fff; font-size: 12px; line-height: 1.35; padding: 6px 9px; border-radius: 8px; white-space: nowrap; pointer-events: none; box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.mk-row[data-tip]:hover::after, .mk-row[data-tip]:focus-visible::after { bottom: calc(100% + 2px); left: 60%; }
.mk-col:focus-visible, .mk-row:focus-visible { box-shadow: 0 0 0 2px var(--mk-hue); border-radius: 6px; }
/* data tables */
.mk-data { margin-top: 12px; font-size: 13px; }
.mk-data summary { cursor: pointer; color: var(--mk-hue); }
.mk-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 8px; }
.mk-table-open { background: #fff; border: 1px solid var(--mk-grid); border-radius: 14px; }
.mk-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mk-table th, .mk-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--mk-grid); vertical-align: top; }
.mk-table thead th { font-weight: 600; color: var(--mk-muted); font-size: 13px; }
.mk-table tbody th { font-weight: 500; color: var(--mk-ink); }
.mk-table tr:last-child th, .mk-table tr:last-child td { border-bottom: 0; }
/* cards + links + sources */
.mk-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.mk-card { background: #fff; border: 1px solid var(--mk-grid); border-radius: 14px; padding: 18px; }
.mk-card h3 { font-size: 17px; margin: 6px 0 8px; }
.mk-card p { font-size: 14px; line-height: 1.5; color: var(--mk-muted); margin: 0; }
.mk-card-v { font-weight: 600; font-size: 26px; color: var(--mk-ink); }
.mk-badge { display: inline-block; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--art-teal-tint, #eef7f6); color: var(--mk-hue); }
.mk-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mk-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--mk-hue); color: var(--mk-hue); text-decoration: none; font-weight: 500; font-size: 14px; }
.mk-link:hover { background: var(--mk-hue); color: #fff; }
.mk-sources ol { padding-left: 20px; font-size: 14px; line-height: 1.6; color: var(--mk-muted); }
.mk-sources a { color: var(--mk-hue); word-break: break-word; }
@media (max-width: 991px) {
	.mk-charts-2, .mk-cards { grid-template-columns: 1fr; }
	.mk-kpis-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 567px) {
	.mk-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.mk-kpi { padding: 14px; }
	.mk-kpi-v { font-size: 24px; }
	.mk-chart-box { padding: 16px 12px 12px; }
	.mk-plot { height: 210px; padding-left: 36px; }
	.mk-grid, .mk-bars { left: 36px; }
	.mk-x { font-size: 10px; white-space: normal; line-height: 1.15; padding: 0 1px; }
	.mk-col { padding-bottom: 34px; }
	.mk-grid { bottom: 34px; }
	.mk-v { font-size: 11px; }
	.mk-row { grid-template-columns: minmax(90px, 38%) 1fr; gap: 8px; }
	.mk-rl { font-size: 13px; }
	.mk-col[data-tip]:hover::after, .mk-col[data-tip]:focus-visible::after { white-space: normal; width: 160px; }
}


/* ===== Glossary (template-glossary.php) — 29.10.2026 ===== */
.gl-page { --gl-line: #dde7e6; --gl-ink: var(--text, #1f2937); --gl-muted: #5d6b6b; --gl-hue: var(--teal, #0d7272); }
.gl-hero h1 { margin: 6px 0 12px; }
.gl-lead { max-width: 760px; font-size: 18px; line-height: 1.55; color: var(--gl-ink); }
.gl-tools { padding: 14px 0 12px; margin: 10px 0 8px; border-bottom: 1px solid var(--gl-line); }
.gl-search { display: flex; align-items: center; gap: 10px; max-width: 460px; border: 1px solid var(--gl-line); border-radius: 12px; padding: 0 14px; background: #fff; margin: 0 0 12px; }
.gl-search i { color: var(--gl-muted); font-size: 18px; }
.gl-search input { border: 0; outline: 0; height: 46px; flex: 1; font-size: 16px; background: transparent; min-width: 0; }
.gl-search:focus-within { border-color: var(--gl-hue); box-shadow: 0 0 0 3px rgba(13,114,114,.12); }
.gl-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.gl-cats a { font-size: 14px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--gl-line); color: var(--gl-ink); text-decoration: none; background: #fff; }
.gl-cats a span { color: var(--gl-muted); margin-left: 4px; }
.gl-cats a:hover { border-color: var(--gl-hue); color: var(--gl-hue); }
.gl-empty { color: var(--gl-muted); margin: 18px 0; }
.gl-cat { scroll-margin-top: 150px; margin-top: 36px; }
.gl-count { font-family: var(--sans, Inter, sans-serif); font-size: 16px; font-weight: 500; color: var(--gl-muted); vertical-align: middle; }
.gl-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.gl-term { background: #fff; border: 1px solid var(--gl-line); border-radius: 16px; padding: 18px 20px; scroll-margin-top: 150px; }
.gl-term:target { border-color: var(--gl-hue); box-shadow: 0 0 0 3px rgba(13,114,114,.12); }
.gl-term h3 { font-family: var(--sans, Inter, sans-serif); font-size: 18px; font-weight: 600; margin: 0 0 8px; color: var(--gl-ink); }
.gl-alias { display: inline-block; font-size: 13px; font-weight: 500; color: var(--gl-hue); background: var(--art-teal-tint, #eef7f6); border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: 2px; }
.gl-term p { font-size: 15px; line-height: 1.6; color: var(--gl-ink); margin: 0; }
.gl-more { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; }
.gl-more a { font-size: 14px; color: var(--gl-hue); text-decoration: none; font-weight: 500; }
.gl-more a:hover { text-decoration: underline; }
.gl-related { margin-top: 48px; }
.gl-rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 10px; }
.gl-rel { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--gl-line); border-radius: 16px; background: #fff; color: var(--gl-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.gl-rel:hover { border-color: var(--gl-hue); box-shadow: 0 6px 20px rgba(13,114,114,.10); color: var(--gl-ink); }
.gl-rel strong { font-size: 17px; }
.gl-rel span:last-child { font-size: 14px; color: var(--gl-muted); line-height: 1.5; }
.gl-rel .mk-badge { align-self: flex-start; }
@media (max-width: 767px) {
	.gl-terms { grid-template-columns: 1fr; }
	.gl-lead { font-size: 16px; }
	.gl-tools { position: static; }
	.gl-cats { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
	.gl-cats a { white-space: nowrap; }
}

/* market sources: collapsed list (29.10) */
.mk-sources { padding-top: 32px; padding-bottom: 32px; }
.mk-src { border: 1px solid var(--mk-grid); border-radius: 16px; background: #fff; }
.mk-src summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 16px 20px; }
.mk-src summary::-webkit-details-marker { display: none; }
.mk-src summary::after { content: '+'; margin-left: auto; color: var(--mk-hl); font-size: 22px; line-height: 1; }
.mk-src[open] summary::after { content: '−'; }
.mk-src-t { font-weight: 600; font-size: 17px; color: var(--mk-ink); display: inline-flex; align-items: center; gap: 8px; }
.mk-src-t i { color: var(--mk-hue); }
.mk-src-n { font-size: 13px; font-weight: 600; color: var(--mk-hue); background: var(--art-teal-tint, #eef7f6); border-radius: 999px; padding: 2px 8px; }
.mk-src-h { font-size: 13px; color: var(--mk-muted); }
.mk-sources .mk-src ol { columns: 2; column-gap: 36px; margin: 0; padding: 4px 20px 18px 40px; font-size: 13px; line-height: 1.5; }
.mk-sources .mk-src li { break-inside: avoid; margin-bottom: 6px; border-radius: 6px; transition: background .3s; }
.mk-sources .mk-src li.is-hit { background: #fdf3e7; }
@media (max-width: 767px) { .mk-sources .mk-src ol { columns: 1; padding-left: 32px; } .mk-src summary { padding: 14px 16px; } }

/* ===== Article contents box + guide blocks (inc/article-toc.php) — 29.10.2026 ===== */
.article-toc { border: 1px solid var(--art-line); border-radius: 12px; padding: 18px 22px 14px; margin: 0 0 34px; background: #fff; }
.article-toc .toc-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--art-teal); margin-bottom: 8px; }
.article-content .article-toc ol { columns: 2; column-gap: 32px; margin: 0; padding-left: 1.3em; font-size: 15.5px; line-height: 1.55; }
.article-content .article-toc li { break-inside: avoid; margin-bottom: 6px; }
.article-toc a { color: var(--art-ink, #1f2937); text-decoration: none; border-bottom: 1px solid transparent; }
.article-toc a:hover { color: var(--art-teal); border-bottom-color: currentColor; }
.article-content h2[id] { scroll-margin-top: 110px; }
.article-content ol.guide-steps { list-style: none; counter-reset: gstep; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.article-content ol.guide-steps > li { counter-increment: gstep; position: relative; padding: 16px 18px 16px 64px; border: 1px solid var(--art-line); border-radius: 12px; background: #fff; font-size: 16.5px; line-height: 1.6; }
.article-content ol.guide-steps > li::before { content: counter(gstep); position: absolute; left: 16px; top: 15px; width: 32px; height: 32px; border-radius: 50%; background: var(--art-teal); color: #fff; font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.article-content ol.guide-steps > li strong:first-child { display: block; margin-bottom: 2px; }
.article-content ul.checklist { list-style: none; padding-left: 0; }
.article-content ul.checklist > li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.article-content ul.checklist > li::before { content: ''; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 6px; background: var(--art-teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d7272' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.callout-orange ul.checklist > li::before { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e07818' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center/14px no-repeat; }
.article-content .guide-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 22px 0 10px; }
.article-content .guide-related a { display: block; padding: 14px 16px; border: 1px solid var(--art-line); border-radius: 12px; text-decoration: none; color: inherit; background: #fff; font-size: 15px; line-height: 1.45; }
.article-content .guide-related a strong { display: block; color: var(--art-teal); margin-bottom: 2px; }
.article-content .guide-related a:hover { border-color: var(--art-teal); }
@media (max-width: 767px) { .article-content .article-toc ol { columns: 1; } .article-content ol.guide-steps > li { padding: 14px 14px 14px 56px; font-size: 15.5px; } }

/* article "current as of" chip (29.10) */
.article-asof { font-size: 13px; color: var(--art-teal, #0d7272); background: var(--art-teal-tint, #eef7f6); border-radius: 999px; padding: 3px 10px; }
.gl-page .mk-updated { color: #5d6b6b; font-size: 14px; margin: 6px 0 4px; }

/* ===== Heading outline fixes (03.11.2026): widget and modal titles are not headings; card titles moved h4 → h3 ===== */
.subscribe-text .subscribe-title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 4px; line-height: 1.2; }
.sidebar-cta .sidebar-cta-title { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 8px; line-height: 1.3; }
.h2-block .h2-like { font-family: "El Messiri", sans-serif; font-weight: 400; font-optical-sizing: auto; font-size: 86px; line-height: 100%; margin: 0 0 40px; }
@media (max-width: 1366px) { .h2-block .h2-like { font-size: 68px; } }
@media (max-width: 992px) { .h2-block .h2-like { font-size: 36px; margin-bottom: 20px; } }
.objs .body h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 0 0 .5rem; line-height: 1.2; }
.trust .tcard h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin: 10px 0 4px; line-height: 1.2; }
.contact-grid .side .office h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin: 0 0 4px; line-height: 1.2; }
