/* ==========================================================================
   Single post + static page body (area: single).
   Measured from archived alsaber.net (Publisher 7.6.2 travel-guides, post-template-10),
   viewport 1354px. See spec/single.md. Main colour #1587cc, page bg #f7f7f7 (global).
   ========================================================================== */

.asg-wrap {
	direction: rtl;
	width: 1206px;                      /* 1240 container − 2×17 */
	max-width: calc(100% - 34px);
	margin: 0 auto;
}
.asg-bc *, .asg-main *, .asg-main *::before, .asg-main *::after { box-sizing: border-box; }
.asg-main a { text-decoration: none; transition: .07s; }

/* ---------- breadcrumb (bc-top-style) ---------- */
.asg-bc {
	display: block;
	padding: 7px 0 0;
	margin: 0 0 17px;                  /* items end → content box top = 17px */
	color: #7b7b7b;
	font-size: 14px;
	line-height: 23.8px;
}
.asg-bc-items { list-style: none; margin: 0; padding: 0; font-size: 0; line-height: 0; }
.asg-bc-item {
	display: inline-block;
	font-size: 12px;
	line-height: 22px;
	color: #7b7b7b;
	vertical-align: top;
}
.asg-bc-item::after {                  /* fa-angle-left */
	content: "\f104";
	font-family: FontAwesome;
	display: inline-block;
	margin: 0 9px;
	color: #929292;
	font-size: 12px;
	line-height: 22px;
	vertical-align: top;
}
.asg-bc-end::after { display: none; }
.asg-bc-item a { display: inline-block; color: #9e9e9e; text-decoration: none; transition: .07s; }
.asg-bc-item a:hover span { color: #1587cc; }
.asg-bc-end span { display: inline-block; color: #9e9e9e; vertical-align: top; }

/* ---------- 2-column layout (layout-right-sidebar; RTL → content right, sidebar left) ---------- */
.asg-row {
	display: flex;
	flex-direction: row;               /* RTL: first child sits on the right */
	align-items: flex-start;
	margin: 0 -17px 28.33px;
}
.asg-content-column { width: 70%; padding: 0 17px; min-width: 0; }   /* 868 → 834 inner */
.asg-sidebar-column { width: 30%; padding: 0 17px; min-width: 0; position: relative; z-index: 1000; } /* 372 → 338 inner */

/* ---------- article box ---------- */
.asg-container { margin-bottom: 34px; }
.asg-post {
	display: block;
	background: #fff;
	padding: 20px;
	box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .09);
	color: #7b7b7b;
	font-size: 14px;
	line-height: 23.8px;
}

/* featured image: above the header, full content width, natural ratio, centred */
.asg-featured { position: relative; display: block; margin: 0 0 20px; line-height: 0; text-align: center; }
.asg-featured:empty { display: none; }
.asg-featured img { max-width: 100%; height: auto !important; width: auto; display: inline; }

.asg-header-inner { position: relative; overflow: hidden; margin: 0 0 20px; padding: 0; }

/* category badges */
.asg-badges { position: relative; margin: 0 0 15px; font-size: 0; line-height: 0; z-index: 1; }
.asg-badge { display: inline-block; font-size: 12px; line-height: 0; }
.asg-badge a {
	display: inline-block;
	margin: 0 0 3px 3px;
	padding: 2px 7px;
	background: #1587cc;
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 20.4px;
	vertical-align: top;
	overflow: hidden;
	text-transform: uppercase;
	transition: .07s;
}
.asg-badge a:hover { color: #fff; }

/* title */
.asg-title {
	margin: 0 0 13px;
	padding: 0;
	color: #2d2d2d;
	font-size: 24px;
	font-weight: 400;
	line-height: 31.2px;
	text-transform: capitalize;
}

/* meta row: "بواسطة <b>name</b>   —  في <b>date</b>" */
.asg-meta { padding-top: 2px; color: #3a3a3a; font-size: 13px; line-height: 22.1px; }
.asg-author { display: inline-block; margin: 0 0 0 12px; color: rgba(0, 0, 0, .44); line-height: 26px; }
.asg-author:hover { color: #b7b7b7 !important; }
.asg-author-name {
	display: inline-block;
	max-width: 150px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
	text-transform: capitalize;
	line-height: 26px;
}
.asg-meta b { margin: 0 2px 0 0; color: #4d4d4d; font-weight: 700; }
.asg-time { display: inline-block; color: rgba(0, 0, 0, .44); line-height: 26px; }
.asg-time::before {
	content: " ";
	display: inline-block;
	width: 9px;
	height: 1px;
	margin: 0 0 0 12px;
	background: rgba(0, 0, 0, .23);
	vertical-align: middle;
}

/* ---------- share bar (Publisher style-8) ---------- */
.asg-share { font-size: 0; line-height: 0; }
.asg-share::after { content: ""; display: table; clear: both; }
.asg-share-top { margin-bottom: 9px; }
.asg-share-bottom { margin-bottom: -6px; }
.asg-share-btn-group { float: left; margin-bottom: 10px; overflow: hidden; }
.asg-share-btn {
	position: relative;
	display: block;
	padding: 0 10px;
	background: #fff;
	border: 1px solid #e2e2e2;
	color: #4d4d4d;
	font-size: 12px;
	line-height: 30px;
	vertical-align: top;
}
.asg-share-views {
	float: left;
	height: 44.42px;
	border-radius: 0 3px 3px 0;
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
.asg-share-btn .fa {
	display: inline-block;
	margin: 0 3px;
	font-size: 15px;
	line-height: 43px;
	vertical-align: top;
	color: #4d4d4d;
}
.asg-share-views .asg-num {
	display: inline-block;
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 43px;
	vertical-align: top;
}
.asg-share-handler-wrap { height: 47px; overflow: hidden; }
.asg-share-handler {
	float: right;
	height: 45px;
	margin: 0 0 12px 12px;
	border-radius: 3px;
	font-family: inherit;
}
.asg-share-handler::before,
.asg-share-handler::after {
	content: " ";
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	top: 50%;
	border-style: solid;
}
.asg-share-handler::before {            /* grey arrow pointing to the buttons */
	left: -12px;
	margin-top: -6px;
	border-width: 6px;
	border-color: transparent #d7d7d7 transparent transparent;
}
.asg-share-handler::after {             /* white inner arrow */
	left: -10px;
	margin-top: -5px;
	border-width: 5px;
	border-color: transparent #fff transparent transparent;
}
.asg-share-handler .asg-text {
	display: inline-block;
	margin: 0;
	padding: 0 3px 0 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 44px;
	vertical-align: top;
}
.asg-social { float: right; margin: 0 0 6px 6px; font-size: 0; line-height: 0; }
.asg-social a {
	display: inline-block;
	min-width: 56px;
	height: 45px;
	padding: 0 10px;
	border-radius: 3px;
	overflow: hidden;
	font-size: 14px;
	line-height: 45px;
	text-align: center;
	transition: .07s;
}
.asg-social .asg-icon { display: inline; }
.asg-social .fa {
	display: inline-block;
	width: 30px;
	height: 30px;
	margin-top: 8px;
	border-radius: 90px;
	background: rgba(0, 0, 0, .25);
	color: #fff;
	font-size: 16px;
	line-height: 30px !important;
	text-align: center;
	vertical-align: top;
}
.asg-social-whatsapp a  { background: #00e676; color: #00b259; }
.asg-social-facebook a  { background: #2d5f9a; color: #133d6d; }
.asg-social-twitter a   { background: #53c7ff; color: #2e86b1; }
.asg-social-pinterest a { background: #a41719; color: #670d0e; }
.asg-social-email a,
.asg-social-print a     { background: #444; color: #313131; }
.asg-social-whatsapp a:hover  { background: #00c462; }
.asg-social-facebook a:hover  { background: #1b4a82; }
.asg-social-twitter a:hover   { background: #369ed0; }
.asg-social-pinterest a:hover { background: #8c0a0c; }
.asg-social-email a:hover,
.asg-social-print a:hover     { background: #2f2f2f; }
/* WhatsApp is in the markup but hidden on desktop (only shown on phones on the old site). */
.asg-social-whatsapp { display: none; }
@media (max-width: 780px) { .asg-social-whatsapp { display: block; } }

/* ---------- content typography ---------- */
.asg-entry {
	padding-bottom: 20px;
	color: #222;
	font-size: 15px;
	line-height: 24px;
	letter-spacing: .1px;
	word-wrap: break-word;
}
.asg-entry::after { content: ""; display: table; clear: both; }
.asg-entry p { margin: 0 0 17px; }
.asg-entry > :last-child, .asg-entry p:last-child { margin-bottom: 0; }
.asg-entry h1, .asg-entry h2, .asg-entry h3, .asg-entry h4, .asg-entry h5, .asg-entry h6 {
	color: #2d2d2d; font-weight: 400; padding: 0; letter-spacing: .1px;
}
.asg-entry h1 { font-size: 34px; line-height: 44.2px; margin: 20px 0 10px; }
.asg-entry h2 { font-size: 30px; line-height: 39px;   margin: 20px 0 10px; }
.asg-entry h3 { font-size: 25px; line-height: 32.5px; margin: 20px 0 10px; }
.asg-entry h4 { font-size: 20px; line-height: 26px;   margin: 10px 0; }
.asg-entry h5 { font-size: 17px; line-height: 22.1px; margin: 10px 0; }
.asg-entry h6 { font-size: 15px; line-height: 19.5px; margin: 10px 0; }
.asg-entry > h1:first-child, .asg-entry > h2:first-child, .asg-entry > h3:first-child,
.asg-entry > h4:first-child, .asg-entry > h5:first-child, .asg-entry > h6:first-child { margin-top: 0; }
.asg-entry a { color: #1587cc; text-decoration: none; }
.asg-entry a:hover { text-decoration: underline; }
.asg-entry strong, .asg-entry b { font-weight: 700; }
.asg-entry ul, .asg-entry ol { margin: 0 0 17px; padding: 0 40px 0 0; }
.asg-entry ul { list-style: disc; }
.asg-entry ol { list-style: decimal; }
.asg-entry blockquote {
	position: relative;
	clear: both;
	margin: 40px 0 30px;
	padding: 60px 35px 50px;
	background: #efefef;
	border: 0;
	font-size: 110%;
	line-height: 26.4px;
	text-align: center;
}
.asg-entry blockquote::before {        /* fa-quote-right in a white circle, half outside the top */
	content: "\f10e";
	position: absolute;
	top: 0;
	left: 50%;
	display: block;
	width: 80px;
	height: 80px;
	margin: -30px 0 0 -40px;
	border-radius: 50%;
	background: #fff;
	color: #444;
	font-family: FontAwesome;
	font-size: 30px;
	line-height: 91px;
	text-align: center;
}
.asg-entry blockquote p:last-child { margin-bottom: 0; }
.asg-entry blockquote blockquote { background: transparent; padding: 0; margin: 0 0 10px; }
.asg-entry blockquote blockquote::before { display: none; }
.asg-entry img, .asg-entry figure { max-width: 100%; height: auto; }
.asg-entry img.aligncenter { display: block; margin: 15px auto 25px; }
.asg-entry figure { margin: 0 0 17px; }
.asg-entry figure.aligncenter, .asg-entry .wp-caption.aligncenter { margin: 20px auto; text-align: center; }
.asg-entry figure.aligncenter img { display: inline-block; }
.asg-entry .alignright { float: right; margin: 5px 0 15px 20px; }
.asg-entry .alignleft  { float: left;  margin: 5px 20px 20px 0; }
.asg-entry .wp-caption-text, .asg-entry figcaption, .asg-entry .gallery-caption {
	margin: 5px 0 0;
	padding: 0;
	color: #545454;
	font-size: 13px;
	font-style: italic;
	line-height: 15px;
	text-align: center;
}
.asg-entry figure.alignright .wp-caption-text { text-align: right; }
.asg-entry figure.alignleft .wp-caption-text { text-align: left; }
.asg-entry hr { margin: 27px 0; border: 0; border-top: 2px solid #f0f0f0; }
.asg-entry table { width: 100%; margin-bottom: 30px; border: 1px solid #ddd; border-collapse: collapse; }
.asg-entry th, .asg-entry td { padding: 7px 10px; border: 1px solid #ddd; text-align: right; }
.asg-entry thead th, .asg-entry thead td { border-bottom-width: 2px; }
.asg-entry pre {
	margin: 0 0 10px;
	padding: 15px;
	background: #f5f5f5;
	border: 1px solid #dcdcdc;
	color: #333;
	font: 13px/18.57px Menlo, Monaco, Consolas, "Courier New", monospace;
	overflow: auto;
	direction: ltr;
	text-align: left;
}
.asg-entry code { padding: 4px 6px; background: #eaeaea; font: 90%/1.6 Menlo, Monaco, Consolas, "Courier New", monospace; }
.asg-entry pre code { padding: 0; background: none; }
.asg-entry iframe, .asg-entry embed, .asg-entry video { max-width: 100%; }
/* YouTube/Vimeo embeds: full content width, 16:9 (no embed was archived; Publisher used fitvids) */
.asg-entry iframe[src*="youtube"], .asg-entry iframe[src*="youtu.be"], .asg-entry iframe[src*="vimeo"] {
	display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0;
}
.asg-entry .wp-block-embed__wrapper iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.asg-pages { clear: both; margin: 17px 0 0; font-size: 14px; }

/* ---------- inline related ("المزيد من المشاركات") ---------- */
.asg-irp {
	position: relative;
	clear: both;
	margin: 10px 0 15px;
	padding: 3px 0 0;
	border-top: 1px solid rgba(0, 0, 0, .06);
	border-bottom: 1px solid rgba(0, 0, 0, .06);
	font-size: 15px;
	line-height: 24px;
}
.asg-irp-heading { margin: 0 0 16px; padding: 8px 0 0; text-transform: uppercase; }
.asg-irp-h-text { color: #2d2d2d; font-size: 15px; line-height: 24px; }
.asg-irp-list { display: flex; flex-wrap: wrap; }
.asg-irp-item { width: 50%; padding: 0 0 0 18px; margin: 0 0 20px; min-height: 64px; }
.asg-irp-item::after { content: ""; display: table; clear: both; }
.asg-irp-img { float: left; width: 86px; height: 64px; margin: 0 15px 0 0; }
.asg-irp-title, .asg-entry .asg-irp-title, .asg-entry p.asg-irp-title { margin: 0; color: #1d1d1d; font-size: 15px; line-height: 19px; }
.asg-irp-title a { color: #1d1d1d; text-decoration: none !important; }
.asg-irp-title a:hover { color: #1587cc; }
.asg-irp-meta { padding-top: 2px; color: #acafb4; font-size: 13px; line-height: 20.8px; }

/* ---------- shared image holder (thumb or placeholder) ---------- */
.asg-img { position: relative; display: block; overflow: hidden; background: #e9ebee; line-height: 0; }
.asg-img > img, .asg-img > .yt, .asg-img > .ph {
	position: absolute; top: 0; right: 0; bottom: 0; left: 0;
	display: block; width: 100%; height: 100%; max-width: none; margin: 0;
	object-fit: cover;
}
.asg-img > .yt img { display: block; width: 100%; height: 100%; object-fit: cover; }
.asg-img > .yt b {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 34px; height: 24px; border-radius: 6px; background: rgba(0, 0, 0, .7);
	color: #fff; font-size: 11px; line-height: 24px; text-align: center;
}
.asg-img > .ph {
	background: #e9ebee linear-gradient(to right, #e9ebee 0, #f4f5f6 20%, #e9ebee 40%, #e9ebee 100%);
	font-size: 0; color: transparent;
}

/* ---------- section heading (sh-t1 sh-s1) — related block + page title ---------- */
.asg-sh {
	position: relative;
	margin: 0 0 35px;
	padding: 0;
	color: #2d2d2d;
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
}
.asg-sh::after {
	content: "";
	position: absolute;
	top: 18px;
	right: 0;
	left: 0;
	display: block;
	height: 2px;
	margin-top: -.5px;
	background: #1587cc;
	opacity: .08;
}
.asg-h-text {
	position: relative;
	z-index: 1;
	display: inline-block;
	padding: 4px 0 4px 17px;
	background: #f7f7f7;
	color: #000;
	font-size: 28px;
	font-weight: 400;
	line-height: 28px;
	text-transform: capitalize;
}

/* ---------- related posts ("قد يعجبك ايضا") ---------- */
.asg-related {
	position: relative;
	margin-top: 34px;
	padding: 20px;
	background: #fff;
	box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .09);
}
.asg-container + .asg-related { margin-top: 0; }   /* 34px gap comes from the article box margin */
.asg-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 17.5px; }
.asg-related-item { margin: 0 0 20px; }
.asg-related-item:nth-child(4) { display: none; }   /* old markup had 4 items; the 4th showed only <= 600px */
.asg-related-featured { position: relative; margin: 0 0 18px; }
.asg-related-img { width: 100%; padding-top: 70%; height: 0; }     /* 253 × 177 */
.asg-badges-floated { position: absolute; top: 0; right: 0; margin: 0; z-index: 2; }
.asg-related-title { margin: 0; color: #383838; font-size: 15px; line-height: 21px; }
.asg-related-title a { color: #383838; }
.asg-related-title a:hover { color: #1587cc; }

/* ---------- comments (ajaxified placeholder box) ---------- */
.asg-comments {
	margin: 34px 0 20px;
	padding: 20px;
	background: #f6f7f9;
	border: 1px solid #e1e2e4;
	border-radius: 3px;
	color: #1d1d1d;
	font-size: 13px;
	font-weight: 700;
	line-height: 22.1px;
	text-align: center;
}
.asg-comment-placeholder { margin: 0 5px; color: #696969; }
.asg-comment-placeholder:hover { color: #1587cc; }
.asg-comment-placeholder .fa { font-size: 13px; line-height: 13px; }
.asg-comments-body { display: none; font-weight: 400; text-align: right; }
.asg-comments.asg-open .asg-comment-placeholder { display: none; }
.asg-comments.asg-open .asg-comments-body { display: block; }
.asg-comment-list { margin: 0 0 20px; padding: 0; list-style: none; }
.asg-comment-list .comment { margin: 0 0 15px; padding: 0 0 15px; border-bottom: 1px solid #e1e2e4; }
.asg-respond .comment-reply-title { margin: 0 0 15px; color: #2d2d2d; font-size: 16px; font-weight: 700; }
.asg-respond input[type="text"], .asg-respond input[type="email"], .asg-respond input[type="url"], .asg-respond textarea {
	width: 100%; padding: 6px 12px; border: 1px solid #e1e2e4; background: #fff; font: inherit; font-size: 13px;
}
.asg-respond .submit { padding: 0 20px; height: 38px; border: 0; border-radius: 3px; background: #1587cc; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

/* ---------- tags (post-tags) ---------- */
.asg-tags { margin: 0 0 7px; font-size: 0; line-height: 0; }
.asg-tags::after { content: ""; display: table; clear: both; }
.asg-tags-label, .asg-tags a {
	float: right;
	margin: 0 0 3px 3px;
	border-radius: 33px;
	font-size: 10px;
	line-height: 20px;
}
.asg-tags-label { margin-left: 4px; padding: 0 10px; background: #444; border: 1px solid #444; color: #fff; }
.asg-tags-label .fa { font-size: 10px; line-height: 20px; }
.asg-tags a { padding: 0 9px; background: #fff; border: 1px solid #d4d4d4; color: #5f5f5f; }
.asg-tags a:hover { background: #1587cc; border-color: #1587cc; color: #fff; }

/* ---------- static page (single-page-simple-content, full width, no sidebar) ---------- */
.asg-main-page { margin-bottom: 0; }
.asg-page-container { margin-bottom: 0; }
.asg-page-title { margin: 0 0 35px; }

/* ---------- small screens ---------- */
/* Measured on the archive at 390-1000px: columns stack <= 767 (sidebar 34px under the last box);
   gap breadcrumb -> box 20px <= 667; side gutter 15px <= 479 (breadcrumb keeps 17px). */
@media (max-width: 767px) {
	.asg-row { flex-wrap: wrap; }
	.asg-content-column, .asg-sidebar-column { width: 100%; }
	.asg-content-column > :last-child { margin-bottom: 0; }
	.asg-sidebar-column { margin-top: 34px; }
}
@media (max-width: 667px) {
	.asg-bc { margin-bottom: 20px; }
}
@media (max-width: 479px) {
	.asg-wrap.asg-main { max-width: calc(100% - 30px); }
}

/* Imported old-theme markup inside post content (duplicates of theme parts) */
.asg-entry .bs-irp,
.asg-entry .entry-header-outer,
.asg-entry .share-buttons,
.asg-entry .bs-irp-wrap,
.asg-entry .post-share { display: none !important; }
.asg-irp-item:nth-child(2n) { padding: 0 18px 0 0; margin-bottom: 0; }

/* ---------- phones (measured on the archive) ---------- */
/* share bar <= 540: views pill alone on row 1 (right), «شارك» + buttons on row 2 */
@media (max-width: 540px) {
	.asg-share-btn-group { float: right; }
	.asg-share-handler-wrap { clear: both; }
}
@media (max-width: 420px) {
	.asg-share-btn { margin-bottom: 4px !important; }
}
/* inline related box: full width <= 530, items stacked flush <= 500 */
@media (max-width: 530px) {
	.asg-irp { margin: 21px 0; }
}
@media (max-width: 500px) {
	.asg-irp-item, .asg-irp-item:nth-child(2n) { width: 100%; padding: 0; }
}
/* «قد يعجبك ايضا» <= 600: 2 columns (12px inner padding each side -> 24px gap), 4 items */
@media (max-width: 600px) {
	.asg-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
	.asg-related-item:nth-child(4) { display: block; }
}
@media (max-width: 320px) {
	.asg-related-grid { grid-template-columns: minmax(0, 1fr); }
}


/* ===== taste pass r11 ===== */
/* taste-1: readable Arabic body text */
@media (min-width:621px){
	.asg-post{padding:28px 32px}
	.asg-entry{font-size:17px;line-height:1.95;letter-spacing:0;color:#2a2a2a}
	.asg-entry p{margin:0 0 1.15em}
	.asg-entry ul,.asg-entry ol{margin:0 0 1.15em;padding:0 28px 0 0}
	.asg-entry li{margin:0 0 .35em}
	.asg-entry a{color:#1587cc;border-bottom:1px solid rgba(21,135,204,.25)}
	.asg-entry a:hover{text-decoration:none;border-bottom-color:#1587cc}
	.asg-entry .asg-irp a{border-bottom:0}
}
/* taste-2: stronger title, quieter meta */
@media (min-width:621px){
	.asg-header-inner{margin:0 0 22px;padding:0 0 18px;border-bottom:1px solid #eef0f2}
	.asg-title{margin:0 0 12px;font-size:30px;line-height:1.55;font-weight:700;color:#1b2a38;text-transform:none}
	.asg-meta{font-size:13px}
	.asg-meta b{color:#3d4a56}
	.asg-badges{margin:0 0 12px}
	.asg-badge a{padding:2px 10px;border-radius:3px;text-transform:none}
}
/* taste-3: neutral 36px share row, brand blue on hover, no Pinterest */
@media (min-width:621px){
	.asg-share-top{margin-bottom:22px}
	.asg-share-handler-wrap{height:38px}
	.asg-share-btn{border-color:#e3e6ea}
	.asg-share-views{height:36px;border-radius:4px}
	.asg-share-btn .fa{font-size:14px;line-height:34px;color:#5b6670}
	.asg-share-views .asg-num{font-size:13px;line-height:34px;color:#3d4a56}
	.asg-share-handler{height:36px;margin:0 0 12px 12px}
	.asg-share-handler .asg-text{font-size:13px;line-height:34px;color:#3d4a56}
	.asg-share .asg-social{margin:0 0 6px 6px}
	.asg-share .asg-social a{min-width:38px;height:36px;padding:0 4px;line-height:34px;
		background:#f4f6f8;border:1px solid #e3e6ea;border-radius:4px;transition:background .15s,border-color .15s}
	.asg-share .asg-social .fa{width:30px;height:30px;margin-top:2px;background:transparent;color:#5b6670;font-size:15px}
	.asg-share .asg-social a:hover{background:#1587cc;border-color:#1587cc}
	.asg-share .asg-social a:hover .fa{color:#fff}
	.asg-share .asg-social-pinterest{display:none}
}
/* taste-6: related posts heading matches the white box; cleaner cards */
@media (min-width:621px){
	.asg-related{border-radius:4px}
	.asg-related .asg-sh{margin:0 0 22px}
	.asg-related .asg-sh::after{top:14px;height:1px;margin:0;background:#eceff2;opacity:1}
	.asg-related .asg-h-text{padding:0 0 0 14px;background:#fff;color:#1b2a38;font-size:20px;line-height:28px;font-weight:700}
	.asg-related .asg-h-text::before{content:"";display:inline-block;width:4px;height:18px;margin-left:10px;border-radius:2px;background:#1587cc;vertical-align:-2px}
	.asg-related-featured{margin:0 0 12px}
	.asg-related-img{border-radius:4px}
	.asg-related-featured:has(.as-tc) .asg-badges-floated{display:none}   /* title card already shows the category */
	.asg-related-title{font-size:15px;line-height:1.75}
	.asg-related-title a{color:#1b2a38}
	.asg-irp{border-color:#eceff2}
	.asg-irp-img{border-radius:3px}
	.asg-irp-h-text{font-weight:700;color:#1b2a38}
}
/* taste-7: calmer headings, elegant quote panel */
@media (min-width:621px){
	.asg-entry h1,.asg-entry h2,.asg-entry h3,.asg-entry h4,.asg-entry h5,.asg-entry h6{
		margin:1.6em 0 .6em;font-weight:700;line-height:1.6;letter-spacing:0;color:#1b2a38}
	.asg-entry h1{font-size:28px}
	.asg-entry h2{font-size:24px;padding-right:12px;border-right:4px solid #1587cc}
	.asg-entry h3{font-size:21px}
	.asg-entry h4{font-size:19px}
	.asg-entry h5{font-size:17px}
	.asg-entry h6{font-size:16px}
	.asg-entry blockquote{margin:28px 0;padding:20px 24px;background:#f4f8fb;border-right:4px solid #1587cc;
		border-radius:4px 0 0 4px;color:#24313d;font-size:1.05em;line-height:1.95;text-align:right}
	.asg-entry blockquote::before{display:none}
	.asg-entry blockquote blockquote{border-right:0;padding:0}
}
/* taste-8: soft corners, upright captions, breathing room for video */
@media (min-width:621px){
	.asg-featured{margin-bottom:24px}
	.asg-featured img{border-radius:4px}
	.asg-entry img:not(.emoji):not(.wp-smiley){border-radius:3px}
	.asg-entry .wp-caption-text,.asg-entry figcaption,.asg-entry .gallery-caption{
		margin-top:8px;font-style:normal;font-size:13px;line-height:1.7;color:#6b7480}
	.asg-entry iframe[src*="youtube"],.asg-entry iframe[src*="youtu.be"],.asg-entry iframe[src*="vimeo"]{
		margin:24px 0;border-radius:4px;box-shadow:0 4px 14px rgba(0,0,0,.10)}
	.asg-entry .wp-block-embed{margin:24px 0}
	.asg-entry .wp-block-embed iframe{margin:0}
	.asg-entry hr{margin:32px 0;border-top:1px solid #e9ecef}
	.asg-entry table{font-size:15px}
}
/* taste-9b: readable breadcrumb on posts */
@media (min-width:621px){
	.asg-bc-item,.asg-bc-item::after{font-size:13px}
	.asg-bc-item a{color:#7d8790}
	.asg-bc-end span{color:#4d5a66}
	.asg-post,.asg-comments{border-radius:4px}
}
/* ===== taste: mobile polish (single) ===== */
@media (max-width:620px){
	/* 8. breadcrumb: one line, drop the repeated title */
	.asg-bc{margin-bottom:12px}
	.asg-bc-items{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
	.asg-bc-end{display:none}
	.asg-bc-item:nth-last-child(2)::after{display:none}

	/* article card */
	.asg-post{padding:18px 16px;border-radius:10px;box-shadow:0 2px 10px rgba(16,40,64,.08)}
	/* 8. featured image: full bleed, natural ratio (never cropped), portrait capped */
	.asg-featured{margin:-18px -16px 18px;border-radius:10px 10px 0 0;overflow:hidden;background:#eef3f7}
	.asg-featured img{display:block;width:100%;max-height:80vh;object-fit:contain}
	.asg-badges{margin-bottom:10px}
	.asg-badge a{margin:0 0 4px 4px;padding:2px 10px;border-radius:4px}
	.asg-title{font-size:23px;line-height:1.6;margin-bottom:8px}
	.asg-meta{font-size:13px}

	/* 7. share: one row, equal 44px buttons, no «شارك» arrow label, no pinterest/print */
	.asg-share{display:flex;align-items:center;gap:6px}
	.asg-share::after{display:none}
	.asg-share-top{margin:14px 0 18px}
	.asg-share-bottom{margin:18px 0 0}
	.asg-share-btn-group{float:none;order:2;margin:0}
	.asg-share-views{height:44px;border-radius:8px}
	.asg-share-views .fa,.asg-share-views .asg-num{line-height:42px}
	.asg-share-handler-wrap{flex:1;display:flex;gap:6px;height:auto;overflow:visible;clear:none}
	.asg-share-handler{display:none}
	.asg-social{float:none;flex:1;margin:0}
	.asg-social a{display:block;min-width:0;height:44px;padding:0;border-radius:8px;line-height:44px}
	.asg-social .fa{margin-top:7px}
	.asg-social-pinterest,.asg-social-print{display:none}

	/* 3. reading comfort: 17px / 1.95, no fake italic on Arabic */
	.asg-entry{font-size:17px;line-height:1.95;letter-spacing:0;color:#1f1f1f}
	.asg-entry p{margin:0 0 1.1em}
	.asg-entry em,.asg-entry i{font-style:normal}
	.asg-entry h1{font-size:26px;line-height:1.5}
	.asg-entry h2{font-size:23px;line-height:1.5}
	.asg-entry h3{font-size:20px;line-height:1.55}
	.asg-entry h4{font-size:18px;line-height:1.6}
	.asg-entry blockquote{margin:36px 0 24px;padding:46px 18px 24px;border-radius:10px;font-size:17px;line-height:1.9}
	.asg-entry blockquote::before{width:60px;height:60px;margin:-24px 0 0 -30px;font-size:22px;line-height:66px}
	.asg-entry table{display:block;overflow-x:auto}
	.asg-entry .alignright,.asg-entry .alignleft{float:none;display:block;margin:12px auto}

	/* related: exact 16:9 thumbs, roomier titles */
	.asg-related{padding:18px 16px;border-radius:10px}
	.asg-sh{margin-bottom:20px}
	.asg-sh::after{opacity:.18;height:1px}
	.asg-h-text{font-size:22px;line-height:30px;padding:2px 12px 2px 14px;border-right:4px solid #1587cc}
	.asg-related-img{padding-top:56.25%;border-radius:6px}
	.asg-related-title{font-size:15px;line-height:1.6}
	.asg-irp-title,.asg-entry .asg-irp-title,.asg-entry p.asg-irp-title{font-size:15px;line-height:1.6}
	.asg-tags-label,.asg-tags a{font-size:12px;line-height:28px;padding:0 12px}
}

/* full sheikh name in the meta row (no truncation) */
.asg-author-name{max-width:none;white-space:normal;overflow:visible}
