/* TravelCamel.ae - UAE travel portal. White editorial theme, desert accents. */
:root {
  --paper: #ffffff;
  --mist: #f7f5f1;
  --line: #e8e4dc;
  --ink: #1e1a14;
  --gray: #5f584d;
  --brown: #6b4f2e;
  --camel: #c19a5b;
  --uae-red: #c8382e;
  --oasis: #1f7a6d;
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.7; font-size: 17px; }
h1, h2, h3, .h-logo span, .f-logo { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.2; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oasis); }

/* header */
.h-bar { background: var(--ink); position: sticky; top: 0; z-index: 50; }
.h-inner { max-width: 1140px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.h-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #f6efe4; font-size: 24px; }
.h-logo b { color: var(--camel); font-weight: 400; }
.h-logo i { font-style: normal; font-size: 15px; color: var(--uae-red); font-family: 'Inter', sans-serif; font-weight: 600; margin-left: 2px; }
.h-mark { width: 40px; height: 27px; fill: var(--camel); }
.h-nav ul { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
.h-nav a { color: #f6efe4; text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.h-nav a:hover { background: rgba(255,255,255,0.1); color: var(--camel); }
.h-burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.h-burger span { display: block; width: 24px; height: 2px; background: #f6efe4; margin: 5px 0; }

/* hero */
.hero { background: linear-gradient(160deg, var(--ink) 0%, #4a3a22 70%, var(--brown) 100%); color: #f6efe4; padding: 64px 20px 56px; }
.hero-inner { max-width: 1140px; margin: 0 auto; }
.hero h1 { font-size: clamp(34px, 5.5vw, 56px); max-width: 850px; }
.hero h1 em { font-style: normal; color: var(--camel); }
.hero p { max-width: 640px; margin-top: 18px; font-size: 18px; color: #e7dcc8; }
.hero-chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips a { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22); color: #f6efe4; text-decoration: none; padding: 8px 16px; border-radius: 30px; font-size: 14px; font-weight: 500; }
.hero-chips a:hover { background: var(--camel); border-color: var(--camel); color: var(--ink); }

/* sections */
.wrapper { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
section { padding: 48px 0; }
.section-title { font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 10px; }
.section-sub { color: var(--gray); margin-bottom: 28px; max-width: 640px; }

/* article cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(30,26,20,0.12); }
.card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-tag { align-self: flex-start; background: var(--mist); color: var(--brown); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 20px; }
.card h3 { font-size: 21px; }
.card p { font-size: 14.5px; color: var(--gray); }
.card-empty { background: var(--mist); border: 2px dashed var(--camel); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--brown); grid-column: 1 / -1; }

/* about band */
.band { background: var(--mist); border-radius: var(--radius); }
.band .wrapper { padding-top: 40px; padding-bottom: 40px; }
.band-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; }
.band-cols ul { margin: 14px 0 0 20px; }
.band-cols li { margin-bottom: 8px; }
.band-art { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; }
.band-art svg { width: 70%; max-width: 260px; fill: var(--brown); }

/* article page: центрованная колонка */
.art-wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.art-head { padding: 40px 0 6px; }
.art-head h1 { font-size: clamp(30px, 4.5vw, 44px); }
.art-meta { color: var(--gray); font-size: 14.5px; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.art-meta a { color: var(--brown); font-weight: 600; text-decoration: none; }
.art-meta a:hover { text-decoration: underline; }
.art-meta .avi { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: inline-block; }
.art-body { padding-bottom: 24px; }
.art-body h2 { font-size: clamp(24px, 3vw, 32px); margin: 40px 0 14px; scroll-margin-top: 80px; }
.art-body h3 { font-size: 21px; margin: 28px 0 10px; }
.art-body p { margin: 15px 0; }
.art-body ul, .art-body ol { margin: 15px 0 15px 24px; }
.art-body li { margin-bottom: 8px; }
.art-body img { border-radius: var(--radius); margin: 24px 0; }
.art-body a[target="_blank"]::after { content: "\2197"; font-size: 12px; margin-left: 2px; }
.art-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.art-body th { background: var(--ink); color: #f6efe4; text-align: left; padding: 12px 14px; }
.art-body td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.art-body tr:last-child td { border-bottom: 0; }
.art-body tr:nth-child(even) td { background: var(--mist); }
.table-wrap { overflow-x: auto; }
.art-body blockquote { border-left: 4px solid var(--camel); padding: 6px 0 6px 18px; margin: 24px 0; color: var(--gray); }

/* TOC */
.toc { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 26px; margin: 26px 0 6px; }
.toc h2 { font-size: 18px; margin: 0 0 10px; font-family: 'Inter', sans-serif; font-weight: 700; }
.toc ol { margin: 0 0 0 20px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--brown); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* related */
.art-related { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 30px 0; }
.art-related h3 { margin: 0 0 10px; }
.art-related ul { margin: 0 0 0 20px; }

/* share + AI summary */
.share-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 26px 0; padding-top: 22px; border-top: 1px solid var(--line); }
.share-row span { font-size: 14px; font-weight: 600; color: var(--gray); margin-right: 4px; }
.share-row a, .share-row button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font: inherit; font-size: 13.5px; font-weight: 500; padding: 8px 14px; border-radius: 30px; cursor: pointer; }
.share-row a:hover, .share-row button:hover { border-color: var(--camel); background: var(--mist); }
.share-row svg { width: 15px; height: 15px; fill: currentColor; }
.ai-box { background: linear-gradient(135deg, #f4f1ea, #eef4f2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 26px 0; }
.ai-box h3 { margin: 0 0 6px; font-size: 19px; }
.ai-box p { font-size: 14px; color: var(--gray); margin-bottom: 14px; }
.ai-box .ai-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ai-box a { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 9px 16px; border-radius: 8px; }
.ai-box a:hover { border-color: var(--oasis); color: var(--oasis); }

/* author box */
.author-box { display: flex; gap: 20px; align-items: flex-start; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin: 30px 0 46px; }
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box h3 { margin: 0; font-size: 20px; }
.author-box h3 a { color: var(--ink); text-decoration: none; }
.author-box h3 a:hover { color: var(--brown); }
.author-box .a-role { font-size: 13px; color: var(--brown); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin: 2px 0 8px; }
.author-box p { font-size: 14.5px; color: var(--gray); margin: 0; }

/* author page */
.author-hero { display: flex; gap: 28px; align-items: center; padding: 44px 0 10px; }
.author-hero img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; }

/* breadcrumbs */
.crumbs { padding: 18px 0 0; font-size: 13.5px; color: var(--gray); }
.crumbs a { color: var(--gray); }

/* forms */
.form-box { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; max-width: 560px; }
.form-box label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
.form-box input, .form-box textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--paper); }
.form-box button { margin-top: 18px; background: var(--uae-red); color: #fff; border: 0; padding: 13px 28px; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; }
.form-box button:hover { background: #a52d24; }

/* footer */
.f-bar { background: var(--ink); color: #cfc4ad; margin-top: 40px; }
.f-inner { max-width: 1140px; margin: 0 auto; padding: 46px 20px 30px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.f-logo { color: #f6efe4; text-decoration: none; font-size: 22px; }
.f-logo b { color: var(--camel); font-weight: 400; }
.f-logo i { font-style: normal; font-size: 14px; color: var(--uae-red); font-family: 'Inter', sans-serif; font-weight: 600; }
.f-brand p { font-size: 14px; margin-top: 12px; }
.f-col h4 { color: #f6efe4; font-size: 14px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px; }
.f-col ul { list-style: none; }
.f-col li { margin-bottom: 8px; }
.f-col a { color: #cfc4ad; text-decoration: none; font-size: 14.5px; }
.f-col a:hover { color: var(--camel); }
.f-bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.f-bottom p { max-width: 1140px; margin: 0 auto; padding: 18px 20px; font-size: 13px; }

@media (max-width: 860px) {
  .h-burger { display: block; }
  .h-nav { display: none; width: 100%; }
  .h-nav.h-open { display: block; }
  .h-inner { flex-wrap: wrap; }
  .h-nav ul { flex-direction: column; padding: 8px 0 14px; }
  .band-cols { grid-template-columns: 1fr; }
  .f-inner { grid-template-columns: 1fr; gap: 26px; }
  .author-box { flex-direction: column; }
  .author-hero { flex-direction: column; text-align: center; }
}

/* hero с дубайским фото */
.hero-cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; max-width: 400px; margin-left: auto; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.18); transform: rotate(2deg); }
@media (max-width: 860px) {
  .hero-cols { grid-template-columns: 1fr; gap: 30px; }
  .hero-photo img { margin: 0 auto; max-width: 340px; transform: none; }
}

/* article hero (полноширинный, фото статьи фоном) */
.art-hero { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--ink); }
.art-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; margin: 0; border-radius: 0; }
.art-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,10,0.25) 0%, rgba(20,16,10,0.65) 100%); }
.art-hero-inner { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 70px 20px; }
.art-hero-inner h1 { color: #fff; font-size: clamp(30px, 4.5vw, 46px); text-shadow: 0 2px 18px rgba(0,0,0,0.45); }
.crumbs-hero { padding: 0 0 16px; color: #e9e2d2; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.crumbs-hero a { color: #e9e2d2; text-decoration: none; }
.crumbs-hero a:hover { color: var(--camel); }
.art-hero-badge { display: inline-block; margin-top: 22px; background: var(--uae-red); color: #fff; text-decoration: none; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; padding: 8px 18px; border-radius: 30px; }
.art-hero-badge:hover { background: #a52d24; }

/* meta bar под hero */
.meta-bar { border-bottom: 1px solid var(--line); background: var(--paper); }
.meta-bar-inner { max-width: 1140px; margin: 0 auto; padding: 20px; display: flex; flex-wrap: wrap; gap: 18px 44px; justify-content: center; }
.mb-item { display: flex; align-items: center; gap: 11px; }
.mb-item svg { width: 21px; height: 21px; fill: var(--camel); flex-shrink: 0; }
.mb-item span { display: block; font-size: 11.5px; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; }
.mb-item b { font-size: 15px; color: var(--ink); }
.mb-item b a { color: var(--ink); text-decoration: none; }
.mb-item b a:hover { color: var(--brown); text-decoration: underline; }
