/* ==========================================================================
   Corrections from Reem's review, September 2026.

   Kept in one file, loaded after every other stylesheet, so the template's
   own CSS is untouched and this can be applied to the live site as a single
   addition.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. "Issues with word spacing" / "I tried to erase the space but I couldn't"

   reset.css sets `p { text-align: justify !important }` for the whole site.
   Justified text with no hyphenation stretches the spaces between words to
   fill each line, which is the gap she could not delete — it is not in the
   text, it is the alignment. Ragged-right removes it everywhere.
   -------------------------------------------------------------------------- */
p,
.text,
.accordion-text,
.bx-service__item p,
.bx-blog__content .text,
.bx-about__content .text,
.service-details__content p,
.bx-section-head__text {
	text-align: start !important;
}

/* --------------------------------------------------------------------------
   2. "Next to the arrow the words go below the margin (in all 3 sections)"

   The ↗ arrow on each accordion row is positioned at the right edge of the
   row, but the heading and the paragraph were free to run the full width, so
   long lines slid underneath it. Reserving the arrow's width keeps the text
   clear of it — in all three sections, and mirrored for Arabic.
   -------------------------------------------------------------------------- */
.w-choose-content .accordion-item .accordion-button {
	padding-inline-end: 44px;
}

.w-choose-content .accordion-body {
	padding-inline-end: 44px;
}

/* `padding-inline-end` already lands on the correct side in both directions —
   the right in English, the left in Arabic — which is where the arrow sits.
   An .rtl override here would put the space on the wrong side. */

/* --------------------------------------------------------------------------
   3. "Can they be on same line? Psychological assessment?"

   The step title wrapped because each card reserved 100px of empty space on
   its right for the drawn connector line. The line only needs clearance at
   the top, so the padding can come down and the title fits on one line.
   -------------------------------------------------------------------------- */
@media only screen and (min-width: 992px) {
	.padding_process_right {
		padding-right: 40px;
	}

	.padding_process_left {
		padding-left: 40px;
	}

	.w-process-card .process-content .title {
		white-space: nowrap;
	}
}

/* --------------------------------------------------------------------------
   4. "Can they be on same line? Useful links?" and "Not proportional visually"

   The three footer columns were 162px wide with 116px gaps between them, so
   "Useful links" wrapped onto two lines and that column's list started lower
   than the other two. Narrower gaps give each column room for its heading,
   and the lists then line up with each other.
   -------------------------------------------------------------------------- */
@media only screen and (min-width: 992px) {
	.bx-footer__widget-inner {
		gap: 48px;
	}

	.bx-footer__widget .widget-title {
		white-space: nowrap;
	}
}

/* The headings sit on one baseline, so the three lists start together. */
.bx-footer__widget-inner {
	align-items: start;
}

/* --------------------------------------------------------------------------
   5. The logo rendered 0x0 in Firefox

   logo.svg carries only a viewBox (700x200) and footer_logo.svg is 1845x1766,
   and both <img> tags asked for width="100%" height="100%". Those are not
   valid HTML width/height attributes — they take integers — so browsers throw
   them away, leaving an image with no size for the layout to work from.
   Chrome papers over this with its 300px default for such images, which is
   why it looked right there; Firefox resolved it to nothing and the logo
   vanished.

   The images now carry their real dimensions, and these rules set the sizes
   the site was already showing in Chrome: 300px wide in the header (154px
   between 992 and 1280px) and 250px in the footer. The header keeps the
   template's 19px of padding above the logo, so the header does not move.
   -------------------------------------------------------------------------- */
.bx-header__logo img {
	width: 300px;
	height: auto;
	max-width: 100%;
}

@media only screen and (min-width: 992px) and (max-width: 1280px) {
	.bx-header__logo img {
		width: 154px;
	}
}

.bx-footer__logo img {
	width: 250px;
	height: auto;
	max-width: 100%;
}

.mobile-menu-modal .offcanvas-logo img {
	width: 165px;
	height: auto;
	max-width: 100%;
}

/*
 * Phones: 300px is 77% of a small phone's screen and crowds the menu button.
 * The floor is the wordmark — "CLINICAL PSYCHOLOGIST" runs under the name at
 * about a fifth of its size and stops being readable much below 210px. This
 * is the same taper the WordPress build uses, so the two match.
 */
@media only screen and (max-width: 767.98px) {
	.bx-header__logo img {
		width: clamp(210px, 60vw, 300px);
		padding-top: 0;
	}
}

/* --------------------------------------------------------------------------
   6. Approach cards on phones and tablets: same width, same height, content
   aligned to the reading side

   Below 992px the template stacks the three cards as a wrapping flex row
   with no width of their own, so each shrank to its text (351, 262 and 299px
   on a phone). Widening them left the icon and text centred in each card at
   a different position, and the cards' heights still followed their text.

   A one-column grid with `grid-auto-rows: 1fr` makes every row as tall as the
   tallest card. Inside, the content starts at the reading edge — the left in
   English, the right in Arabic, since flex-start follows the direction — and
   the icon sits in a fixed-width slot so all three titles line up.
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 991.98px) {
	.bx-service__wrapper {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		grid-auto-rows: 1fr;
	}

	/*
	 * `:nth-child(n)` matches every card; it is here for specificity. The
	 * template offsets the first and third cards by 52px with rules like
	 * `.rtl .bx-service__item:nth-child(1)`, which outranked a plain class
	 * selector and pushed the first Arabic card's icon 52px out of line.
	 */
	.bx-service__wrapper .bx-service__item:nth-child(n) {
		width: 100%;
		max-width: 100%;
		height: 100%;
		margin-inline: 0;
		justify-content: flex-start;
		text-align: start;
	}

	.bx-service__wrapper .bx-service__item > div:first-child {
		flex: 0 0 68px;
		display: flex;
		justify-content: center;
	}

	.bx-service__wrapper .bx-service__item > div:last-child {
		flex: 1 1 auto;
		min-width: 0;
	}
}

/* --------------------------------------------------------------------------
   7. Footer logo and social icons centred on phones

   Once the footer stacks into one column the logo and the icons sat against
   the left edge with the rest of the width empty. Centred, they read as one
   group.
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 767.98px) {
	.bx-footer__about {
		text-align: center;
	}

	.bx-footer__about .bx-footer__logo {
		display: inline-block;
	}

	.bx-footer__social {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		padding-inline: 0;
	}
}

/* --------------------------------------------------------------------------
   8. Mobile menu close button: the X was not centred in its circle

   The template drew the X with an icon-font glyph inside a 35px circle with
   `padding: 0` and no centring, so the glyph sat on the text baseline — low
   and off to one side. A font glyph never centres exactly, because its box
   includes the font's ascender and descender space. The X is now a drawn
   SVG, centred in the circle with flexbox. It takes the button's colour, so
   the hover state (white on the filled circle) still works.

   Bootstrap also paints its own close icon on .btn-close as a background
   image, which would sit behind ours; that is cleared.
   -------------------------------------------------------------------------- */
.mobile-menu-modal .offcanvas-header .btn-close {
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: none;
	box-sizing: border-box;
	flex: 0 0 auto;
	line-height: 0;
}

.mobile-menu-modal .offcanvas-header .btn-close .rea-close-icon {
	display: block;
	width: 16px;
	height: 16px;
}

/* Keep the header row aligned, so the circle sits level with the logo. */
.mobile-menu-modal .offcanvas-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

/* --------------------------------------------------------------------------
   9. "Reduce the grey in the form of contact us"

   The form panel was a flat #f0f0f0 and the fields had no background of
   their own, so the whole block read as one grey slab. The panel is now a
   faint tint, just enough to set it apart from the page, and the fields are
   white so they read as places to type.
   -------------------------------------------------------------------------- */
.bx-contact__widget {
	background: #f8f9f9;
}

.bx-contact__form .form-group input,
.bx-contact__form .form-group textarea {
	background-color: #fff;
}

/* --------------------------------------------------------------------------
   10. The call-to-action band is gone; the footer carries its artwork

   Reem asked for the "We're here for you / Let's begin together" band to go,
   and for its background to be used by the footer underneath it. The band sat
   directly above the footer on every page, so the two read as one dark block
   already — this keeps the artwork and drops the duplicated invitation.

   The drawing is 1921x634 and the desktop footer is about 1440x450, near
   enough the same proportion for `cover` to show it whole. Once the columns
   stack the footer becomes far taller than it is wide, and `cover` would
   enlarge the head until only an ear was visible, so below 992px the artwork
   is laid across the bottom at its own proportion instead.

   The teal underneath is the template's own footer colour, so the join is
   invisible and the text keeps its contrast if the image fails to load.
   -------------------------------------------------------------------------- */
/* The drawing is on its own layer behind the footer's content, so that its
   top edge can fade out: the source drawing stops abruptly at the top of
   the head, and wherever the face sits inside the footer that flat cut
   showed. The mask is the same size and in the same place as the drawing,
   so the fade always lands on the top of the head. --art-size and
   --art-pos below set both at once. */
.bx-footer {
	--art-img: url("../images/footer-artwork.png?v=2");
	--art-size: cover;
	--art-pos: center;
	position: relative;
	isolation: isolate;
}

/* The artwork is asymmetric — the face reads into the page — so Arabic uses
   the mirrored copy, which is what the call-to-action band did. ?v=2 is the
   version without the two lines on the far side; bump it if the images change. */
.rtl .bx-footer {
	--art-img: url("../images/footer-artwork-rtl.png?v=2");
}

.bx-footer::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: var(--art-img) var(--art-pos) / var(--art-size) no-repeat;
	/* The fade is an SVG the drawing's exact shape (1921x634): a CSS gradient
	   has no proportions of its own, so with a size of `width auto` it would
	   stretch to the footer's full height instead of the drawing's. */
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1921' height='634'%3E%3ClinearGradient id='g' x2='0' y2='1'%3E%3Cstop offset='0' stop-opacity='0'/%3E%3Cstop offset='.22'/%3E%3C/linearGradient%3E%3Crect width='1921' height='634' fill='url(%23g)'/%3E%3C/svg%3E") var(--art-pos) / var(--art-size) no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1921' height='634'%3E%3ClinearGradient id='g' x2='0' y2='1'%3E%3Cstop offset='0' stop-opacity='0'/%3E%3Cstop offset='.22'/%3E%3C/linearGradient%3E%3Crect width='1921' height='634' fill='url(%23g)'/%3E%3C/svg%3E") var(--art-pos) / var(--art-size) no-repeat;
}

/* Every width below stands the face on the black copyright bar rather than
   letting the bar cut off its chin: the bar is 45px tall, 59px on phones,
   81px once its text wraps to two lines below 576px. */

/* Tablets: across the bottom at the drawing's own proportion. */
@media only screen and (max-width: 991.98px) {
	.bx-footer {
		--art-size: 100% auto;
		--art-pos: right 0 bottom 45px;
	}
}

/* Phones: at the screen's width the drawing is only about 130px tall, and
   the face shrank to a small fragment in the corner. The last row of the
   footer has "Useful links" on its own at the reading edge, which leaves the
   opposite bottom corner empty; the face fills that corner at a size that
   reads as a face, beside those links. */
@media only screen and (max-width: 767.98px) {
	.bx-footer {
		--art-size: auto 200px;
		--art-pos: right 0 bottom 59px;
	}

	.rtl .bx-footer {
		--art-pos: left 0 bottom 59px;
	}
}

@media only screen and (max-width: 575.98px) {
	.bx-footer {
		--art-pos: right 0 bottom 81px;
	}

	.rtl .bx-footer {
		--art-pos: left 0 bottom 81px;
	}
}

/* Desktop (992px and up): the whole face, standing on the copyright bar,
   as large as the room beside the links allows.

   `cover` scaled the drawing from the centre, so on narrower desktops the
   face slid under "Useful links", and its chin was always cut off by the
   copyright bar. The size here is the drawing's width (the face is its
   last 28%, 541 of 1921px), worked out from the footer's width (100%) and
   where the link columns end, which the template fixes per breakpoint:

     room beside the links, measured     face may be      image width
     992-1199px  ≈ 0.947 × width − 831   room − 24px  →   336.3% − 3036px
     1200px up   = width − 1068          room − 24px  →   (100% − 1092px) × 3.551

   min() caps the drawing at 450px tall (1364px wide): taller than the
   405px above the copyright bar, so wherever there is room the head runs
   the full height of the footer and its top is cut by the footer's own
   edge. max() is the fallback where the room beside the links is too
   narrow (just above 992 and 1200px): the face then fits below the last
   row of links instead (127 and 153px tall). Arabic mirrors everything,
   but its links leave a different room on the left (≈ 0.952 × width − 796,
   then width − 1027), hence its own numbers. */
@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
	.bx-footer {
		--art-size: max(385px, min(1364px, calc(336.3% - 3036px))) auto;
		--art-pos: right 0 bottom 45px;
	}

	.rtl .bx-footer {
		--art-size: max(385px, min(1364px, calc(338.1% - 2912px))) auto;
		--art-pos: left 0 bottom 45px;
	}
}

@media only screen and (min-width: 1200px) {
	.bx-footer {
		--art-size: max(463px, min(1364px, calc((100% - 1092px) * 3.551))) auto;
		--art-pos: right 0 bottom 45px;
	}

	.rtl .bx-footer {
		--art-size: max(463px, min(1364px, calc((100% - 1051px) * 3.551))) auto;
		--art-pos: left 0 bottom 45px;
	}
}

/* --------------------------------------------------------------------------
   11. The footer link columns start beside the logo

   The template puts the three columns in the second cell of a three-column
   grid and gives them a 632px minimum, so they began past the middle of the
   footer and ran to the right edge — straight over the face in the artwork,
   which is why the drawing had to be dimmed to keep them readable.

   Two columns instead of three: the logo takes what it needs, the links take
   the rest and pack from the reading edge at their own width. They now begin
   just after the logo and finish well before the face, so the artwork can be
   shown at full strength.
   -------------------------------------------------------------------------- */
@media only screen and (min-width: 992px) {
	.bx-footer__main {
		grid-template-columns: minmax(0, auto) minmax(0, 1fr);
		gap: 56px;
	}

	/* The template's 632px floor is what pushed the columns right. */
	.bx-footer__widget-group {
		min-width: 0;
	}

	.bx-footer__widget-inner {
		grid-template-columns: repeat(3, max-content);
		justify-content: start;
	}
}

/* Tablets (768-991px): the footer is two columns of about 330-425px, but
   the same 632px floor kept the link group at 632px, so every page scrolled
   sideways by 92-201px. Side by side there is no room for the logo and
   three link columns at 768px, so the logo sits above the links, as the
   template already does just below 768px, and the links get the full width. */
@media only screen and (min-width: 768px) and (max-width: 991.98px) {
	.bx-footer__main {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 48px;
	}

	.bx-footer__widget-group {
		min-width: 0;
	}

	.bx-footer__widget-inner {
		grid-template-columns: repeat(3, max-content);
		column-gap: 24px;
		justify-content: start;
	}
}

/* --------------------------------------------------------------------------
   12. No rule under the home page section headings

   "Our Approaches" and "Our Services" each sat above a hairline that ran the
   full width of the page. Reem asked for both to go; the 40px of space below
   the heading stays, so the sections keep their rhythm.

   The two headings are styled by different rules — the services section is
   built on the template's blog markup — so both are named here.
   -------------------------------------------------------------------------- */
.bx-service .bx-section-head,
.bx-blog .bx-section-head {
	border-bottom: 0;
}

/* --------------------------------------------------------------------------
   13. One button style on light backgrounds

   The template's default button is the yellow #DEE553 with white text on it —
   about 1.6:1 against each other, well under the 4.5:1 a reader needs, and on
   a white page the button barely separates from it either. The service cards'
   pills had the same pairing. Only the header's appointment button was set up
   differently, in teal with white text, and Reem asked for that one to be the
   style everywhere on white.

   So: teal with white text at rest, and the yellow with the dark teal text on
   hover — the header button's own hover, which keeps the brand yellow in play
   as the active state rather than the resting one.

   Buttons that sit on a dark panel are left alone further down; there the
   yellow is the thing that stands out.
   -------------------------------------------------------------------------- */
.bx-btn,
.bx-blog__meta .category {
	background: var(--bx-secondary-color);
	color: var(--bx-white-color);
	border-color: transparent;
}

.bx-btn:hover,
.bx-btn:focus-visible,
.bx-blog__meta .category:hover,
.bx-blog__meta .category:focus-visible {
	background: var(--bx-primary-color);
	color: var(--bx-title-color);
	border-color: transparent;
}

/*
 * The sidebar card on the approach and service pages is a dark photograph, so
 * its button keeps the yellow — but with the dark teal text it needs, rather
 * than the white it had, which was the same unreadable pairing.
 */
.sidebar-banner__content .bx-btn {
	background: var(--bx-primary-color);
	color: var(--bx-title-color);
}

.sidebar-banner__content .bx-btn:hover,
.sidebar-banner__content .bx-btn:focus-visible {
	background: var(--bx-white-color);
	color: var(--bx-title-color);
}

/* The template also tints the "More About Reem" button's text on its own,
   which left dark teal on the new teal. It follows the shared style now. */
.bx-about__btn .bx-btn {
	color: var(--bx-white-color);
}

.bx-about__btn .bx-btn:hover,
.bx-about__btn .bx-btn:focus-visible {
	color: var(--bx-title-color);
}

/* --------------------------------------------------------------------------
   14. Side padding vanished between 1700 and 1860px ("100% zoom")

   reset.css gives the page containers 50px of side padding only from 1200 to
   1700px. Above 1700px the padding drops to 0 and the template relies on each
   container's max-width to leave a margin, which only happens once the screen
   is wider than that max-width. So on 1701-1760px screens the logo, the hero
   text and the header button sat flush against the screen edges, and up to
   1860px the gap was smaller than the 50px just below it. That is the
   width of a 1920px monitor at 110% scaling, or 2560px at 150%, at 100%
   browser zoom; at 90% zoom the same screen is wider than 1860px, which is
   why it looked right there.

   The 50px padding now continues above 1700px, and each max-width grows by
   the same 100px so the content is exactly as wide as before on large
   screens (box-sizing is border-box, so the padding sits inside it).
   Below 1700px reset.css already gives 50px, and its narrower max-widths
   are left alone there.
   -------------------------------------------------------------------------- */
@media only screen and (min-width: 1700.02px) {
	.bx-container,
	.bx-container-expand,
	.bx-container-xxl {
		padding-left: 50px;
		padding-right: 50px;
	}

	.bx-container        { max-width: 1790px; } /* 1690 + 100 */
	.bx-container-expand { max-width: 1860px; } /* 1760 + 100 */
	.bx-container-xxl    { max-width: 1670px; } /* 1570 + 100 */
}

/* --------------------------------------------------------------------------
   15. Section titles: "Our Approaches", "Our Services", "Contact Us",
       "How It Works"

   The template styles these as a small tag (15px in a pale green or white
   pill). On the home page they are the only heading for their section, and
   they read smaller than the card titles under them (25px). Every one now
   matches the home page's other section heading, the About heading
   ("Clinical Psychologist dedicated to…"), at every width: 30px from
   1200px, 36px from 768 to 1199px, 28px on phones, with no background, on
   every page so they stay consistent. `bg-white` is Bootstrap's and carries
   !important, hence the !important on background.

   The About page's top section has an empty one (its text is commented out
   in the view); with no pill it would be an invisible gap, so it is hidden.
   -------------------------------------------------------------------------- */
.bx-section-head__label {
	background: none !important;
	padding: 0;
	border-radius: 0;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--bx-title-color);
}

.bx-section-head__label:empty {
	display: none;
}

/* Now that it reads as a heading it needs room before the big title under
   it, the same on every page and width. The About page's "How It Works"
   title sets padding-top inline, which stacked with the template's phone
   margin (27px there against 14px elsewhere), hence the !important. */
.bx-section-head__label + .bx-section-head__title {
	margin-top: 14px;
	padding-top: 0 !important;
}

@media only screen and (min-width: 768px) and (max-width: 1199.98px) {
	.bx-section-head__label {
		font-size: 36px;
	}
}

@media only screen and (max-width: 767.98px) {
	.bx-section-head__label {
		font-size: 28px;
	}
}

/* --------------------------------------------------------------------------
   16. About page: "5+ Years" always inside its circle

   The template expects a big "5+" with a small "Years" beside it, but the
   content is "5+ Years" (Arabic "5 سنوات") in the big title, which wraps
   to two lines. The circle then holds it with fixed top and bottom padding
   (120px on desktop), so the second line ran out of the bottom of the
   circle at most widths. The circle now centres its content, and the text
   size is a share of the circle's own size (cqmin: a percentage of the
   circle's smaller side), so it fits at every breakpoint the template
   sizes the circle for (424, 350, 300 and 250px) and in both languages.
   -------------------------------------------------------------------------- */
.bx-about__circle {
	container-type: size;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.bx-about__circle .title {
	display: block;
	max-width: 80%; /* of the circle: padding % would be of its parent */
	font-size: 23cqmin;
	line-height: 1.05;
	text-align: center;
}

/* The intro under the number is empty in the content ("<br>"); it would
   push the number off centre. Shown again only if it gets real text. */
.bx-about__circle .text {
	margin: 0;
	font-size: 16px;
	line-height: 1.4;
}

/* --------------------------------------------------------------------------
   17. Text centred on phones and tablets when it is not inside a card

   Below 1200px the template centres the home hero, the home About heading
   and the About page's "5+ Years" section, but the paragraphs under them
   stayed left-aligned (section 1 forces `start`, which also undid the
   template's own centring of the About page paragraph). They now follow
   their headings.

   On phones, the remaining text that is not in a card or box is centred
   too: the About page heading and steps, the contact page heading and
   "Get in Touch", and the approach and service pages' content. Text inside
   cards, the accordion, the contact details, the sidebar and the footer
   keeps its alignment.
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 1199.98px) {
	.bx-hero__content .text,
	.bx-about__content .text {
		text-align: center !important;
	}
}

@media only screen and (max-width: 767.98px) {
	.bx-section-head,
	.bx-section-head__title,
	.bx-section-head__text,
	.bx-work-process .text,
	.bx-contact h3,
	.service-details__content h3,
	.service-details__content h4,
	.service-details__content p {
		text-align: center !important;
	}
}

/* --------------------------------------------------------------------------
   18. Footer icons: TikTok, and centred under the logo at every width

   The icon font has no TikTok glyph, so the view draws it as an inline SVG.
   1em ties it to the same font-size as the icons beside it (24px, 20px on
   phones) and it takes their colour, including on hover.
   -------------------------------------------------------------------------- */
.bx-footer__social .rea-social-icon {
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
}

/* Wider screens: the icons are centred under the logo too. A one-column
   grid whose column is as wide as its widest child (the logo) keeps the
   logo where it was, at the start of the footer, and gives the icon row
   exactly the logo's width to centre in. */
@media only screen and (min-width: 768px) {
	.bx-footer__about {
		display: grid;
		grid-template-columns: max-content;
		justify-content: start;
	}

	.bx-footer__social {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		padding-inline: 0;
	}
}

/* --------------------------------------------------------------------------
   19. Home page service cards: the name is the title, "Book Now" the action

   The service name used to be the card's only button, a pill that opened
   the service page. Buttons are kept for actions, so the name is now the
   card's title (still a link to its page) and the button books. The title
   matches the approach card titles above it (CBT/REBT…) at every width.
   -------------------------------------------------------------------------- */
.bx-blog__title {
	margin: 0 0 12px;
	font-size: 25px;
	line-height: 1.3;
	font-weight: 700;
}

.bx-blog__title a {
	color: var(--bx-title-color);
}

.bx-blog__title a:hover,
.bx-blog__title a:focus-visible {
	color: var(--bx-secondary-color);
}

.bx-blog__meta .bx-btn {
	margin-top: 8px;
}

@media only screen and (min-width: 768px) and (max-width: 1199.98px) {
	.bx-blog__title {
		font-size: 32px;
	}
}

@media only screen and (max-width: 767.98px) {
	.bx-blog__title {
		font-size: 18px;
	}
}

/* --------------------------------------------------------------------------
   20. Subpage header band: no taller than the header needs

   The coloured band at the top of every subpage is padded for a page title
   that this site leaves empty, so on tablets and phones it grew to 315px
   and 287px under a 67-105px header: a screen's worth of colour before any
   content. Desktop keeps its 190px; smaller screens now leave the same
   margin of colour below the header as desktop does.
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 991.98px) {
	.bx-bredcrumb {
		padding: 165px 0 0;
	}
}

@media only screen and (max-width: 767.98px) {
	.bx-bredcrumb {
		padding: 125px 0 0;
	}
}

/* --------------------------------------------------------------------------
   21. Contact page details: icons and text aligned

   The phone, address and email rows were inline text with an icon in
   front, so the space after the icon depended on the markup (5px after the
   phone and email icons, none after the address one), and when the address
   wrapped on a phone its second line ran back under the icon. Each row is
   now an icon column and a text column: the same width and 12px gap for
   every icon, each icon centred on the first line of its text, and wrapped
   lines aligned with the text above them (on the right in Arabic).
   -------------------------------------------------------------------------- */
/* Baseline alignment puts each icon on the first line of its text, as the
   inline layout did, whatever the text's size or line height. */
.bx-contact__info .info-list li {
	display: flex;
	align-items: baseline;
	gap: 12px;
}

.bx-contact__info .info-list li i {
	flex: 0 0 22px;
	margin: 0;
	font-size: 20px;
	text-align: center;
}

/* Arabic: the phone and email lists are marked dir="ltr" so the number and
   address read correctly, which put those rows at the left while their
   headings and the address row sit at the right. They keep their reading
   direction but line up on the right, icon outermost like the address. */
.rtl .bx-contact__info .info-list[dir="ltr"] li {
	flex-direction: row-reverse;
	justify-content: flex-start;
}

/* --------------------------------------------------------------------------
   22. WhatsApp chat button, bottom right

   In the corner the back-to-top button used to have (removed in December
   2026): 50px from the bottom and the edge, 5% from the edge below 992px,
   on the right in Arabic too. 56px on desktop screens (1200px and wider),
   46px below that. WhatsApp's own green, so it is recognised at a glance.
   -------------------------------------------------------------------------- */
.rea-whatsapp {
	position: fixed;
	right: 50px;
	bottom: 50px;
	z-index: 99;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rea-whatsapp i {
	display: flex;
	line-height: 1;
}

.rea-whatsapp:hover,
.rea-whatsapp:focus-visible {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
}

.rea-whatsapp:focus-visible {
	outline: 2px solid var(--bx-title-color);
	outline-offset: 3px;
}

@media only screen and (min-width: 1200px) {
	.rea-whatsapp {
		width: 56px;
		height: 56px;
		font-size: 29px;
	}
}

@media only screen and (max-width: 991.98px) {
	.rea-whatsapp {
		right: 5%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rea-whatsapp {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   23. Approach pages: the illustration beside the text

   Each approach now has a portrait illustration. At the content column's
   full width (950px) it would be about 1,300px tall, so it sits at the end
   side of the text instead, the intro and "How … works" flowing around it
   (on the left in Arabic, where the end side is). Tablets give it a little
   less width; on phones it stands centred above the text at a size that
   still leaves the words in view.
   -------------------------------------------------------------------------- */
.service-details__content .service-details__figure {
	float: inline-end;
	width: 40%;
	max-width: 360px;
	height: auto;
	margin-block: 6px 24px;
	margin-inline: 32px 0;
	border-radius: 12px;
}

.service-details__content::after {
	content: "";
	display: block;
	clear: both;
}

@media only screen and (min-width: 768px) and (max-width: 1199.98px) {
	.service-details__content .service-details__figure {
		width: 42%;
		max-width: 300px;
		margin-inline-start: 24px;
	}
}

@media only screen and (max-width: 767.98px) {
	.service-details__content .service-details__figure {
		float: none;
		display: block;
		width: 100%;
		max-width: 320px;
		margin: 0 auto 24px;
	}
}

/* ---------------------------------------------------------------------------
   24. The page you are on: desktop menu and the Approaches / Services sidebar

   layout.blade.php marks the menu link for the current page with
   aria-current="page" (an approach or service page counts as "Approaches" /
   "Services"); approaches.blade.php and services.blade.php mark the one being
   read in the sidebar. Not the template's "active" class: active.js adds and
   removes that while the page scrolls, and dims it to 60%.

   Menu: the hover colour, teal, as Reem's team chose (a bar and then a pill
   behind the word were tried and dropped). The weight does not change, so
   the other items do not move.
   Sidebar: teal and semibold.
   --------------------------------------------------------------------------- */
.bx-header__nav-menu li a[aria-current="page"] {
	opacity: 1;
	color: var(--bx-secondary-color);
}

.sidebar-widget ul li a[aria-current="page"] {
	color: var(--bx-secondary-color);
	font-weight: 600;
}
