/* ==========================================================================
   PREP4STEP blog (4.15.34) — «المدونة» page and article pages.
   The document is drawn by SEE_Blog (templates/blog.php): platform header,
   article or index, then the same green footer as the home page.
   ========================================================================== */

body.see-blog-view {
  margin: 0 !important;
  background: #fbf6ec !important;
  color: #13241f;
  overflow-x: hidden;
}

.see-blog {
  --blog-green: #0b5d4a;
  --blog-green-dark: #073d31;
  --blog-gold: #f4b41f;
  --blog-ink: #13241f;
  --blog-muted: #55675f;
  --blog-line: #e9e0cf;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Tajawal, Arial, sans-serif;
  color: var(--blog-ink);
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(244, 180, 31, .08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 30%, rgba(11, 93, 74, .06), transparent 60%),
    #fbf6ec;
}

.see-blog__main { flex: 1 0 auto; width: 100%; }
.see-blog__wrap { padding: 36px 16px 72px; box-sizing: border-box; }
.see-blog__wrap > * { box-sizing: border-box; }
.see-article__body .see-ltr { direction: ltr; unicode-bidi: isolate; white-space: nowrap; display: inline-block; }

/* --- Article -------------------------------------------------------------- */

.see-article {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 38px 44px 44px;
  box-shadow: 0 24px 60px -42px rgba(7, 61, 49, .55), 0 0 0 1px rgba(13, 43, 35, .05);
  box-sizing: border-box;
}

.see-article__crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blog-muted);
}
.see-article__crumbs a { color: var(--blog-green); text-decoration: none; }
.see-article__crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }

.see-article__title {
  margin: 14px 0 8px;
  font-family: Tajawal, Arial, sans-serif;
  font-size: 36px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--blog-green-dark);
  letter-spacing: 0;
}

.see-article__meta {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--blog-muted);
}

.see-article__body {
  font-size: 18px;
  line-height: 1.95;
}
.see-article__body > * { max-width: 100%; }
.see-article__body p { margin: 0 0 16px; }
.see-article__body p,
.see-article__body li { text-align: justify; text-justify: inter-word; hyphens: none; }
.see-article__body h2 {
  margin: 40px 0 12px;
  font-family: Tajawal, Arial, sans-serif;
  font-size: 27px;
  line-height: 1.5;
  font-weight: 800;
  color: var(--blog-green-dark);
}
.see-article__body h3 {
  margin: 28px 0 8px;
  font-family: Tajawal, Arial, sans-serif;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 800;
  color: var(--blog-ink);
}
.see-article__body ul,
.see-article__body ol { margin: 0 0 18px; padding-inline-start: 26px; }
.see-article__body li { margin: 6px 0; padding-inline-start: 4px; }
.see-article__body li::marker { color: var(--blog-green); font-weight: 800; }
.see-article__body a { color: var(--blog-green); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(11, 93, 74, .35); text-underline-offset: 4px; }
.see-article__body a:hover { text-decoration-color: var(--blog-green); }
.see-article__body strong { font-weight: 800; }

.see-article__body .wp-block-image { margin: 24px 0 26px; }
.see-article__body .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 40px -26px rgba(7, 61, 49, .6);
}

.see-article__body .wp-block-table { margin: 8px 0 22px; overflow-x: auto; }
.see-article__body table { width: 100%; border-collapse: collapse; font-size: 16.5px; line-height: 1.7; }
.see-article__body th { background: var(--blog-green-dark); color: #fff; font-weight: 800; padding: 11px 13px; text-align: right; vertical-align: top; border: 0; }
.see-article__body td { padding: 11px 13px; border: 0; border-bottom: 1px solid var(--blog-line); text-align: right; vertical-align: top; }
.see-article__body tr:nth-child(even) td { background: #faf6ee; }
.see-article__body .unis td:first-child { font-weight: 800; min-width: 150px; }
.see-article__body .unis td:last-child { font-weight: 700; color: var(--blog-green-dark); }

/* Boxes: official registration link, tips, calls to action, sources. */
.see-article__body .see-box { border-radius: 18px; padding: 18px 22px; margin: 22px 0 26px; }
.see-article__body .see-box p:last-child,
.see-article__body .see-box ul:last-child { margin-bottom: 0; }
.see-article__body .see-box__title { font-weight: 800; font-size: 21px; text-align: right; margin-bottom: 8px; }
.see-article__body .see-box__action { text-align: right; }
.see-article__body .see-box__button {
  display: inline-block;
  margin-top: 4px;
  padding: 11px 22px 9px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffdc7c, #f4b41f 60%, #e49f12);
  color: #1a1200 !important;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 10px 24px -10px rgba(228, 159, 18, .7);
}
.see-article__body .see-box__button:hover { filter: brightness(1.04); }

.see-article__body .see-box--register { background: linear-gradient(135deg, #073d31, #0b5d4a); color: #f7f4eb; }
.see-article__body .see-box--register .see-box__title { color: var(--blog-gold); }
.see-article__body .see-box--register a:not(.see-box__button) { color: #ffe3a0; }
.see-article__body .see-box--tip { background: #eef6f2; border-inline-start: 5px solid var(--blog-green); }
.see-article__body .see-box--cta { background: #fbf3df; border: 1px solid #efd9a3; }
.see-article__body .see-box--cta .see-box__title { color: var(--blog-green-dark); }
.see-article__body .see-box--end { background: linear-gradient(135deg, #fff7e2, #fbf0d6); border-color: #e9cf8e; }
.see-article__body .see-box--sources { background: #f6f1e6; font-size: 15.5px; }
.see-article__body .see-box--sources .see-box__title { font-size: 17px; }

/* 4.15.35: the article covers the whole page width (owner) — white from edge to edge, text up to 1120px. */
body.see-blog-view--article .see-blog__wrap { padding: 0; }
body.see-blog-view--article .see-blog__main { background: #fff; }
body.see-blog-view--article .see-article {
  max-width: none;
  border-radius: 0;
  box-shadow: none;
  padding: 40px max(28px, calc((100% - 1120px) / 2)) 64px;
}

/* --- «المدونة» page --------------------------------------------------------- */

.see-blog-index { max-width: 1120px; margin: 0 auto; }
.see-blog-index__head h1 {
  margin: 10px 0 26px;
  font-family: Tajawal, Arial, sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--blog-green-dark);
}
.see-blog-index__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.see-post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 22px 50px -38px rgba(7, 61, 49, .6), 0 0 0 1px rgba(13, 43, 35, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.see-post-card:hover { transform: translateY(-3px); box-shadow: 0 28px 60px -36px rgba(7, 61, 49, .7), 0 0 0 1px rgba(11, 93, 74, .18); }
.see-post-card__media { display: block; aspect-ratio: 1200 / 630; background: #062a22; }
.see-post-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.see-post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.see-post-card__meta { font-size: 14px; color: var(--blog-muted); }
.see-post-card__title { margin: 0; font-family: Tajawal, Arial, sans-serif; font-size: 23px; line-height: 1.5; font-weight: 800; color: var(--blog-green-dark); }
.see-post-card__excerpt { font-size: 16px; line-height: 1.8; color: #34463f; }
.see-post-card__more { margin-top: 4px; font-weight: 800; color: var(--blog-green); }

/* Every article is a wide card (4.15.37): no empty half-rows, however many articles there are. */
@media (min-width: 761px) {
  .see-blog-index__grid { grid-template-columns: 1fr; }
  .see-post-card { flex-direction: row; align-items: center; }
  .see-post-card .see-post-card__media { flex: 0 0 56%; aspect-ratio: 1200 / 630; align-self: stretch; }
  .see-post-card .see-post-card__media img { object-fit: cover; object-position: center; }
  .see-post-card .see-post-card__body { justify-content: center; padding: 26px 32px; gap: 10px; }
  .see-post-card .see-post-card__title { font-size: 26px; }
  .see-post-card .see-post-card__excerpt { font-size: 17px; }
}

/* --- Phones ------------------------------------------------------------------ */

@media (max-width: 760px) {
  .see-blog__wrap { padding: 16px 12px 44px; }
  .see-article { padding: 24px 18px 28px; border-radius: 18px; }
  body.see-blog-view--article .see-article { padding: 22px 16px 40px; border-radius: 0; }
  .see-article__title { font-size: 27px; }
  .see-article__body { font-size: 17px; }
  .see-article__body h2 { font-size: 22px; margin-top: 32px; }
  .see-article__body h3 { font-size: 19px; }
  .see-article__body table { font-size: 14.5px; }
  .see-article__body th, .see-article__body td { padding: 8px 7px; overflow-wrap: anywhere; }
  .see-article__body .unis td:first-child { min-width: 0; }
  .see-article__body .see-box { padding: 16px 16px; }
  .see-blog-index__head h1 { font-size: 30px; margin-bottom: 18px; }
  .see-blog-index__grid { grid-template-columns: 1fr; gap: 18px; }
  .see-post-card__title { font-size: 20px; }
}

/* --- Brand footer (same as the home page) ------------------------------------ */
/* 4.15.29 — footer: design 4 (owner's pick), one dark-green background from edge to edge */
/* The page leaves 20px under <body>; the footer's green reaches over it instead of the near-black page colour. */
.see-blog .see-footer { direction: rtl; padding: 0 0 20px; margin-bottom: -20px; background: linear-gradient(150deg, #0c4a3d 0%, #06302a 60%, #052520 100%); color: #edf1eb; font-family: Tajawal, Arial, sans-serif; }
.see-blog .see-footer a:focus-visible { outline: 2px solid #e7ba4d; outline-offset: 3px; border-radius: 6px; }
.see-blog .see-footer h2 { margin: 0 0 18px; color: #efd080; font-family: Tajawal, Arial, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 0; }
.see-blog .see-footer__card { width: min(1180px, calc(100% - 48px)); margin-inline: auto; padding: 60px 0 48px; display: grid; grid-template-columns: 1.1fr 1.3fr 1fr auto; gap: 44px; }
.see-blog .see-footer__brand { display: inline-flex; }
.see-blog .see-footer__brand .see-brand { font-size: 28px; }
.see-blog .see-footer__tag { margin: 16px 0 24px; color: #bfd0c9; font-size: 15px; line-height: 1.8; }
.see-blog .see-footer__actions { display: flex; align-items: center; gap: 10px; }
.see-blog .see-footer__cta { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 22px; border-radius: 999px; background: #e7ba4d; color: #06241e; font-size: 15px; font-weight: 800; transition: background-color 200ms ease; }
.see-blog .see-footer__cta:hover { background: #f0c966; color: #06241e; }
.see-blog .see-footer__contact { display: grid; gap: 12px; }
.see-blog .see-footer__contact-link { display: flex; align-items: center; gap: 12px; color: #cfdcd6; font-size: 15px; white-space: nowrap; transition: color 200ms ease; }
.see-blog .see-footer__contact-link:hover { color: #fff; }
.see-blog .see-footer__contact-link bdi { font-family: Arial, sans-serif; font-size: 14px; letter-spacing: 0.01em; }
.see-blog .see-footer__contact-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; transition: transform 200ms ease; }
.see-blog .see-footer__contact-link:hover .see-footer__contact-icon { transform: translateY(-2px); }
.see-blog .see-footer__contact-link--email .see-footer__contact-icon { background: #e7ba4d; color: #06241e; }
.see-blog .see-footer__contact-link--email svg { display: block; width: 20px; height: 20px; }
.see-blog .see-footer__contact-link--youtube .see-footer__contact-icon { background: #fff; }
.see-blog .see-footer__contact-link--youtube svg { display: block; width: 22px; height: 16px; }
.see-blog .see-footer__links { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 12px 28px; }
.see-blog .see-footer__links a { color: #cfdcd6; font-size: 15px; white-space: nowrap; transition: color 200ms ease; }
.see-blog .see-footer__links a:hover { color: #fff; }
.see-blog .see-footer__sect { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 12px 14px; border: 1px solid rgba(239, 208, 128, 0.18); border-radius: 14px; background: rgba(255, 255, 255, 0.04); color: #f4f0e7; font-size: 15px; font-weight: 700; transition: border-color 200ms ease; }
.see-blog .see-footer__sect:last-child { margin-bottom: 0; }
.see-blog .see-footer__sect:hover { border-color: rgba(239, 208, 128, 0.5); color: #fff; }
.see-blog .see-footer__icon { width: 22px; height: 22px; flex: none; color: #efd080; }
.see-blog .see-footer__bottom { width: min(1180px, calc(100% - 48px)); margin-inline: auto; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #9eb4ab; font-size: 12px; }
.see-blog .see-footer__status { display: inline-flex; align-items: center; gap: 8px; }
.see-blog .see-footer__status i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #42d7a4; }
@media (max-width: 1180px) {
  .see-blog .see-footer__card { grid-template-columns: 1fr 1fr; gap: 40px 48px; }
}
@media (max-width: 900px) {
  .see-blog .see-footer__card { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 32px; padding: 44px 0 32px; }
  .see-blog .see-footer__links { gap: 12px 22px; }
  .see-blog .see-footer__links a { font-size: 14px; }
  .see-blog .see-footer__bottom { width: calc(100% - 32px); flex-direction: column; gap: 6px; }
}
.see-blog .see-footer { margin-bottom: 0; }
