/*
Theme Name: Souvenirs SimplyCite Blog
Theme URI: https://blog.simplycite.com/
Author: Solutions Informatiques SimplyCite inc.
Description: Theme WordPress bilingue pour le blogue Souvenirs, inspire du site livelyember-web.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: souvenirs-simplycite-blog
*/

@font-face {
  font-family: "SouvenirsSourceSansBold";
  src: url("https://souvenirs.simplycite.com/fonts/sourcesanspro-bold-webfont.woff2") format("woff2"),
       url("https://souvenirs.simplycite.com/fonts/sourcesanspro-bold-webfont.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "SouvenirsLato";
  src: url("https://souvenirs.simplycite.com/fonts/lato-regular-webfont.woff2") format("woff2"),
       url("https://souvenirs.simplycite.com/fonts/lato-regular-webfont.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "SouvenirsMilkshake";
  src: url("https://souvenirs.simplycite.com/fonts/milkshake-webfont.woff2") format("woff2"),
       url("https://souvenirs.simplycite.com/fonts/milkshake-webfont.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "SouvenirsGentiumBold";
  src: url("https://souvenirs.simplycite.com/fonts/genbkbasb-webfont.woff2") format("woff2"),
       url("https://souvenirs.simplycite.com/fonts/genbkbasb-webfont.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "SouvenirsLatoLight";
  src: url("https://souvenirs.simplycite.com/fonts/lato-light-webfont.woff2") format("woff2"),
       url("https://souvenirs.simplycite.com/fonts/lato-light-webfont.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

:root {
  --souvenirs-blue: #588fa3;
  --souvenirs-blue-dark: #4e7f90;
  --souvenirs-orange: #ff7e2a;
  --souvenirs-ink: #22313f;
  --souvenirs-muted: #627882;
  --souvenirs-paper: #f4f0e8;
  --souvenirs-paper-soft: #fbf8f1;
  --souvenirs-line: rgba(88, 143, 163, 0.22);
  --souvenirs-shadow: 0 24px 70px rgba(30, 57, 69, 0.24);
  --souvenirs-radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #0f1b22;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--souvenirs-ink);
  background:
    radial-gradient(circle at 9% 12%, rgba(255, 126, 42, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 9%, rgba(88, 143, 163, 0.24), transparent 28rem),
    linear-gradient(135deg, rgba(244, 240, 232, 0.94), rgba(247, 250, 250, 0.98)),
    url("https://souvenirs.simplycite.com/images/home/section1_BG.jpg") center / cover fixed;
  font-family: "SouvenirsLato", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58) 42%, rgba(5, 18, 24, 0.25)),
    radial-gradient(circle at 50% 105%, rgba(88, 143, 163, 0.28), transparent 34rem);
  pointer-events: none;
}

a {
  color: var(--souvenirs-blue-dark);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--souvenirs-orange);
}

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

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 18px;
  left: 18px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 16px;
  clip: auto;
  color: #ffffff;
  background: var(--souvenirs-blue-dark);
  border-radius: 999px;
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 72px;
  color: #ffffff;
  background: #588fa3;
  border-bottom: 2px solid #000000;
  box-shadow: 0 5px 10px rgba(85, 85, 85, 0.45);
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 72px;
  gap: 20px;
  padding-left: 430px;
}

.brand {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: min(430px, 44vw);
  height: 72px;
  margin: 0;
  padding: 0;
  color: #ffffff;
}

body.admin-bar .brand {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .brand {
    top: 46px;
  }
}

.brand:hover,
.brand:focus {
  color: #ffffff;
}

.brand__logo {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100px;
  height: 72px;
  margin: 0;
  padding: 0;
  background: url("https://souvenirs.simplycite.com/images/home/headerLogo.png") left center / auto 72px no-repeat;
}

.brand__main {
  position: absolute;
  top: 0;
  left: 100px;
  display: block;
  width: 252px;
  height: 72px;
  margin: 0;
  padding: 0;
  color: #ffffff;
}

.brand__main:hover,
.brand__main:focus {
  color: #ffffff;
}

.brand__title {
  position: absolute;
  top: 10px;
  left: 0;
  margin: 0;
  padding: 0;
  font-family: "SouvenirsGentiumBold", "Georgia", "Times New Roman", serif;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  user-select: none;
}

.brand__blog {
  position: absolute;
  top: 17px;
  left: 360px;
  margin: 0;
  padding: 0;
  color: #ffdecc;
  font-family: "SouvenirsLatoLight", "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(10, 35, 45, 0.35);
}

.brand__blog:hover,
.brand__blog:focus {
  color: #ffffff;
}

.site-nav {
  display: flex;
  align-items: center;
  order: 2;
  height: 56px;
  max-width: 700px;
  color: #dde9ed;
  font-weight: 700;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.15) 100%);
  border-radius: 15px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav li {
  display: inline-flex;
  align-items: center;
  height: 100%;
  margin-right: 15px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  color: #dde9ed;
  font-family: "SouvenirsSourceSansBold", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 56px;
  outline: none;
}

.site-nav a:hover,
.site-nav a:focus {
  color: #ffffff;
  text-decoration: none;
}

.site-nav a.btnLogin {
  height: 30px;
  padding: 0 15px;
  color: #ffffff;
  line-height: 30px;
  background-color: #acc7d1;
  border: 1px solid #ffffff;
  border-radius: 30px;
  text-shadow: 0 1px 2px rgba(10, 35, 45, 0.35);
}

.site-nav a.btnLogin:hover,
.site-nav a.btnLogin:focus {
  color: #588fa3;
  background-color: #ffffff;
  text-shadow: none;
}

.site-nav a.btnHeaderLanguage {
  font-size: 11px;
  font-weight: 400;
}

.site-header__quick-link {
  display: inline-flex;
  order: 3;
  align-items: center;
  gap: 8px;
  height: 70px;
  color: #ffffff;
  font-family: "SouvenirsLato", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.15;
  cursor: pointer;
}

.site-header__quick-link:hover,
.site-header__quick-link:focus {
  color: #dde9ed;
}

.site-header__quick-icon svg {
  display: block;
  width: 28px;
  height: 28px;
  margin-top: 5px;
  fill: currentColor;
}

.site-header__mobile-menu {
  display: none;
}

.site-main {
  padding: 126px 0 70px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 190px);
  text-align: center;
}

.language-card,
.language-options,
.language-option,
.souvenirs-blog-entry__panel {
  display: none !important;
}

.hero::before {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 300px;
  height: 300px;
  content: "";
  background: radial-gradient(circle, rgba(255, 126, 42, 0.22), transparent 68%);
  filter: blur(4px);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin: 0 0 20px;
  border: 1px solid rgba(88, 143, 163, 0.24);
  border-radius: 999px;
  color: var(--souvenirs-blue-dark);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 30px rgba(88, 143, 163, 0.12);
  font-family: "SouvenirsSourceSansBold", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--souvenirs-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 126, 42, 0.14);
}

.hero h1 {
  max-width: 790px;
  margin: 0 0 22px;
  color: var(--souvenirs-ink);
  font-family: "SouvenirsSourceSansBold", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(44px, 6.5vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero h1 .script {
  display: block;
  color: var(--souvenirs-blue-dark);
  font-family: "SouvenirsMilkshake", cursive;
  font-size: 0.62em;
  font-weight: 400;
  letter-spacing: 0;
  transform: rotate(-1.5deg);
}

.hero__lead {
  max-width: 630px;
  margin: 0 auto 34px;
  color: #405863;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "SouvenirsSourceSansBold", "Helvetica Neue", Arial, sans-serif;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #4e7f90, #588fa3);
  box-shadow: 0 18px 38px rgba(78, 127, 144, 0.32);
}

.button--primary:hover,
.button--primary:focus {
  color: #ffffff;
  box-shadow: 0 20px 46px rgba(78, 127, 144, 0.42);
}

.button--ghost {
  border-color: rgba(88, 143, 163, 0.34);
  color: var(--souvenirs-blue-dark);
  background: rgba(255, 255, 255, 0.62);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 54px;
}

.story-list {
  display: grid;
  gap: 16px;
  max-width: 880px;
  margin-top: 42px;
}

.story-list .post-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 14px;
}

.story-list .post-card__image {
  aspect-ratio: 1;
  border-radius: 16px;
}

.story-list .post-card__body {
  display: flex;
  flex-direction: column;
  padding: 2px 6px 2px 0;
}

.story-list .post-card__body > * {
  order: 3;
}

.story-list .post-card h2 {
  order: 1;
  margin-bottom: 8px;
  font-size: 22px;
}

.story-list .post-meta {
  order: 2;
  margin: 0 0 4px;
}

.story-list .post-card__body > p:not(.post-meta) {
  margin: 0;
}

.story-list .post-card p:last-child {
  margin-bottom: 0;
}

.section-heading {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: var(--souvenirs-blue-dark);
  font-family: "SouvenirsMilkshake", cursive;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 400;
}

.post-card,
.content-card {
  overflow: hidden;
  border: 1px solid rgba(88, 143, 163, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(40, 71, 82, 0.12);
}

.post-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(88, 143, 163, 0.45), rgba(255, 126, 42, 0.18)),
    url("https://souvenirs.simplycite.com/images/home/scan_BG.jpg") center / cover;
}

.post-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body,
.content-card {
  padding: 24px;
}

.post-card h2,
.entry-title {
  margin: 0 0 10px;
  color: var(--souvenirs-ink);
  font-family: "SouvenirsSourceSansBold", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.12;
}

.post-card h2 {
  font-size: 24px;
}

.entry-title {
  font-size: clamp(36px, 5vw, 58px);
}

.post-meta {
  color: var(--souvenirs-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-card p,
.entry-content {
  color: #425965;
}

.entry-hero {
  max-width: 850px;
  margin-bottom: 32px;
}

.entry-content {
  max-width: 820px;
  font-size: 18px;
}

.entry-content h2,
.entry-content h3 {
  color: var(--souvenirs-blue-dark);
  font-family: "SouvenirsSourceSansBold", "Helvetica Neue", Arial, sans-serif;
}

.entry-content blockquote {
  margin: 28px 0;
  padding: 8px 0 8px 22px;
  border-left: 4px solid var(--souvenirs-orange);
  color: #263d49;
  font-size: 22px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.pagination .page-numbers {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(88, 143, 163, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.pagination .current {
  color: #ffffff;
  background: var(--souvenirs-blue-dark);
}

.siteFooter {
  padding: 28px 0 0;
  color: #13253d;
  background: linear-gradient(to bottom, #f7fbfd 0%, #eef6f9 100%);
  border-top: 2px solid #588fa3;
}

.siteFooterInner {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  padding: 0 0 34px;
}

.canadaPanel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  margin: 0 0 46px;
  padding: 24px 58px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(41, 75, 94, 0.16);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(21, 44, 52, 0.12);
}

.canadaBrand {
  display: flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
  gap: 18px;
}

.canadaLogo {
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 84px;
  height: 84px;
  padding: 12px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  border: 3px solid #e9555e;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(19, 37, 61, 0.24);
}

.canadaText {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: "SouvenirsSourceSansBold", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.canadaText span {
  font-size: 13px;
  white-space: nowrap;
}

.canadaText strong {
  display: block;
  color: #13253d;
  font-size: 26px;
  white-space: nowrap;
}

.canadaMeta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 100%;
  min-height: 78px;
  padding: 0 28px;
  color: #172a44;
  font-size: 15px;
  text-align: center;
  border-left: 1px solid rgba(19, 37, 61, 0.18);
  border-right: 1px solid rgba(19, 37, 61, 0.18);
  gap: 7px;
}

.canadaLocation {
  font-family: "SouvenirsSourceSansBold", "Helvetica Neue", Arial, sans-serif;
}

.canadaSeparator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(300px, 92%);
  gap: 9px;
}

.canadaSeparator .divider {
  flex: 1 1 auto;
  min-width: 72px;
  height: 2px;
  background: #3a89a2;
}

.footerDot {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: #f1111c;
  border-radius: 50%;
}

.canadaSince {
  color: #2b7f99;
  font-family: "SouvenirsMilkshake", "Brush Script MT", cursive;
  font-size: 28px;
  line-height: 1;
}

.canadaCopy {
  justify-self: end;
  max-width: 330px;
  margin: 0;
  color: #172a44;
  font-size: 15px;
  line-height: 1.55;
}

.footerNav {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 1.35fr 1.15fr 1.35fr;
  gap: 0;
  margin-bottom: 42px;
}

.footerColumn {
  padding: 0 28px;
  border-left: 1px solid rgba(88, 143, 163, 0.28);
}

.footerColumn:first-child {
  padding-left: 0;
  border-left: 0;
}

.footerColumn:last-child {
  padding-right: 0;
}

.footerColumn h2,
.footerEngagement h2 {
  margin: 0 0 22px;
  color: #13253d;
  font-family: "SouvenirsGentiumBold", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
}

.footerColumn h2 i {
  margin-right: 12px;
  color: #3a89a2;
  font-size: 23px;
  line-height: 1;
  vertical-align: -2px;
}

.footerColumn ul,
.socialLinks {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footerColumn li {
  margin: 0 0 18px;
  color: #172a44;
  font-size: 14px;
  line-height: 1.45;
}

.footerColumn:not(.footerContactColumn) li::before {
  display: inline-block;
  margin-right: 12px;
  color: #3a89a2;
  font-family: "SouvenirsSourceSansBold", "Helvetica Neue", Arial, sans-serif;
  content: "\203A";
}

.footerColumn a,
.footerContactList span {
  color: #172a44;
  text-decoration: none;
}

.footerColumn a:hover,
.footerColumn a:focus,
.footerLanguage:hover,
.footerLanguage:focus {
  color: #245f74;
  text-decoration: underline;
}

.footerContactList li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footerContactList li::before {
  content: none;
}

.footerContactList i {
  flex: 0 0 18px;
  color: #2c7d94;
  font-size: 18px;
  line-height: 21px;
  text-align: center;
}

.footerEngagement {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 38px;
  padding: 26px 0;
  border-top: 1px solid rgba(88, 143, 163, 0.45);
  border-bottom: 1px solid rgba(88, 143, 163, 0.45);
}

.footerSocial {
  padding-right: 34px;
  border-right: 1px solid rgba(88, 143, 163, 0.28);
}

.socialLinks {
  display: flex;
  gap: 14px;
}

.socialLinks a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #2c7d94;
  font-size: 19px;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(44, 125, 148, 0.42);
  border-radius: 6px;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.socialLinks a:hover,
.socialLinks a:focus {
  color: #2c7d94;
  text-decoration: none;
  background: rgba(44, 125, 148, 0.1);
  border-color: #2c7d94;
  outline: none;
  transform: translateY(-1px);
}

.footerNewsletter {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(340px, 1.4fr);
  align-items: center;
  gap: 34px;
}

.footerNewsletter p {
  margin: 0;
  color: #172a44;
  font-size: 15px;
  line-height: 1.5;
}

.newsletterForm {
  display: flex;
  min-width: 0;
}

.newsletterForm input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 18px;
  color: #172a44;
  font-size: 14px;
  background: #ffffff;
  border: 1px solid rgba(88, 143, 163, 0.42);
  border-radius: 5px 0 0 5px;
  opacity: 1;
}

.newsletterForm button {
  flex: 0 0 130px;
  height: 44px;
  padding: 0 16px;
  color: #ffffff;
  font-family: "SouvenirsSourceSansBold", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(to bottom, #4b96ad 0%, #2a758b 100%);
  border: 1px solid #2a758b;
  border-radius: 0 5px 5px 0;
  opacity: 1;
}

.footerBottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 34px 0 0;
}

.footerSignature {
  display: flex;
  flex-direction: column;
}

.footerSignature strong {
  color: #13253d;
  font-family: "SouvenirsGentiumBold", Georgia, serif;
  font-size: 25px;
  line-height: 1.1;
}

.footerSignature span {
  color: #2c7d94;
  font-family: Georgia, serif;
  font-size: 16px;
}

.footerCopyright {
  color: #4e5f70;
  font-size: 13px;
  text-align: center;
}

.footerCopyright a {
  color: #4e5f70;
  text-decoration: none;
}

.footerCopyright a:hover,
.footerCopyright a:focus {
  color: #245f74;
  text-decoration: underline;
}

.footerLanguage {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #2c7d94;
  font-family: "SouvenirsSourceSansBold", "Helvetica Neue", Arial, sans-serif;
  gap: 12px;
  text-decoration: none;
}

.footerLanguage i {
  font-size: 24px;
  line-height: 1;
}

@media (prefers-color-scheme: dark) {
  body {
    color: #eef5f7;
    background:
      radial-gradient(circle at 8% 12%, rgba(255, 126, 42, 0.18), transparent 28rem),
      radial-gradient(circle at 88% 9%, rgba(88, 143, 163, 0.22), transparent 28rem),
      linear-gradient(135deg, #0c151b, #13252d),
      url("https://souvenirs.simplycite.com/images/home/section1_BG.jpg") center / cover fixed;
  }

  body::before {
    background:
      linear-gradient(115deg, rgba(8, 18, 24, 0.9), rgba(13, 31, 39, 0.76)),
      radial-gradient(circle at 50% 105%, rgba(88, 143, 163, 0.22), transparent 34rem);
  }

  .site-header,
  .site-footer,
  .post-card,
  .content-card {
    border-color: rgba(88, 143, 163, 0.45);
    background: rgba(8, 16, 21, 0.62);
  }

  .site-header {
    background: #588fa3;
    border-bottom-color: #000000;
  }

  .site-nav a {
    color: #dde9ed;
  }

  .site-nav a:hover,
  .site-nav a:focus {
    color: #ffffff;
  }

  .site-nav a.btnLogin {
    color: #ffffff;
    background-color: #4e7f90;
    border-color: #588fa3;
  }

  .site-nav a.btnLogin:hover,
  .site-nav a.btnLogin:focus {
    color: #ffffff;
    background-color: #5f98ab;
  }

  .brand,
  .hero h1,
  .post-card h2,
  .entry-title {
    color: #ffffff;
  }

  .hero__lead,
  .post-card p,
  .entry-content {
    color: #c8d7dc;
  }

  .eyebrow,
  .button--ghost,
  .pagination .page-numbers {
    background: rgba(0, 0, 0, 0.34);
  }

  a,
  .button--ghost {
    color: #ff7e2a;
  }

  .button--primary,
  .button--primary:hover,
  .button--primary:focus {
    color: #ffffff;
  }

  .siteFooter {
    background: linear-gradient(to bottom, rgba(15, 33, 41, 0.9) 0%, rgba(10, 22, 28, 0.45) 48%, rgba(0, 0, 0, 0) 100%);
  }

  .canadaPanel {
    background: rgba(8, 16, 21, 0.7);
    border-color: rgba(88, 143, 163, 0.45);
  }

  .canadaText strong,
  .footerColumn h2,
  .footerEngagement h2,
  .footerSignature strong {
    color: #ffffff;
  }

  .canadaText,
  .canadaMeta,
  .canadaCopy,
  .footerColumn li,
  .footerContactList span,
  .footerNewsletter p,
  .footerSignature span,
  .footerCopyright {
    color: #c8d7dc;
  }

  .footerColumn a,
  .footerLanguage,
  .footerCopyright a {
    color: #ff7e2a;
  }

  .footerColumn a:hover,
  .footerColumn a:focus,
  .footerLanguage:hover,
  .footerLanguage:focus,
  .footerCopyright a:hover,
  .footerCopyright a:focus {
    color: #ffffff;
  }

  .footerColumn h2 i,
  .footerContactList i,
  .footerLanguage i,
  .socialLinks a {
    color: #ff7e2a;
  }

  .socialLinks a {
    border-color: rgba(255, 126, 42, 0.54);
  }

  .newsletterForm input {
    color: #eef5f7;
    background: rgba(0, 0, 0, 0.34);
    border-color: rgba(88, 143, 163, 0.45);
  }
}

@media (max-width: 1040px) {
  .site-header__inner {
    justify-content: center;
    min-height: 72px;
    padding-left: 0;
  }

  .site-header__quick-link,
  .site-nav {
    display: none;
  }

  .brand {
    position: fixed;
    top: 0;
    left: 0;
    width: 318px;
    max-width: calc(100% - 112px);
  }

  .brand__logo {
    width: 88px;
  }

  .brand__main {
    left: 88px;
    width: 206px;
  }

  .brand__title {
    left: 0;
    font-size: 25px;
  }

  .brand__blog {
    top: 19px;
    left: 300px;
    font-size: 18px;
  }

  .site-header__mobile-menu {
    position: absolute;
    top: 14px;
    right: 0;
    display: block;
  }

  .site-header__mobile-menu summary {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    cursor: pointer;
    list-style: none;
  }

  .site-header__mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .site-header__mobile-menu summary span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 3px 0;
    background: #ffffff;
    border-radius: 999px;
  }

  .site-header__mobile-menu nav {
    position: absolute;
    top: 54px;
    right: 0;
    display: grid;
    min-width: 230px;
    padding: 10px;
    background: rgba(12, 30, 38, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  }

  .site-header__mobile-menu nav a {
    padding: 11px 12px;
    color: #ffffff;
    border-radius: 12px;
  }

  .site-header__mobile-menu nav a:hover,
  .site-header__mobile-menu nav a:focus {
    background: rgba(255, 255, 255, 0.1);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 34px 0 20px;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-list {
    max-width: none;
  }

  .siteFooterInner {
    width: min(100% - 40px, 1180px);
  }

  .canadaPanel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 30px;
    text-align: center;
  }

  .canadaBrand {
    justify-content: center;
    justify-self: center;
    order: 2;
  }

  .canadaMeta {
    min-height: 84px;
    padding: 12px 0;
    border-top: 1px solid rgba(19, 37, 61, 0.14);
    border-bottom: 1px solid rgba(19, 37, 61, 0.14);
    border-left: 0;
    border-right: 0;
    order: 3;
  }

  .canadaCopy {
    justify-self: center;
    max-width: 620px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(19, 37, 61, 0.14);
    order: 1;
  }

  .footerNav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }

  .footerColumn,
  .footerColumn:first-child,
  .footerColumn:last-child {
    padding: 0;
    border-left: 0;
  }

  .footerColumn:nth-child(odd) {
    padding-right: 24px;
  }

  .footerColumn:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid rgba(88, 143, 163, 0.28);
  }

  .footerEngagement,
  .footerNewsletter,
  .footerBottom {
    grid-template-columns: 1fr;
  }

  .footerSocial {
    padding-right: 0;
    border-right: 0;
  }

  .footerBottom,
  .footerCopyright {
    text-align: center;
  }

  .footerSignature,
  .footerLanguage {
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .canadaBrand {
    flex-direction: column;
  }

  .canadaLogo {
    width: 64px;
    height: 64px;
    padding: 9px;
    border-width: 2px;
    box-shadow: 0 6px 16px rgba(19, 37, 61, 0.2);
  }

  .canadaText {
    letter-spacing: 1px;
    text-align: center;
  }

  .canadaMeta {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 24px, 1180px);
  }

  .site-main {
    padding-top: 112px;
  }

  .brand {
    width: 276px;
    max-width: calc(100% - 58px);
  }

  .brand__logo {
    width: 76px;
    background-size: auto 62px;
  }

  .brand__main {
    left: 76px;
    width: 196px;
  }

  .brand__title {
    top: 12px;
    left: 0;
    font-size: 21px;
  }

  .brand__blog {
    top: 41px;
    left: 86px;
    font-size: 18px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .story-list .post-card {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
  }

  .story-list .post-card__image {
    border-radius: 12px;
  }

  .story-list .post-card__body {
    padding: 0;
  }

  .story-list .post-card h2 {
    font-size: 18px;
  }

  .story-list .post-card p {
    font-size: 14px;
    line-height: 1.45;
  }

  .siteFooter {
    padding-top: 20px;
  }

  .siteFooterInner {
    width: min(100% - 28px, 1180px);
    padding-bottom: 28px;
  }

  .canadaPanel {
    margin-bottom: 34px;
    padding: 22px 18px;
  }

  .footerNav {
    grid-template-columns: 1fr;
    row-gap: 28px;
    margin-bottom: 30px;
  }

  .footerColumn:nth-child(odd),
  .footerColumn:nth-child(even) {
    padding: 24px 0 0;
    border-top: 1px solid rgba(88, 143, 163, 0.22);
    border-left: 0;
  }

  .footerColumn:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .footerEngagement {
    gap: 28px;
  }

  .socialLinks {
    flex-wrap: wrap;
  }

  .newsletterForm {
    flex-direction: column;
  }

  .newsletterForm input,
  .newsletterForm button {
    width: 100%;
    border-radius: 5px;
  }

  .newsletterForm button {
    margin-top: 10px;
  }

}
