/*!
Theme Name: Padra
Theme URI: http://padra.com/
Author: Mr.Alidoosti
Author URI: https://mr-alidoosti.ir
Description: Padra website template
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 8.1
Text Domain: padra
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
@font-face {
  font-family: "helvetica";
  font-style: normal;
  font-stretch: normal;
  font-display: swap;
  src:
    url("assets/fonts/helvetica/helvetica.woff2") format("woff2"),
    url("assets/fonts/helvetica/helvetica.woff") format("woff");
}

@font-face {
  font-family: "canela";
  font-style: normal;
  font-weight: 300;
  src:
    url("assets/fonts/canela/canela.woff2") format("woff2"),
    url("assets/fonts/canela/canela.woff") format("woff");
}

body,
button,
input,
select,
optgroup,
textarea {
  color: #4d4c4b;
  font-family: helvetica;
  font-weight: 300;
  font-style: Light;
  font-size: 16px;
  line-height: 20.4px;
  letter-spacing: 0%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: canela;
  font-weight: 300;
  font-style: Light;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li>ul,
li>ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #4169e1;
}

a:visited {
  color: #800080;
}

a:hover,
a:focus,
a:active {
  color: #191970;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */

/* Main navigation styles live in the "Site Header" section below. */

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0 0 1.5em;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

svg.svg-icon {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50em;
  width: 30px;
  height: 30px;
  padding: 5px;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Site Footer
--------------------------------------------------------------*/
.site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  color: #404040;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5em;
  max-width: 1440px;
  margin: 0 auto;
  padding: 2.5em 1.5em 1.5em;
}

/* Brand column */
.footer-logo img {
  max-width: 220px;
  height: auto;
}

.footer-logo-text a {
  font-size: 2em;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #404040;
  text-decoration: none;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 1.5em 0 1em;
  color: #404040;
}

.footer-icon-pin {
  color: #e8853b;
  flex-shrink: 0;
}

.footer-about {
  margin: 0;
  color: #757575;
  line-height: 1.7;
}

/* Link columns (mobile accordion via <details>) */
.footer-col {
  border-bottom: 1px solid #f2f2f2;
  padding-bottom: 1em;
}

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 0.75em;
  cursor: pointer;
  list-style: none;
  font-size: 1.0625em;
  font-weight: 600;
  color: #333;
  padding: 0.5em 0;
}

.footer-col-title::-webkit-details-marker {
  display: none;
}

.footer-col-title::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.footer-col[open]>.footer-col-title::before {
  transform: rotate(135deg);
}

.footer-menu {
  list-style: none;
  margin: 0.5em 0 0;
  padding: 0;
}

.footer-menu li {
  margin: 0 0 1em;
}

.footer-menu a,
.footer-contact-value a {
  color: #757575;
  text-decoration: none;
}

.footer-menu a:hover,
.footer-menu a:focus,
.footer-contact-value a:hover,
.footer-contact-value a:focus {
  color: #e8853b;
}

/* Contact column */
.footer-contact-body {
  margin-top: 0.5em;
}

.footer-contact-label {
  font-size: 1em;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.5em;
}

.footer-contact-value {
  color: #757575;
  margin: 0 0 1.5em;
  line-height: 1.6;
}

.footer-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1em 3em;
}

.footer-social {
  display: flex;
  gap: 0.75em;
  margin-top: 0.5em;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f2f2f2;
  color: #404040;
}

/* Copyright bar */
.site-footer .site-info {
  border-top: 1px solid #eee;
  text-align: center;
  padding: 1.25em 1.5em;
  color: #404040;
}

/* Desktop: 4 columns, accordions locked open */
@media screen and (min-width: 56.25em) {
  .footer-main {
    grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
    gap: 3em;
    padding: 3.5em 3em 3em;
  }

  .footer-col {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .footer-col-title {
    pointer-events: none;
    padding-top: 0;
  }

  .footer-col-title::before {
    display: none;
  }

  /* Keep column content visible on desktop even if collapsed on mobile first. */
  .footer-col::details-content {
    content-visibility: visible;
  }
}

/*--------------------------------------------------------------
# Site Header
--------------------------------------------------------------*/
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5em;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.75em 1.5em;
}

.site-branding .custom-logo {
  max-height: 48px;
  width: auto;
  display: block;
}

.site-logo-text {
  margin: 0;
}

.site-logo-text a {
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1d1d1d;
  text-decoration: none;
}

/* Navigation ------------------------------------------------- */
.site-header .main-navigation {
  width: auto;
  margin-left: auto;
}

.site-header .menu-toggle {
  background: none;
  border: 0;
  padding: 0.5em;
  color: #1d1d1d;
  cursor: pointer;
  display: flex;
}

.site-header .nav-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Mobile dropdown panel */
.site-header .main-navigation.toggled .nav-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  padding: 0.5em 1.5em 1em;
  z-index: 99999;
}

.site-header .nav-menu a {
  display: block;
  padding: 0.75em 0;
  color: #1d1d1d;
  text-decoration: none;
}

.site-header .nav-menu a:hover,
.site-header .nav-menu a:focus {
  color: #f47b20;
}

.nav-chevron {
  transition: transform 0.2s ease;
  vertical-align: middle;
}

/* Submenu: stacked and indented on mobile */
.site-header .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1em;
}

/* CTA shown as a plain menu item on mobile, hidden on desktop */
.menu-item-cta a {
  font-weight: 600;
  color: #f47b20;
}

/* Header actions --------------------------------------------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75em;
  position: relative;
}

.header-search summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f2eeec;
  color: #1d1d1d;
  cursor: pointer;
}

.header-search summary::-webkit-details-marker {
  display: none;
}

.header-search-panel {
  position: absolute;
  top: calc(100% + 0.75em);
  right: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  padding: 1em;
  min-width: 280px;
  z-index: 99999;
}

.header-lang {
  display: inline-flex;
}

.header-lang summary,
.header-lang-static {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f2eeec;
  color: #1d1d1d;
  font-size: 0.875em;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.header-lang summary::-webkit-details-marker {
  display: none;
}

.header-lang-list {
  list-style: none;
  margin: 0;
  padding: 0.5em;
  position: absolute;
  top: calc(100% + 0.75em);
  right: 100px;
  min-width: 160px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  z-index: 99999;
}

.header-lang-item a {
  display: block;
  padding: 0.6em 0.85em;
  border-radius: 6px;
  color: #2f2e2d;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.header-lang-item a:hover,
.header-lang-item a:focus {
  background: #f7f4ee;
  color: #f47b20;
}

.header-lang-item.is-current a {
  color: #f47b20;
  font-weight: 600;
}

html[dir="rtl"] .header-lang-list {
  right: auto;
  left: 100px;
}

.header-cta {
  display: inline-block;
  background: #f47b20;
  color: #fff;
  padding: 0.9em 1.75em;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus {
  background: #d96a15;
  color: #fff;
}

/* Mobile: logo left, hamburger right, actions hidden */
@media screen and (max-width: 63.99em) {
  .site-header {
    position: relative;
  }

  .site-header .menu-toggle,
  .site-header .main-navigation.toggled .nav-menu {
    display: flex;
  }

  .site-header .main-navigation.toggled .nav-menu {
    display: block;
  }

  .header-actions {
    display: none;
  }
}

/* Desktop: full nav row, hamburger hidden */
@media screen and (min-width: 64em) {
  .site-header .menu-toggle {
    display: none;
  }

  .site-header .nav-menu {
    display: flex;
    align-items: center;
    gap: 2em;
  }

  .site-header .nav-menu a {
    padding: 0.5em 0;
  }

  .site-header .main-navigation {
    margin-left: 3em;
    margin-right: auto;
  }

  /* CTA lives in .header-actions on desktop */
  .menu-item-cta {
    display: none;
  }

  /* Dropdown submenu */
  .site-header .menu-item-has-children {
    position: relative;
  }

  .site-header .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -1em;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    padding: 0.5em 0;
    min-width: 240px;
    z-index: 99999;
  }

  .site-header .menu-item-has-children:hover>.sub-menu,
  .site-header .menu-item-has-children:focus-within>.sub-menu,
  .site-header .menu-item-has-children.focus>.sub-menu {
    display: block;
  }

  .site-header .menu-item-has-children:hover>a .nav-chevron {
    transform: rotate(180deg);
  }

  .site-header .sub-menu a {
    padding: 0.6em 1.25em;
  }
}

/*--------------------------------------------------------------
# Blog Detail (single post)
--------------------------------------------------------------*/
.single-post-main {
  background: #f7f4ef;
  padding: 1.5em 1em 0;
}

.single-post-main .blog-detail {
  max-width: 1440px;
  margin: 0 auto;
}

/* Header: breadcrumb + title ---------------------------------- */
.blog-detail-header {
  background: #fffdfa;
  border-radius: 24px;
  padding: 1.75em 1.5em 0.5em;
  margin-bottom: 0.5em;
}

.blog-detail-breadcrumb {
  display: flex;
  gap: 0.5em;
  font-size: 0.8125em;
  color: #a3a09c;
  margin-bottom: 1em;
}

.blog-detail-breadcrumb a {
  color: #a3a09c;
  text-decoration: none;
}

.blog-detail-breadcrumb a:hover,
.blog-detail-breadcrumb a:focus {
  color: #f47b20;
}

.blog-detail-title {
  font-size: 2em;
  line-height: 1.15;
  color: #2f2e2d;
  margin: 0 0 0.75em;
}

/* Two-column layout ------------------------------------------- */
.blog-detail-layout {
  background: #fffdfa;
  border-radius: 24px;
  padding: 1.5em 1.5em 1.5em;
  overflow: hidden;
}

.blog-detail-thumbnail {
  margin: 0 0 1.5em;
}

.blog-detail-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Verified note ----------------------------------------------- */
.blog-detail-verified {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid #efece6;
  margin-bottom: 1.5em;
}

.blog-detail-verified-icon {
  flex-shrink: 0;
  margin-top: 0.1em;
}

.blog-detail-verified-title {
  font-family: helvetica;
  font-size: 1em;
  font-weight: 400;
  color: #2f2e2d;
  margin: 0 0 0.5em;
}

.blog-detail-verified-body p {
  color: #8b8885;
  margin: 0;
  line-height: 1.5;
}

/* Article content --------------------------------------------- */
.blog-detail .entry-content {
  margin: 0;
  color: #6d6a67;
  line-height: 1.6;
}

.blog-detail .entry-content h2,
.blog-detail .entry-content h3 {
  font-family: helvetica;
  font-weight: 400;
  color: #2f2e2d;
  line-height: 1.3;
  margin: 1.75em 0 0.75em;
  scroll-margin-top: 2em;
}

.blog-detail .entry-content h2 {
  font-size: 1.125em;
}

.blog-detail .entry-content h3 {
  font-size: 1em;
}

.blog-detail .entry-content img {
  border-radius: 16px;
}

/* Quote text --------------------------------------------------- */
.blog-detail-quote {
  display: flex;
  gap: 0.75em;
  margin: 2em 0;
  padding: 1.5em;
  background: #f7f4ee;
  border-left: 2px solid #f47b20;
  border-radius: 12px;
}

.blog-detail-quote-mark {
  font-family: canela;
  font-size: 2em;
  line-height: 1;
  color: #b3b0ab;
}

.blog-detail-quote-label {
  color: #2f2e2d;
  margin: 0 0 0.75em;
}

.blog-detail-quote-text {
  color: #4d4c4b;
  line-height: 1.6;
  margin: 0 0 1.25em;
}

.blog-detail-quote-source {
  color: #6d6a67;
  margin: 0;
}

.blog-detail-quote-source a {
  color: #2ac0ce;
  text-decoration: none;
}

/* FAQ ---------------------------------------------------------- */
.blog-detail-faq {
  margin-top: 2em;
}

.blog-detail-faq-title {
  font-family: helvetica;
  font-size: 1.25em;
  font-weight: 400;
  color: #2f2e2d;
  margin: 0 0 0.75em;
}

.blog-detail-faq-item {
  background: #fffdfa;
  border: 1px solid #edeae4;
  border-radius: 12px;
  padding: 1em 1.25em;
  margin-bottom: 0.75em;
}

.blog-detail-faq-question {
  cursor: pointer;
  color: #2f2e2d;
  line-height: 1.5;
}

.blog-detail-faq-answer {
  color: #6d6a67;
  line-height: 1.6;
  padding-top: 0.75em;
}

/* Blog CTA ----------------------------------------------------- */
.blog-detail-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25em;
  margin-top: 2em;
  padding: 1.5em;
  background: #f7f4ee;
  border-radius: 16px;
}

.blog-detail-cta-title {
  font-family: helvetica;
  font-size: 1.25em;
  font-weight: 400;
  color: #2f2e2d;
  margin: 0 0 0.5em;
}

.blog-detail-cta-text {
  color: #6d6a67;
  line-height: 1.6;
  margin: 0;
}

.blog-detail-cta-actions {
  display: flex;
  align-items: center;
  gap: 1em;
}

.blog-detail-cta-button {
  display: inline-block;
  padding: 0.75em 1.5em;
  background: #f47b20;
  color: #fff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}

.blog-detail-cta-phone {
  color: #2f2e2d;
  text-decoration: none;
  direction: ltr;
}

/* Expert box -------------------------------------------------- */
.blog-detail-expert {
  display: flex;
  align-items: flex-start;
  gap: 1.5em;
  margin-top: 2em;
}

@media screen and (max-width: 63.99em) {
  .blog-detail-expert {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 1.25em;

    margin-top: 2em;

    text-align: center;
  }

  .blog-detail-expert-photo {
    width: 90px;
    height: 90px;

    border-radius: 50%;

    object-fit: cover;
  }

  .blog-detail-expert-body {
    width: 100%;
    max-width: 320px;

    text-align: center;
  }

  .blog-detail-expert-title {
    font-size: 1.25rem;

    line-height: 1.4;

    margin: 0 0 0.75em;
  }

  .blog-detail-expert-body p {
    font-size: 16px;

    line-height: 1.7;

    color: #6d6a67;

    margin: 0 auto;
  }
}

.blog-detail-expert-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-detail-expert-title {
  font-family: helvetica;
  font-size: 1.0625em;
  font-weight: 400;
  color: #2f2e2d;
  margin: 0 0 0.75em;
}

.blog-detail-expert-specialty {
  display: block;
  font-size: 0.875em;
  color: #6d6a67;
  margin-top: 0.25em;
}

.blog-detail-expert-title a,
.blog-detail-meta-author a {
  color: inherit;
  text-decoration: none;
}

.blog-detail-expert-title a:hover,
.blog-detail-expert-title a:focus,
.blog-detail-meta-author a:hover,
.blog-detail-meta-author a:focus {
  color: #f47b20;
}

.blog-detail-expert-body p {
  color: #6d6a67;
  line-height: 1.6;
  margin: 0;
}

/* Sidebar ----------------------------------------------------- */
.blog-detail-sidebar {
  margin-top: 2em;
}

.blog-detail-meta {
  background: #fffdfa;
  border: 1px solid #edeae4;
  border-radius: 16px;
  padding: 1.5em;
}

.blog-detail-meta-block {
  margin-bottom: 1.5em;
}

.blog-detail-meta-block:last-child {
  margin-bottom: 0;
}

.blog-detail-meta-label {
  font-family: helvetica;
  font-size: 1em;
  font-weight: 400;
  color: #2f2e2d;
  margin: 0 0 0.5em;
}

.blog-detail-meta-block p {
  color: #6d6a67;
  margin: 0;
}

.blog-detail-meta-specialty {
  font-size: 0.75em;
  color: #a3a09c;
  margin-top: 0.25em;
}

.blog-detail-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.blog-detail-share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4f1ec;
  color: #4d4c4b;
}

.blog-detail-share-link:hover,
.blog-detail-share-link:focus {
  background: #f47b20;
  color: #fff;
}

/* Table of contents ------------------------------------------- */
.blog-detail-toc {
  background: #f4f1ea;
  border-radius: 16px;
  padding: 1.5em 1.25em;
  margin: 0 0 1.5em;
}

.blog-detail-toc-title {
  font-size: 1.375em;
  color: #2f2e2d;
  margin: 0 0 1em;
}

.blog-detail-toc-list {
  list-style: none;
  margin: 0;
  padding: 0 0.75em 0 0;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #f47b20 transparent;
}

.blog-detail-toc-list::-webkit-scrollbar {
  width: 3px;
}

.blog-detail-toc-list::-webkit-scrollbar-thumb {
  background: #f47b20;
  border-radius: 3px;
}

.blog-detail-toc-item {
  margin-bottom: 1em;
}

.blog-detail-toc-item a {
  color: #8b8885;
  text-decoration: none;
}

.blog-detail-toc-item:first-child a {
  color: #2f2e2d;
}

.blog-detail-toc-item a:hover,
.blog-detail-toc-item a:focus {
  color: #f47b20;
}

.blog-detail-toc-level-3 {
  padding-left: 1em;
}

/* Related posts ----------------------------------------------- */
.blog-detail-related {
  display: none;
}

/* Category / sources chips ------------------------------------ */
.blog-detail-terms {
  background: #fffdfa;
  border-radius: 16px;
  padding: 1.5em;
  margin: 1.5em auto 0;
  max-width: 1440px;
}

.blog-detail-terms-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75em 1em;
  margin-bottom: 1em;
}

.blog-detail-terms-row:last-child {
  margin-bottom: 0;
}

.blog-detail-terms-label {
  color: #2f2e2d;
  padding-top: 0.5em;
}

.blog-detail-terms-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
}

.blog-detail-term {
  display: inline-block;
  padding: 0.5em 1.25em;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9375em;
}

.blog-detail-term-category {
  background: #8e8b88;
  color: #fff;
}

.blog-detail-term-category:visited {
  color: #fff;
}

.blog-detail-term-category:hover,
.blog-detail-term-category:focus {
  background: #f47b20;
  color: #fff;
}

.blog-detail-term-source {
  border: 1px solid #e4e0da;
  color: #4d4c4b;
  background: #fff;
}

/* Comments ---------------------------------------------------- */
.blog-detail-comments {
  background: #fffdfa;
  border-radius: 16px;
  padding: 1.5em;
  margin: 1.5em auto 0;
  max-width: 1440px;
}

/* Holds only the cancel-reply link; hidden unless replying */
.blog-detail-reply-title {
  font-family: helvetica;
  font-size: 0.875em;
  margin: 0 0 1em;
}

.blog-detail-reply-title:empty {
  display: none;
}

.blog-detail-reply-title a {
  color: #f47b20;
  text-decoration: none;
}

.blog-detail-comment-opinion {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  border: 1px solid #e4e0da;
  border-radius: 12px;
  background: #fff;
  padding: 1em 1.25em;
  margin-bottom: 1em;
}

.blog-detail-comment-opinion textarea {
  flex: 1;
  border: 0;
  border-radius: 0;
  padding: 0;
  resize: vertical;
  min-height: 120px;
}

.blog-detail-comment-opinion textarea:focus {
  outline: none;
}

/* Star rating: inputs ordered 5..1, row-reverse renders 1..5 */
.blog-detail-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.25em;
}

.blog-detail-rating input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.blog-detail-rating label {
  cursor: pointer;
  font-size: 1.5em;
  line-height: 1;
  color: #e3dccb;
}

.blog-detail-rating label::before {
  content: "\2605";
}

.blog-detail-rating label:hover,
.blog-detail-rating label:hover~label,
.blog-detail-rating input:checked~label {
  color: #d9a441;
}

.blog-detail-rating input:focus-visible+label {
  outline: 2px solid #f47b20;
  outline-offset: 2px;
}

.blog-detail-comment-form .comment-form-email input,
.blog-detail-comment-form .comment-form-author input {
  width: 100%;
  border: 1px solid #e4e0da;
  border-radius: 999px;
  background: #fff;
  padding: 1em 1.5em;
}

.blog-detail-comment-form .form-submit {
  margin: 1.5em 0 0;
}

.blog-detail-comment-form .form-submit button {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  background: #ddc69c;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 1em 1.75em;
  cursor: pointer;
}

.blog-detail-comment-form .form-submit button:hover,
.blog-detail-comment-form .form-submit button:focus {
  background: #f47b20;
}

.blog-detail-comment-list {
  list-style: none;
  margin: 2em 0 0;
  padding: 1.5em 0 0;
  border-top: 1px solid #efece6;
}

.blog-detail-comment {
  margin-bottom: 1.5em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid #efece6;
}

.blog-detail-comment:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.blog-detail-comment .children {
  list-style: none;
  margin: 1.5em 0 0 2em;
  padding: 0;
}

.blog-detail-comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  flex-wrap: wrap;
  margin-bottom: 1em;
}

.blog-detail-comment-author {
  display: flex;
  align-items: center;
  gap: 0.75em;
}

.blog-detail-comment-author .avatar {
  border-radius: 50%;
}

.blog-detail-comment-name {
  color: #2f2e2d;
}

.blog-detail-comment-meta {
  display: flex;
  align-items: center;
  gap: 0.75em;
  color: #8b8885;
}

.blog-detail-comment-rating {
  display: flex;
  align-items: center;
  gap: 0.35em;
  padding-left: 0.75em;
  border-left: 1px solid #e4e0da;
}

.blog-detail-comment-content p {
  color: #6d6a67;
  line-height: 1.6;
  margin: 0 0 1em;
}

.blog-detail-comment-content p:last-child {
  margin-bottom: 0;
}

.blog-detail-comment-reply a {
  color: #f47b20;
  text-decoration: none;
  font-size: 0.875em;
}

/* Appointment CTA --------------------------------------------- */
.appointment-cta {
  background: linear-gradient(135deg, #fbdcc6 0%, #fdf0e4 100%);
  margin: 2.5em -1em 0;
  padding: 2.5em 1.5em;
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.appointment-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.appointment-cta-title {
  font-size: 2em;
  color: #2f2e2d;
  margin: 0 0 0.75em;
}

.appointment-cta-text {
  color: #6d6a67;
  line-height: 1.6;
  margin: 0 0 1.5em;
}

.appointment-cta-field {
  margin: 0 0 1em;
  flex: 1;
}

.appointment-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;

  background-image: url("assets/img/footer-pattern.svg.svg");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 100%;

  opacity: 1;

  z-index: 0;
  pointer-events: none;
}

.appointment-cta-form input,
.appointment-cta-form select {
  width: 100%;
  border: 1px solid #e8d9cb;
  border-radius: 999px;
  background: #fff;
  color: #6d6a67;
  padding: 1em 1.5em;
}

.appointment-cta-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236d6a67' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.5em center;
}

.appointment-cta-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  background: #f47b20;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 1em 1.75em;
  cursor: pointer;
  margin-top: 0.5em;
}

.appointment-cta-submit:hover,
.appointment-cta-submit:focus {
  background: #d96a15;
}

/* Mobile: hide desktop TOC, related posts ---------------------- */
@media screen and (max-width: 63.99em) {
  .blog-detail-toc-desktop {
    display: none;
  }
}

/* Desktop ------------------------------------------------------ */
@media screen and (min-width: 64em) {
  .single-post-main {
    padding: 2em 2em 0;
  }

  .blog-detail-header {
    padding: 2.5em 3em 1em;
  }

  .blog-detail-title {
    font-size: 2.5em;
  }

  .blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    padding: 1.5em 1.5em 1.5em;
  }

  .blog-detail-content {
    padding: 0.5em 3em 3em 0;
  }

  .blog-detail-toc-mobile {
    display: none;
  }

  .blog-detail-sidebar {
    margin-top: 0;
    border-left: 1px solid #efece6;
    background: #fdfcf8;
    border-radius: 0 0 24px 0;
    padding: 0.5em 2em 3em;
  }

  .blog-detail-meta {
    background: none;
    border: 0;
    border-bottom: 1px solid #efece6;
    border-radius: 0;
    padding: 0 0 1.5em;
    margin-bottom: 1.5em;
  }

  .blog-detail-toc {
    background: none;
    border-radius: 0;
    padding: 0;
  }

  .blog-detail-related {
    display: block;
    border-top: 1px solid #efece6;
    padding-top: 1.5em;
    margin-top: 1.5em;
  }

  .blog-detail-related-card {
    display: block;
    text-decoration: none;
    margin-bottom: 1.75em;
  }

  .blog-detail-related-card img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.75em;
  }

  .blog-detail-related-date {
    display: block;
    font-size: 0.8125em;
    color: #a3a09c;
    margin-bottom: 0.35em;
  }

  .blog-detail-related-title {
    color: #2f2e2d;
    line-height: 1.4;
  }

  .blog-detail-related-card:hover .blog-detail-related-title,
  .blog-detail-related-card:focus .blog-detail-related-title {
    color: #f47b20;
  }

  .blog-detail-terms,
  .blog-detail-comments {
    padding: 2em 3em;
  }

  /* Opinion box: textarea left, stars top-right */
  .blog-detail-comment-opinion {
    flex-direction: row;
    align-items: flex-start;
  }

  .blog-detail-comment-form .comment-form-email input,
  .blog-detail-comment-form .comment-form-author input {
    padding: 1.1em 1.5em;
  }

  .appointment-cta {
    margin: 3em -2em 0;
    padding: 4em 3em;
  }

  .appointment-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4em;
    align-items: center;
  }

  .appointment-cta-title {
    font-size: 2.5em;
  }

  .appointment-cta-row {
    display: flex;
    gap: 1em;
  }
}

/*--------------------------------------------------------------
# Blog Content Tables
--------------------------------------------------------------*/

.entry-content table {
  width: 100%;

  border-collapse: separate;

  border-spacing: 0;

  border-radius: 12px;

  background: #fff;

  color: rgba(77, 76, 75, 1);

  font-size: 16px;

  line-height: 1.6;

  margin: 2em 0;
}

/*--------------------------------------------------------------
# Table Header
--------------------------------------------------------------*/

.entry-content table thead th,
.entry-content table tbody tr:first-child td:has(b) {
  background: rgba(77, 76, 75, 1);
  color: #fff;
  font-weight: 500;
  padding: 12px 18px;
  border: none;
}

.entry-content table thead th:first-child,
.entry-content table tbody tr:first-child td:has(b):first-child {
  border-top-left-radius: 12px;
}

.entry-content table thead th:last-child,
.entry-content table tbody tr:first-child td:has(b):last-child {
  border-top-right-radius: 12px;
}

/*--------------------------------------------------------------
# Table Body
--------------------------------------------------------------*/

.entry-content table tbody td {
  padding: 8px 12px;

  border-bottom: 1px solid #eee6df;

  background: #fff;

  color: rgba(77, 76, 75, 1);

  vertical-align: middle;
}

.entry-content table tbody tr:last-child td {
  border-bottom: none;
}

.entry-content table td,
.entry-content table th {
  border-left: none;

  border-right: none;
}

/*--------------------------------------------------------------
# RTL
--------------------------------------------------------------*/

html[dir="rtl"] .entry-content table {
  direction: rtl;
}

html[dir="rtl"] .entry-content table td,
html[dir="rtl"] .entry-content table th {
  text-align: right;
}

/*--------------------------------------------------------------
# Mobile Table Scroll
--------------------------------------------------------------*/

@media (max-width: 767px) {
  .entry-content {
    overflow: visible;
  }

  .entry-content table {
    display: block;

    width: 100%;

    max-width: 100%;

    overflow-x: auto;

    white-space: nowrap;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;

    scrollbar-color: rgba(77, 76, 75, 1) transparent;

    padding-bottom: 12px;
  }

  .entry-content table tbody,
  .entry-content table thead {
    display: table;

    width: max-content;

    min-width: 650px;
  }

  .entry-content table td,
  .entry-content table th {
    white-space: normal;

    min-width: 160px;

    padding: 14px 16px;

    font-size: 15px;
  }

  /* Chrome / Edge / Safari */

  .entry-content table::-webkit-scrollbar {
    height: 6px;
  }

  .entry-content table::-webkit-scrollbar-track {
    background: transparent;

    border-radius: 20px;
  }

  .entry-content table::-webkit-scrollbar-thumb {
    background: rgba(77, 76, 75, 1);

    border-radius: 20px;
  }

  .entry-content table::-webkit-scrollbar-thumb:hover {
    background: rgba(77, 76, 75, 0.85);
  }
}

/*--------------------------------------------------------------
# Polylang Direction Support
--------------------------------------------------------------*/

/* Keep the existing English/LTR footer design. */
.site-footer.footer-direction-ltr {
  direction: ltr;
  text-align: left;
}

.site-footer.footer-direction-ltr .footer-main,
.site-footer.footer-direction-ltr .footer-brand,
.site-footer.footer-direction-ltr .footer-col,
.site-footer.footer-direction-ltr .footer-contact-body {
  direction: ltr;
  text-align: left;
}

/* Arabic/RTL footer. */
.site-footer.footer-direction-rtl,
html[dir="rtl"] .site-footer {
  direction: rtl;
  text-align: right;
}

.site-footer.footer-direction-rtl .footer-main,
html[dir="rtl"] .site-footer .footer-main {
  direction: rtl;
}

.site-footer.footer-direction-rtl .footer-brand,
.site-footer.footer-direction-rtl .footer-col,
.site-footer.footer-direction-rtl .footer-contact-body,
html[dir="rtl"] .site-footer .footer-brand,
html[dir="rtl"] .site-footer .footer-col,
html[dir="rtl"] .site-footer .footer-contact-body {
  direction: rtl;
  text-align: right;
}

.site-footer.footer-direction-rtl .footer-location,
.site-footer.footer-direction-rtl .footer-col-title,
.site-footer.footer-direction-rtl .footer-contact-row,
.site-footer.footer-direction-rtl .footer-social,
html[dir="rtl"] .site-footer .footer-location,
html[dir="rtl"] .site-footer .footer-col-title,
html[dir="rtl"] .site-footer .footer-contact-row,
html[dir="rtl"] .site-footer .footer-social {
  direction: rtl;
}

.site-footer.footer-direction-rtl .footer-menu,
html[dir="rtl"] .site-footer .footer-menu {
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
  text-align: right;
}

.site-footer.footer-direction-rtl .footer-col-title::before,
html[dir="rtl"] .site-footer .footer-col-title::before {
  border-right: 0;
  border-left: 2px solid #333;
  transform: rotate(-45deg);
}

.site-footer.footer-direction-rtl .footer-col[open]>.footer-col-title::before,
html[dir="rtl"] .site-footer .footer-col[open]>.footer-col-title::before {
  transform: rotate(-135deg);
}

.site-footer.footer-direction-rtl .footer-contact-value a[href^="tel:"],
.site-footer.footer-direction-rtl .footer-contact-value a[href^="mailto:"],
html[dir="rtl"] .site-footer .footer-contact-value a[href^="tel:"],
html[dir="rtl"] .site-footer .footer-contact-value a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* Header RTL support without changing the current English layout. */
html[dir="rtl"] .site-header {
  direction: rtl;
}

html[dir="rtl"] .header-inner,
html[dir="rtl"] .site-header .nav-menu,
html[dir="rtl"] .header-actions {
  direction: rtl;
}

html[dir="rtl"] .site-header .main-navigation {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .site-header .main-navigation.toggled .nav-menu,
html[dir="rtl"] .site-header .sub-menu {
  text-align: right;
}

html[dir="rtl"] .site-header .sub-menu {
  padding-right: 1em;
  padding-left: 0;
}

html[dir="rtl"] .header-search-panel {
  right: auto;
  left: 0;
  text-align: right;
}

@media screen and (min-width: 64em) {
  html[dir="rtl"] .site-header .main-navigation {
    margin-right: 3em;
    margin-left: auto;
  }

  html[dir="rtl"] .site-header .sub-menu {
    right: -1em;
    left: auto;
    padding: 0.5em 0;
  }

  html[dir="rtl"] .site-header .sub-menu a {
    text-align: right;
  }
}

@media screen and (max-width: 56.24em) {

  .site-footer.footer-direction-rtl .footer-col,
  html[dir="rtl"] .site-footer .footer-col {
    text-align: right;
  }
}

/*--------------------------------------------------------------
# Blog Archive (category / tag / author)
--------------------------------------------------------------*/
.blog-archive-main {
  background: #f7f4ef;
  padding: 1.5em 1em;
}

.blog-archive {
  max-width: 1440px;
  margin: 0 auto;
  background: #fffdfa;
  border-radius: 24px;
  padding: 1.75em 1.5em;
}

/* Header: breadcrumb + title + search ------------------------- */
.blog-archive-header {
  text-align: center;
  margin-bottom: 2em;
}

.blog-archive-breadcrumb {
  justify-content: center;
}

.blog-archive-title {
  font-family: canela;
  font-size: 2.25em;
  font-weight: 400;
  color: #2f2e2d;
  margin: 0 0 0.75em;
}

.blog-archive-search {
  display: flex;
  align-items: center;
  gap: 0.6em;
  max-width: 420px;
  margin: 0 auto;
  padding: 0.7em 1.25em;
  background: #fff;
  border: 1px solid #edeae4;
  border-radius: 999px;
  color: #a3a09c;
}

.blog-archive-search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  color: #2f2e2d;
}

/* Layout: filters + results ----------------------------------- */
.blog-archive-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.blog-archive-filters {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  flex-shrink: 0;
}

.blog-archive-filter {
  display: block;
  width: 100%;
  text-align: start;
  padding: 1em 1.25em;
  background: #f4f1eb;
  color: #2f2e2d;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.blog-archive-filter:hover,
.blog-archive-filter:focus {
  background: #e9e5de;
}

.blog-archive-filter.is-active {
  background: #2f2e2d;
  color: #fff;
}

/* Toolbar: selected filter + sort ------------------------------ */
.blog-archive-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 1.5em;
}

.blog-archive-selected {
  font-family: canela;
  font-size: 1.5em;
  font-weight: 400;
  color: #2f2e2d;
  margin: 0;
}

.blog-archive-sort {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: #a3a09c;
  font-size: 0.875em;
}

.blog-archive-sort-select {
  padding: 0.5em 1em;
  background: #fff;
  border: 1px solid #edeae4;
  border-radius: 999px;
  color: #2f2e2d;
  cursor: pointer;
}

/* Cards grid --------------------------------------------------- */
.blog-archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75em 1.25em;
  transition: opacity 0.2s ease;
}

.blog-archive.is-loading .blog-archive-grid {
  opacity: 0.4;
  pointer-events: none;
}

.blog-archive-card {
  display: block;
  text-decoration: none;
}

.blog-archive-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.75em;
}

.blog-archive-card-date {
  display: block;
  font-size: 0.8125em;
  color: #a3a09c;
  margin-bottom: 0.35em;
}

.blog-archive-card-title {
  color: #2f2e2d;
  line-height: 1.5;
}

.blog-archive-card:hover .blog-archive-card-title,
.blog-archive-card:focus .blog-archive-card-title {
  color: #f47b20;
}

.blog-archive-empty {
  grid-column: 1 / -1;
  color: #6d6a67;
  margin: 0;
}

/* Load more ---------------------------------------------------- */
.blog-archive-more {
  text-align: center;
  margin-top: 2em;
}

.blog-archive-more-button {
  padding: 0.75em 2em;
  background: #fff;
  color: #2f2e2d;
  border: 1px solid #edeae4;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.blog-archive-more-button:hover,
.blog-archive-more-button:focus {
  background: #f4f1eb;
}

/* Desktop ------------------------------------------------------ */
@media screen and (min-width: 64em) {
  .blog-archive {
    padding: 2.5em 3em;
  }

  .blog-archive-layout {
    flex-direction: row;
    gap: 2.5em;
  }

  .blog-archive-filters {
    width: 240px;
  }

  .blog-archive-results {
    flex: 1;
    min-width: 0;
  }

  .blog-archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 40em) and (max-width: 63.99em) {
  .blog-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*--------------------------------------------------------------
# Blog List (Padra Weblog / mag page)
--------------------------------------------------------------*/
.blog-list-main {
  background: #fff;
  padding: 1.5em 1em 3em;
  max-width: 1440px;
  margin: 0 auto;
}

/* Hero slider -------------------------------------------------- */
.blog-list-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin-bottom: 2.5em;
}

.blog-list-hero-track {
  display: flex;
  transition: transform 0.5s ease;
}

.blog-list-hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}

.blog-list-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-list-hero-body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2em 1.5em 3em;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

.blog-list-hero-title {
  font-family: canela;
  font-size: 1.75em;
  font-weight: 400;
  margin: 0 0 0.5em;
  color: #fff;
}

.blog-list-hero-text {
  max-width: 560px;
  line-height: 1.6;
  margin: 0 0 1.25em;
  opacity: 0.9;
}

.blog-list-hero-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 1.5em;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(4px);
}

.blog-list-hero-button:hover,
.blog-list-hero-button:focus {
  background: #f47b20;
  border-color: #f47b20;
}

.blog-list-hero-dots {
  position: absolute;
  bottom: 1em;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5em;
  z-index: 2;
}

.blog-list-hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.blog-list-hero-dot.is-active {
  background: #fff;
}

/* Header + pills toolbar --------------------------------------- */
.blog-list-header {
  margin-bottom: 1.5em;
}

.blog-list-title {
  font-family: canela;
  font-size: 2em;
  font-weight: 400;
  color: #2f2e2d;
  margin: 0;
}

.blog-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 1.5em;
}

.blog-list-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.blog-list-pill {
  padding: 0.5em 1.25em;
  background: #f4f1eb;
  color: #2f2e2d;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.blog-list-pill:hover,
.blog-list-pill:focus {
  background: #e9e5de;
}

.blog-list-pill.is-active {
  background: #2f2e2d;
  color: #fff;
}

/* Cards grid --------------------------------------------------- */
.blog-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75em 1.25em;
  transition: opacity 0.2s ease;
}

.blog-list.is-loading .blog-list-grid {
  opacity: 0.4;
  pointer-events: none;
}

.blog-list-more {
  text-align: center;
  margin-top: 2em;
}

.blog-list-more-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 1.75em;
  background: #fff;
  color: #2f2e2d;
  border: 1px solid #edeae4;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.blog-list-more-button:hover,
.blog-list-more-button:focus {
  background: #f4f1eb;
}

/* Video banner ------------------------------------------------- */
.blog-list-video {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75em;
  margin: 3em 0;
  padding: 2em 1.5em;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.blog-list-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.blog-list-video>* {
  position: relative;
}

.blog-list-video-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  backdrop-filter: blur(4px);
}

.blog-list-video-play:hover,
.blog-list-video-play:focus {
  background: #f47b20;
  border-color: #f47b20;
}

.blog-list-video-title {
  font-family: canela;
  font-size: 2em;
  font-weight: 400;
  color: #fff;
  margin: 0;
}

.blog-list-video-text {
  max-width: 480px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
}

/* Promo cards -------------------------------------------------- */
.blog-list-promos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25em;
  margin: 3em 0;
}

.blog-list-promo {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  background-color: #f4f1eb;
  overflow: hidden;
}

.blog-list-promo-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  width: calc(100% - 2em);
  margin: 1em;
  padding: 1em 1.25em;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  backdrop-filter: blur(6px);
}

.blog-list-promo-title {
  font-family: helvetica;
  font-size: 1.125em;
  font-weight: 400;
  color: #2f2e2d;
  margin: 0 0 0.35em;
}

.blog-list-promo-text {
  font-size: 0.875em;
  color: #6d6a67;
  line-height: 1.5;
  margin: 0;
}

.blog-list-promo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f47b20;
  color: #fff;
}

.blog-list-promo-link:hover,
.blog-list-promo-link:focus {
  background: #2f2e2d;
  color: #fff;
}

/* Favorite topics ---------------------------------------------- */
.blog-list-topics {
  margin: 3em 0 0;
}

.blog-list-topics-heading {
  font-family: canela;
  font-size: 1.75em;
  font-weight: 400;
  text-align: center;
  color: #2f2e2d;
  max-width: 480px;
  margin: 0 auto 1.5em;
}

.blog-list-topics-columns {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.blog-list-topics-title {
  font-family: helvetica;
  font-size: 1.125em;
  font-weight: 400;
  color: #2f2e2d;
  margin: 0 0 1em;
}

.blog-list-topic-card {
  display: flex;
  gap: 1.25em;
  text-decoration: none;
  margin-bottom: 1.5em;
}

.blog-list-topic-card img {
  width: 40%;
  max-width: 220px;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.blog-list-topic-card-excerpt {
  display: block;
  font-size: 0.875em;
  color: #6d6a67;
  line-height: 1.6;
  margin-top: 0.5em;
}

.blog-list-topic-card:hover .blog-archive-card-title,
.blog-list-topic-card:focus .blog-archive-card-title {
  color: #f47b20;
}

.blog-list-topics-side {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.blog-list-topics-right {
  border: 1px solid #edeae4;
  border-radius: 16px;
  padding: 1.25em;
}

.blog-list-topic-row {
  display: flex;
  align-items: center;
  gap: 0.75em;
  text-decoration: none;
  margin-bottom: 1em;
}

.blog-list-topic-row:last-child {
  margin-bottom: 0;
}

.blog-list-topic-row img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.blog-list-topic-row:hover .blog-archive-card-title,
.blog-list-topic-row:focus .blog-archive-card-title {
  color: #f47b20;
}

/* Newsletter box ----------------------------------------------- */
.blog-list-newsletter {
  background: #f4f1eb;
  border-radius: 16px;
  padding: 1.5em;
}

.blog-list-newsletter-title {
  font-family: helvetica;
  font-size: 1.125em;
  font-weight: 400;
  color: #2f2e2d;
  margin: 0 0 0.5em;
}

.blog-list-newsletter-text {
  font-size: 0.875em;
  color: #6d6a67;
  line-height: 1.6;
  margin: 0 0 1em;
}

.blog-list-newsletter-form input {
  width: 100%;
  padding: 0.8em 1.25em;
  background: #fff;
  border: 1px solid #edeae4;
  border-radius: 999px;
  margin-bottom: 0.75em;
  outline: none;
}

.blog-list-newsletter-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  width: 100%;
  padding: 0.8em 1.25em;
  background: #2f2e2d;
  color: #fff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.blog-list-newsletter-button:hover,
.blog-list-newsletter-button:focus {
  background: #f47b20;
}

/* Desktop ------------------------------------------------------ */
@media screen and (min-width: 40em) {
  .blog-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 64em) {
  .blog-list-main {
    padding: 2em 3em 4em;
  }

  .blog-list-hero-slide {
    min-height: 420px;
  }

  .blog-list-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .blog-list-promos {
    grid-template-columns: 1fr 1fr;
  }

  .blog-list-topics-columns {
    flex-direction: row;
    align-items: flex-start;
  }

  .blog-list-topics-left {
    flex: 1.4;
    min-width: 0;
  }

  .blog-list-topics-side {
    flex: 1;
    min-width: 0;
  }
}

/*--------------------------------------------------------------
# FAQ Page
--------------------------------------------------------------*/
.faq-page-main {
  background: #fff;
  padding: 1.5em 1em 3em;
}

.faq-page {
  max-width: 760px;
  margin: 0 auto;
}

.faq-page-header {
  text-align: center;
  margin-bottom: 2em;
}

.faq-page-breadcrumb {
  justify-content: center;
}

.faq-page-title {
  font-family: canela;
  font-size: 2.25em;
  font-weight: 400;
  color: #2f2e2d;
  margin: 0 0 0.75em;
}

.faq-page-search {
  max-width: 420px;
}

/* Filter pills ------------------------------------------------- */
.faq-page-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75em;
  margin-bottom: 2em;
}

.faq-page-filter {
  min-width: 120px;
  padding: 0.65em 1.75em;
  background: #fff;
  color: #2f2e2d;
  border: 1px dashed #d8d4cd;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.faq-page-filter:hover,
.faq-page-filter:focus {
  border-color: #2f2e2d;
}

.faq-page-filter.is-active {
  background: #4d4c4b;
  color: #fff;
  border: 1px solid #4d4c4b;
}

/* Accordion ---------------------------------------------------- */
.faq-page-item {
  background: #fff;
  border: 1px solid #edeae4;
  border-radius: 14px;
  margin-bottom: 1em;
  transition: background 0.2s ease;
}

.faq-page-item[open] {
  background: #f7f4ee;
  border-color: #f7f4ee;
}

.faq-page-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 1.25em 1.5em;
  color: #2f2e2d;
  cursor: pointer;
  list-style: none;
}

.faq-page-question::-webkit-details-marker {
  display: none;
}

/* Plus / minus toggle */
.faq-page-toggle {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.faq-page-toggle::before,
.faq-page-toggle::after {
  content: "";
  position: absolute;
  background: #2f2e2d;
}

.faq-page-toggle::before {
  left: 0;
  right: 0;
  top: 6px;
  height: 2px;
}

.faq-page-toggle::after {
  top: 0;
  bottom: 0;
  left: 6px;
  width: 2px;
}

.faq-page-item[open] .faq-page-toggle::after {
  display: none;
}

.faq-page-answer {
  padding: 0 3em 1.5em 1.5em;
  color: #6d6a67;
  line-height: 1.7;
}

.faq-page-answer>*:first-child {
  margin-top: 0;
}

.faq-page-answer>*:last-child {
  margin-bottom: 0;
}

html[dir="rtl"] .faq-page-answer {
  padding: 0 1.5em 1.5em 3em;
}

.faq-page-empty {
  text-align: center;
  color: #6d6a67;
  margin: 2em 0 0;
}

/* Contact Page ------------------------------------------------- */
.contact-main {
  background: #fff;
}

/* Hero */
.contact-hero {
  position: relative;
  background-color: #2f2e2d;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 3.5em 1.25em 6em;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30, 28, 26, 0.35), rgba(30, 28, 26, 0.15));
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.contact-hero-breadcrumb {
  color: rgba(255, 255, 255, 0.75);
}

.contact-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.contact-hero-breadcrumb a:hover,
.contact-hero-breadcrumb a:focus {
  color: #fff;
}

.contact-hero-title {
  font-family: canela;
  font-weight: 400;
  font-size: 2em;
  line-height: 1.2;
  max-width: 12em;
  margin: 0 0 0.5em;
}

.contact-hero-text {
  max-width: 34em;
  font-size: 0.9375em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Branches section */
.contact-branches {
  max-width: 1180px;
  margin: -3.5em auto 0;
  padding: 2.5em 1.25em 3em;
  background: #fff;
  border-radius: 24px 24px 0 0;
  position: relative;
  z-index: 2;
}

.contact-branches-title {
  font-family: canela;
  font-weight: 400;
  font-size: 1.75em;
  color: #2f2e2d;
  text-align: center;
  margin: 0 0 1.25em;
}

/* Selector: cards (desktop) */
.contact-branch-cards {
  display: none;
  gap: 1em;
  margin-bottom: 2.5em;
}

.contact-branch-card {
  position: relative;
  flex: 1;
  min-height: 150px;
  padding: 1.25em;
  display: flex;
  align-items: flex-end;
  background-color: #ded9d1;
  background-size: cover;
  background-position: center;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
  color: #fff;
}

.contact-branch-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 28, 26, 0.55), rgba(30, 28, 26, 0));
  transition: background 0.2s ease;
}

.contact-branch-card:hover::after,
.contact-branch-card.is-active::after {
  background: linear-gradient(to top, rgba(30, 28, 26, 0.7), rgba(30, 28, 26, 0.15));
}

.contact-branch-card.is-active {
  outline: 2px solid #f47b20;
  outline-offset: 2px;
}

.contact-branch-card-name {
  position: relative;
  z-index: 1;
  font-family: canela;
  font-size: 1.25em;
}

/* Selector: flags (mobile) */
.contact-flags {
  text-align: center;
  margin-bottom: 2em;
}

.contact-flags-label {
  display: block;
  color: #6d6a67;
  margin-bottom: 1em;
}

.contact-flags-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
}

.contact-flag {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: #f7f4ee;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f2e2d;
}

.contact-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-flag.is-active {
  border-color: #f47b20;
}

/* Contact block */
.contact-block[hidden] {
  display: none;
}

.contact-block-heading {
  font-family: canela;
  font-weight: 400;
  font-size: 1.5em;
  color: #2f2e2d;
  text-align: center;
  margin: 0 0 1.25em;
}

/* Slider */
.contact-slider {
  position: relative;
  margin-bottom: 1.5em;
}

.contact-slider-viewport {
  overflow: hidden;
  border-radius: 16px;
}

.contact-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.contact-slide {
  flex: 0 0 100%;
}

.contact-slide img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.contact-slider-nav {
  position: absolute;
  left: 1em;
  bottom: 1em;
  display: flex;
  gap: 0.5em;
}

.contact-slider-prev,
.contact-slider-next {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  color: #2f2e2d;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-slider-prev:hover,
.contact-slider-next:hover,
.contact-slider-prev:focus,
.contact-slider-next:focus {
  background: #fff;
}

/* Body: contact info + map */
.contact-block-body {
  display: grid;
  gap: 1.25em;
}

.contact-info {
  background: #fffdfa;
  border: 1px solid #edeae4;
  border-radius: 16px;
  padding: 1.5em;
}

.contact-info-title {
  font-family: canela;
  font-weight: 400;
  font-size: 1.25em;
  color: #2f2e2d;
  margin: 0 0 1.25em;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  margin-bottom: 1em;
  color: #6d6a67;
  line-height: 1.5;
}

.contact-info-icon {
  flex-shrink: 0;
  margin-top: 0.15em;
  color: #a3a09c;
}

.contact-info-row a {
  color: #6d6a67;
  text-decoration: none;
}

.contact-info-row a:hover,
.contact-info-row a:focus {
  color: #f47b20;
}

.contact-info-social {
  display: flex;
  align-items: center;
  gap: 0.75em;
  margin: 1.25em 0;
}

.contact-info-social-label {
  color: #6d6a67;
}

.contact-info-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f7f4ee;
  color: #4d4c4b;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-info-social a:hover,
.contact-info-social a:focus {
  background: #f47b20;
  color: #fff;
}

.contact-map {
  min-height: 260px;
  border-radius: 16px;
  overflow: hidden;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}

/* Desktop */
@media screen and (min-width: 64em) {
  .contact-hero {
    padding: 4.5em 2em 7em;
  }

  .contact-hero-title {
    font-size: 2.75em;
  }

  .contact-branches {
    padding: 3em 2em 4em;
  }

  .contact-branches-title {
    font-size: 2.25em;
    margin-bottom: 1.5em;
  }

  .contact-branch-cards {
    display: flex;
  }

  .contact-flags {
    display: none;
  }

  .contact-block-heading {
    font-size: 2em;
  }

  .contact-slide img {
    height: 380px;
  }

  .contact-block-body {
    grid-template-columns: 1fr 1fr;
    gap: 1.5em;
  }
}

html[dir="rtl"] .contact-slider-nav {
  left: auto;
  right: 1em;
}

/* About Page --------------------------------------------------- */
.about-main {
  background: #fff;
}

/* Hero */
.about-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background-color: #2f2e2d;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 2em 1.25em;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 28, 26, 0.6), rgba(30, 28, 26, 0.05));
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.about-hero-breadcrumb {
  color: rgba(255, 255, 255, 0.75);
}

.about-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.about-hero-breadcrumb a:hover,
.about-hero-breadcrumb a:focus {
  color: #fff;
}

.about-hero-title {
  font-family: canela;
  font-weight: 400;
  font-size: 2em;
  line-height: 1.15;
  max-width: 9em;
  margin: 0;
}

/* Intro statement */
.about-intro {
  padding: 3em 1.25em;
}

.about-intro-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.about-intro-tags {
  list-style: none;
  margin: 0 0 1.5em;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5em;
}

.about-intro-tag {
  padding: 0.4em 1em;
  font-size: 0.8125em;
  color: #6d6a67;
  background: #f7f4ee;
  border-radius: 999px;
}

.about-intro-tag:nth-child(2n) {
  color: #f47b20;
  background: #fdeee2;
}

.about-intro-text {
  font-family: canela;
  font-size: 1.5em;
  line-height: 1.4;
  color: #2f2e2d;
  margin: 0;
}

/* Destination */
.about-destination {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1em 1.25em 3em;
}

.about-destination-label {
  display: block;
  font-size: 0.8125em;
  color: #a3a09c;
  margin-bottom: 0.75em;
}

.about-destination-title {
  font-family: canela;
  font-weight: 400;
  font-size: 1.75em;
  color: #2f2e2d;
  margin: 0 0 0.75em;
}

.about-destination-text {
  color: #6d6a67;
  line-height: 1.7;
}

.about-slider {
  position: relative;
  margin-top: 2em;
}

.about-slider-viewport {
  overflow: hidden;
  border-radius: 20px;
}

.about-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.about-slide {
  flex: 0 0 100%;
}

.about-slide img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.about-slider-nav {
  position: absolute;
  left: 1em;
  bottom: 1em;
  display: flex;
  gap: 0.5em;
}

.about-slider-prev,
.about-slider-next {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  color: #2f2e2d;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.about-slider-prev:hover,
.about-slider-next:hover,
.about-slider-prev:focus,
.about-slider-next:focus {
  background: #fff;
}

html[dir="rtl"] .about-slider-nav {
  left: auto;
  right: 1em;
}

/* Timeline */
.about-timeline {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2em 1.25em 3em;
}

.about-timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-timeline-item {
  position: relative;
  padding: 0 0 1.75em 1.5em;
  border-left: 1px solid #e4e0d9;
}

.about-timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.3em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f47b20;
}

.about-timeline-item:last-child {
  padding-bottom: 0;
}

.about-timeline-year {
  display: block;
  font-family: canela;
  font-size: 1.5em;
  color: #2f2e2d;
}

.about-timeline-title {
  font-family: helvetica;
  font-size: 1em;
  font-weight: 400;
  color: #2f2e2d;
  margin: 0.25em 0 0.5em;
}

.about-timeline-text {
  color: #8b8885;
  line-height: 1.6;
  margin: 0;
}

html[dir="rtl"] .about-timeline-item {
  border-left: 0;
  border-right: 1px solid #e4e0d9;
  padding: 0 1.5em 1.75em 0;
}

html[dir="rtl"] .about-timeline-item::before {
  left: auto;
  right: -5px;
}

/* Experts */
.about-experts {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2em 1.25em 3em;
}

.about-experts-head {
  margin-bottom: 2em;
}

.about-experts-title {
  font-family: canela;
  font-weight: 400;
  font-size: 1.75em;
  color: #2f2e2d;
  margin: 0 0 0.75em;
}

.about-experts-text {
  color: #6d6a67;
  line-height: 1.7;
  margin: 0;
}

.about-experts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25em;
}

.about-expert-photo {
  border-radius: 14px;
  overflow: hidden;
  background: #ded9d1;
  aspect-ratio: 3 / 4;
}

.about-expert-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.about-expert-name {
  font-family: helvetica;
  font-size: 1em;
  font-weight: 400;
  color: #2f2e2d;
  margin: 0.75em 0 0.25em;
}

.about-expert-role {
  font-size: 0.875em;
  color: #8b8885;
  margin: 0;
}

/* Vision & Mission */
.about-values {
  background: #faf7f2;
  padding: 3em 1.25em;
}

.about-values-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 2em;
}

.about-value-label {
  display: block;
  font-size: 0.75em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a3a09c;
  margin-bottom: 0.75em;
}

.about-value-title {
  font-family: canela;
  font-weight: 400;
  font-size: 1.75em;
  color: #2f2e2d;
  margin: 0 0 0.75em;
}

.about-value-text {
  color: #6d6a67;
  line-height: 1.7;
}

/* Locations */
.about-locations {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3em 1.25em;
}

.about-locations-title {
  font-family: canela;
  font-weight: 400;
  font-size: 1.75em;
  color: #2f2e2d;
  text-align: center;
  margin: 0 0 2em;
}

.about-locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25em;
}

.about-location-card {
  border: 1px solid #edeae4;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.about-location-image {
  height: 150px;
  background-color: #ded9d1;
  background-size: cover;
  background-position: center;
}

.about-location-body {
  padding: 1.25em;
}

.about-location-name {
  font-family: canela;
  font-weight: 400;
  font-size: 1.25em;
  color: #2f2e2d;
  margin: 0 0 0.5em;
}

.about-location-text {
  font-size: 0.875em;
  color: #8b8885;
  line-height: 1.6;
  margin: 0;
}

/* Desktop */
@media screen and (min-width: 40em) {
  .about-experts-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 64em) {
  .about-hero {
    min-height: 460px;
    padding: 3em 2em;
  }

  .about-hero-title {
    font-size: 3em;
  }

  .about-intro {
    padding: 4.5em 1.25em;
  }

  .about-intro-text {
    font-size: 2.25em;
  }

  .about-destination-head {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2em;
    align-items: start;
  }

  .about-slide img {
    height: 460px;
  }

  /* Horizontal timeline */
  .about-timeline-list {
    display: flex;
    border-top: 1px solid #e4e0d9;
    padding-top: 2em;
    margin-top: 1em;
  }

  .about-timeline-item {
    flex: 1;
    border-left: 0;
    padding: 0 1.5em 0 0;
  }

  .about-timeline-item::before {
    left: 0;
    top: -2.45em;
  }

  .about-timeline-item:nth-child(2n) {
    margin-top: 3em;
  }

  html[dir="rtl"] .about-timeline-item {
    border-right: 0;
    padding: 0 0 0 1.5em;
  }

  html[dir="rtl"] .about-timeline-item::before {
    left: auto;
    right: 0;
  }

  .about-experts-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    align-items: end;
  }

  .about-experts-title {
    font-size: 2em;
    margin: 0;
  }

  .about-values-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4em;
  }

  .about-locations-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-locations-title {
    font-size: 2.25em;
  }
}