/* Editorial travel guide. All content stays visible when JavaScript is off. */
.travel-guide { background: linear-gradient(180deg, #fff 0%, #f3f8f8 100%); }
.travel-guide .section-heading { margin-bottom: 32px; }
.guide-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 22px; align-items: stretch; }
.guide-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 8px 28px #08293b06; transition: box-shadow .3s ease, border-color .3s ease; }
.guide-card-link { display: grid; height: 100%; position: relative; isolation: isolate; }
.guide-image { overflow: hidden; background: #d8e9eb; }
.guide-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.25,1); }
.guide-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 26px; min-width: 0; }
.guide-label { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 11px; font-weight: 700; margin-bottom: 10px; }
.guide-label .icon { width: 16px; height: 16px; }
.guide-copy h3 { font-size: 21px; line-height: 1.65; margin: 0 0 9px; overflow-wrap: anywhere; }
.guide-copy p { color: var(--muted); font-size: 12px; line-height: 1.9; margin: 0 0 18px; }
.guide-read { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; margin-top: auto; color: var(--accent); font-size: 12px; font-weight: 800; }
.guide-arrow { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border: 1px solid #cde0e3; border-radius: 50%; transition: background .25s ease, transform .25s ease; }
.guide-arrow .icon { width: 18px; height: 18px; }
.guide-featured { grid-row: span 2; border: 0; background: var(--navy); }
.guide-featured .guide-card-link { min-height: 488px; }
.guide-featured .guide-image { position: absolute; inset: 0; z-index: -2; }
.guide-featured .guide-card-link::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #08293b08 10%, #08293b9c 48%, #041d2bf5 100%); }
.guide-featured .guide-copy { margin-top: auto; padding: 34px; }
.guide-featured .guide-label { color: #fff; border: 1px solid #ffffff55; background: #08293b65; backdrop-filter: blur(8px); border-radius: 50px; padding: 5px 12px; margin-bottom: 14px; }
.guide-featured h3 { font-size: clamp(25px, 2.3vw, 32px); color: #fff; max-width: 460px; }
.guide-featured p { color: #e1ecf0; max-width: 420px; margin-bottom: 24px; }
.guide-featured .guide-read { color: #fff; border-top: 1px solid #ffffff35; padding-top: 17px; }
.guide-featured .guide-arrow { border-color: #ffffff65; background: #ffffff10; }
.guide-compact .guide-card-link { grid-template-columns: 36% minmax(0, 1fr); }
.guide-compact .guide-copy { padding: 22px 24px; }
.guide-compact .guide-image { min-height: 230px; }
.guide-count-1 { grid-template-columns: 1fr; }
.guide-count-1 .guide-featured .guide-card-link { min-height: 420px; }
.guide-count-2 .guide-featured { grid-row: auto; }
.guide-count-2 .guide-compact .guide-card-link { grid-template-columns: 1fr; grid-template-rows: 220px 1fr; }
.guide-count-2 .guide-compact .guide-image { min-height: 0; }
.guide-note { margin-top: 24px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 24px; font-size: 12px; }
.guide-note > span, .guide-note a { display: inline-flex; align-items: center; gap: 9px; }
.guide-note > span { color: var(--muted); }
.guide-note a { color: var(--accent); font-weight: 800; }
.guide-note .icon { width: 18px; height: 18px; }
.guide-card-link:focus-visible { outline: 3px solid var(--teal); outline-offset: -5px; border-radius: 22px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .guide-card:hover { border-color: #aacbd1; box-shadow: 0 16px 40px #08293b14; }
    .guide-card:hover .guide-image img { transform: scale(1.045); }
    .guide-card:hover .guide-arrow { transform: translateX(-4px); background: #dff1f2; }
    .guide-featured:hover .guide-arrow { background: #ffffff25; }
    .button .icon, .text-link .icon { transition: transform .25s ease; }
    .button:hover .icon, .text-link:hover .icon { transform: translateX(-3px); }
}

/* A short logo entrance, with independent JS and CSS dismissal safeguards. */
.nour-preloader { position: fixed; inset: 0; z-index: 99990; display: grid; place-items: center; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, #eaf7f7 0%, #fff 65%); opacity: 1; visibility: visible; transition: opacity .28s ease, visibility .28s ease; animation: nour-loader-safety .01s 3s forwards; }
.nour-preloader.is-complete { opacity: 0; visibility: hidden; }
.preloader-content { display: flex; flex-direction: column; align-items: center; padding: 24px; }
.preloader-emblem { position: relative; display: grid; place-items: center; width: 250px; height: 250px; margin-bottom: 24px; }
.preloader-emblem::before { content: ''; position: absolute; inset: 0; border: 1px solid #006e7b1c; border-radius: 50%; }
.preloader-emblem::after { content: ''; position: absolute; inset: 14px; border: 1px dashed #006e7b20; border-radius: 50%; }
.preloader-emblem img { width: 174px; height: 132px; object-fit: contain; animation: nour-logo-enter .65s cubic-bezier(.2,.7,.25,1) both; }
.preloader-orbit { position: absolute; inset: 0; border-radius: 50%; animation: nour-orbit 2.4s linear infinite; }
.preloader-orbit > .icon { position: absolute; top: -10px; left: calc(50% - 12px); color: var(--accent); width: 24px; height: 24px; transform: rotate(45deg); background: #f5fbfb; }
.preloader-caption { color: var(--ink); font-size: 13px; font-weight: 650; margin-bottom: 22px; }
.preloader-line { width: 120px; height: 3px; border-radius: 8px; background: #dceced; overflow: hidden; direction: ltr; }
.preloader-line > span { display: block; height: 100%; width: 44%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--teal)); animation: nour-loading 1.15s ease-in-out infinite alternate; }
@keyframes nour-logo-enter { from { opacity: 0; transform: translateY(8px) scale(.93); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes nour-orbit { to { transform: rotate(360deg); } }
@keyframes nour-loading { from { transform: translateX(-110%); } to { transform: translateX(240%); } }
@keyframes nour-loader-safety { to { opacity: 0; visibility: hidden; } }
@media (max-width: 1100px) {
    .guide-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
    .guide-compact .guide-card-link { grid-template-columns: 30% minmax(0, 1fr); }
    .guide-compact .guide-copy { padding: 20px; }
    .guide-copy h3 { font-size: 18px; }
    .guide-featured .guide-copy { padding: 28px; }
    .guide-featured h3 { font-size: 27px; }
}
@media (max-width: 760px) {
    .guide-grid { grid-template-columns: 1fr; gap: 16px; }
    .guide-featured { grid-row: auto; }
    .guide-featured .guide-card-link, .guide-count-1 .guide-featured .guide-card-link { min-height: 410px; }
    .guide-featured .guide-copy { padding: 25px; }
    .guide-featured h3 { font-size: 26px; }
    .guide-compact .guide-card-link, .guide-count-2 .guide-compact .guide-card-link { grid-template-columns: 32% minmax(0, 1fr); grid-template-rows: auto; }
    .guide-compact .guide-image { min-height: 210px; }
    .guide-compact .guide-copy { padding: 18px; }
    .guide-copy p { font-size: 11px; margin-bottom: 14px; }
    .guide-label { font-size: 10px; }
    .guide-note { align-items: center; flex-direction: column; gap: 7px; }
}
@media (max-width: 380px) {
    .guide-compact .guide-card-link, .guide-count-2 .guide-compact .guide-card-link { grid-template-columns: 1fr; }
    .guide-compact .guide-image { height: 160px; min-height: 0; }
    .preloader-emblem { width: 220px; height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
    .nour-preloader { display: none !important; }
    .travel-guide *, .preloader-content * { animation: none !important; transition: none !important; }
}
