/* ============================================================ Blog
   Article listing ([al_blog]) and single-article styles. */

/* --------------------------------------------------------------- Search */
.al-blog { position: relative; }
.al-blog__search { position: relative; max-width: 460px; margin: 0 auto 40px; }
.al-search__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: rgba(17, 30, 49, 0.35); pointer-events: none; }
.al-search__icon svg { width: 18px; height: 18px; display: block; }
.al-search {
	width: 100%; height: 48px; padding: 0 20px 0 46px;
	border: 1px solid rgba(17, 30, 49, 0.12); border-radius: 9999px;
	background: #fff; color: var(--ink); font-family: var(--body-font); font-size: 15px;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.al-search::placeholder { color: rgba(17, 30, 49, 0.35); }
.al-search:focus { outline: none; border-color: rgba(166, 130, 68, 0.6); box-shadow: 0 0 0 3px rgba(166, 130, 68, 0.15); }

/* ----------------------------------------------------- Section headings */
.al-blog__sechead { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.al-blog__sechead .al-eyebrow { margin: 0; }
.al-blog__rule { flex: 1; height: 1px; background: rgba(17, 30, 49, 0.1); }

/* ---------------------------------------------------- Featured article */
.al-blog__featured { margin-bottom: 64px; }
.al-blog-featured__link {
	display: grid; grid-template-columns: 1fr; overflow: hidden;
	background: #fff; border: 1px solid rgba(17, 30, 49, 0.06); border-radius: 24px;
	box-shadow: 0 18px 50px -28px rgba(18, 38, 58, 0.45);
	text-decoration: none; color: inherit; transition: box-shadow 0.3s ease;
}
.al-blog-featured__link:hover { box-shadow: 0 24px 60px -28px rgba(18, 38, 58, 0.55); }
.al-blog-featured__media { position: relative; min-height: 280px; overflow: hidden; background: rgba(17, 30, 49, 0.1); }
.al-blog-featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.al-blog-featured__link:hover .al-blog-featured__media img { transform: scale(1.04); }
.al-blog-featured__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.al-blog-featured__title { font-family: var(--heading-font); font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.1; color: var(--navy); margin: 0 0 16px; }
.al-blog-featured__text { font-weight: 300; line-height: 1.7; color: rgba(17, 30, 49, 0.65); margin: 0 0 28px; }
@media (min-width: 1024px) {
	.al-blog-featured__link { grid-template-columns: 1fr 1fr; }
	.al-blog-featured__body { padding: 48px; }
}

/* ------------------------------------------------------ Chips and meta */
.al-blog-chip { position: absolute; top: 12px; left: 12px; display: inline-flex; padding: 6px 14px; border-radius: 9999px; background: rgba(17, 30, 49, 0.9); color: #fff; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.al-blog-chip--overlay { background: rgba(255, 255, 255, 0.95); color: var(--navy); }
.al-blog-meta { margin: 0 0 12px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(17, 30, 49, 0.45); }
.al-blog-read { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--gold); }

/* --------------------------------------------------------- Grid cards */
.al-blog-card .al-card__title { font-size: 1.5rem; }
.al-blog-card .al-card__foot span:last-child { color: var(--gold); }

/* -------------------------------------------------------- Empty state */
.al-blog__empty { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.al-blog__empty[hidden] { display: none; }
.al-blog__reset { border: 0; background: none; padding: 0; color: var(--gold); font-family: var(--body-font); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; cursor: pointer; }
.al-blog__reset:hover { text-decoration: underline; }

/* ============================================================ Single */
.al-post-hero { min-height: 62vh; align-items: flex-end; }
.al-post-hero__content { position: relative; z-index: 2; width: 100%; max-width: 960px; margin: 0 auto; padding: 0 24px 72px; }
.al-post-hero__badge { display: inline-flex; margin: 24px 0 20px; background: var(--gold); color: #fff; }
.al-post-hero__title { font-family: var(--heading-font); font-weight: 500; font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.05; color: #fff; margin: 0 0 20px; }
.al-post-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; color: rgba(255, 255, 255, 0.72); font-size: 14px; font-weight: 300; }
.al-post-hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.al-post-hero__meta span::before { content: ""; width: 4px; height: 4px; border-radius: 9999px; background: var(--gold); }

.al-post-body { padding: 96px 0; }
.al-article.al-post-article { max-width: 768px; margin: 0 auto; padding: 0 24px; }
.al-post-lead { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 300; line-height: 1.6; color: rgba(17, 30, 49, 0.8); margin: 0 0 56px; padding-bottom: 56px; border-bottom: 1px solid rgba(17, 30, 49, 0.1); }
.al-post-article h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin: 56px 0 20px; line-height: 1.15; }
.al-post-article h2:first-child { margin-top: 0; }
.al-post-article h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 40px 0 16px; line-height: 1.2; }
.al-post-article p { font-size: 18px; line-height: 1.9; color: rgba(17, 30, 49, 0.75); margin: 0 0 24px; }
.al-post-article ul { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.al-post-article li { position: relative; padding-left: 26px; font-size: 18px; line-height: 1.8; color: rgba(17, 30, 49, 0.75); }
.al-post-article li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 9999px; background: var(--gold); }
.al-post-article blockquote { border-left: 2px solid var(--gold); border-top: 0; border-right: 0; border-bottom: 0; margin: 48px 0; padding: 0 0 0 28px; font-family: var(--heading-font); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-style: italic; line-height: 1.35; color: var(--ink); }
.al-post-article blockquote p { font-family: inherit; font-size: inherit; color: inherit; margin: 0; }
.al-post-article img { border-radius: var(--radius); }

.al-post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(17, 30, 49, 0.1); }
.al-post-tags__icon { width: 18px; height: 18px; color: var(--gold); }
.al-post-tag { display: inline-flex; padding: 8px 18px; border-radius: 9999px; background: #fff; border: 1px solid rgba(17, 30, 49, 0.12); color: rgba(17, 30, 49, 0.7); font-size: 12px; }

.al-post-cta { display: flex; flex-direction: column; gap: 24px; margin-top: 56px; padding: 32px; background: #fff; border: 1px solid rgba(17, 30, 49, 0.05); border-radius: 16px; }
.al-post-cta__eyebrow { margin: 0 0 8px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.al-post-cta__text { margin: 0; font-weight: 300; color: rgba(17, 30, 49, 0.7); }
.al-post-cta .al-btn { align-self: flex-start; }
@media (min-width: 640px) {
	.al-post-cta { flex-direction: row; align-items: center; justify-content: space-between; }
	.al-post-cta .al-btn { align-self: auto; flex-shrink: 0; }
}

.al-post-related { padding: 80px 0; background: rgba(255, 255, 255, 0.6); border-top: 1px solid rgba(17, 30, 49, 0.05); }

/* --------------------------------------------------- Button variants */
.al-btn--navy { background: var(--navy); color: #fff; padding: 0 32px; }
.al-btn--navy:hover { background: rgba(17, 30, 49, 0.9); }
.al-post-cta .al-btn svg { width: 16px; height: 16px; }

/* ------------------------------------------------- Hero accent (Blog) */
html .elementor .al-blog-hero em { font-style: italic; color: #A68244; }
html .elementor .al-blog-hero-media {
	background-color: #0C1C2E;
	background-image: linear-gradient(180deg, rgba(12, 28, 46, 0.86) 0%, rgba(18, 38, 58, 0.62) 45%, rgba(12, 28, 46, 0.88) 100%), url('https://alarabiadevelopment.com/wp-content/uploads/2026/10/turquoise-red-sea-water.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
