/* دليل السفر — نفس ألوان وخطوط homepage.html */
:root {
	--ink: #1B2A4A;
	--brass: #B5722E;
	--gold: #C9A227;
	--sand: #EFE6D4;
	--ivory: #FBF8F2;
	--teal: #0F5C5C;
	--line: rgba(27, 42, 74, 0.12);
	--font-ar: 'Cairo', sans-serif;
}

body.myath-blog { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--font-ar); line-height: 1.8; overflow-x: hidden; }
.myath-blog *, .myath-blog *::before, .myath-blog *::after { box-sizing: border-box; }
.myath-blog h1, .myath-blog h2, .myath-blog h3 { font-family: var(--font-ar); font-weight: 900; }
.myath-wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

.tile-divider {
	height: 14px; width: 100%;
	background-image: repeating-linear-gradient(45deg, var(--brass) 0 2px, transparent 2px 14px),
	                  repeating-linear-gradient(-45deg, var(--teal) 0 2px, transparent 2px 14px);
	opacity: .55;
}

/* شريط التنقل — مثل nav.main في الصفحة الرئيسية */
.myath-bar { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 242, .92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.admin-bar .myath-bar { top: 32px; }
.myath-bar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; }
.myath-bar__brand { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 900; color: var(--teal); text-decoration: none; }
.myath-bar__brand img { height: 46px; width: auto; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25)); }
.myath-bar__brand .dot { color: var(--brass); }
.myath-bar__nav { display: flex; gap: 24px; font-weight: 600; }
.myath-bar__nav a { color: var(--ink); text-decoration: none; opacity: .8; }
.myath-bar__nav a:hover { opacity: 1; color: var(--brass); }

.myath-main { padding-top: 50px; padding-bottom: 70px; }

/* المقال */
.myath-article { max-width: 780px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 4vw, 48px); }
.myath-article__cats { margin: 0; }
.myath-article__cats a { color: var(--brass); text-decoration: none; font-weight: 800; font-size: .85rem; letter-spacing: .04em; }
.myath-article__title { font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.35; margin: 8px 0; }
.myath-article__date { opacity: .6; margin: 0 0 24px; font-size: .9rem; }
.myath-article__img { margin: 0 0 24px; }
.myath-article__img img, .myath-article__content img { max-width: 100%; height: auto; border-radius: 10px; }
.myath-article__content { font-size: 1.05rem; }
.myath-article__content h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin: 2em 0 .5em; color: var(--teal); }
.myath-article__content h3 { font-size: 1.2rem; margin: 1.6em 0 .4em; }
.myath-article__content a { color: var(--brass); }
.myath-article__content ul, .myath-article__content ol { padding-inline-start: 1.4em; }
.myath-article__content li { margin: .3em 0; }
.myath-article__content li::marker { color: var(--brass); }
.myath-article__content blockquote { border-inline-start: 4px solid var(--gold); margin: 1.5em 0; padding: 4px 16px; background: var(--sand); border-radius: 6px; }
.myath-article__tags { margin-top: 28px; }
.myath-article__tags a { display: inline-block; background: var(--sand); color: var(--ink); padding: 2px 12px; border-radius: 20px; text-decoration: none; margin: 4px; font-size: .85rem; }

/* زر الحجز */
.myath-cta { margin-top: 40px; padding: 28px 20px; text-align: center; background: var(--ink); color: var(--ivory); border-radius: 10px; }
.myath-cta p { margin: 0 0 14px; font-weight: 700; }
.myath-btn { display: inline-block; padding: 13px 30px; border-radius: 4px; font-weight: 800; text-decoration: none; }
.myath-btn--wa { background: #25D366; color: #fff; }
.myath-btn--wa:hover { filter: brightness(.95); }

/* الأرشيف — مثل .card في الصفحة الرئيسية */
.section-head { max-width: 640px; margin-bottom: 34px; }
.section-head .kicker { color: var(--brass); font-weight: 800; font-size: .85rem; letter-spacing: .08em; display: block; margin-bottom: 8px; }
.myath-archive__title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.myath-archive__desc { opacity: .75; margin-top: 10px; }
.myath-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .myath-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .myath-grid { grid-template-columns: 1fr; } }
.myath-card { background: var(--ivory); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.myath-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(27, 42, 74, .12); }
.myath-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.myath-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.myath-card__title { font-size: 1.05rem; font-weight: 900; line-height: 1.5; }
.myath-card__excerpt { font-size: .88rem; opacity: .72; flex: 1; }
.myath-card__row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.myath-card__date { color: var(--teal); font-weight: 800; font-size: .8rem; }
.myath-mini-btn { background: var(--ink); color: var(--ivory); padding: 8px 16px; border-radius: 4px; font-size: .82rem; font-weight: 700; }

.myath-pager { margin-top: 32px; text-align: center; }
.myath-pager .page-numbers { display: inline-block; padding: 4px 12px; margin: 2px; border-radius: 4px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.myath-pager .current { background: var(--ink); color: var(--ivory); }

.myath-foot { background: var(--ink); color: var(--ivory); text-align: center; padding: 24px 0; font-size: .8rem; opacity: .95; }
.myath-wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60; background: #25D366; color: #fff; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); font-size: 1.6rem; }

@media (max-width: 600px) {
	.myath-bar__nav { gap: 14px; font-size: .9rem; }
	.myath-bar__brand { font-size: 1.2rem; }
	.myath-bar__brand img { height: 38px; }
}
