/* The Morocco Travel Guide extends the approved ivory, burgundy and gold identity. */
.tg-main{--wine:#702d40;--dark:#552231;--gold:#c7a16a;--cream:#fff8ef;--copy:#453a37;padding-bottom:50px}
.tg-wrap{width:min(1280px,calc(100% - 64px));margin-inline:auto}
.tg-main a{text-decoration-thickness:1px;text-underline-offset:4px}
.tg-main :is(h1,h2,h3){color:var(--wine)}
.tg-main .breadcrumbs{padding-block:24px;font-size:13px}
.tg-hero{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:36px;padding:34px 34px 34px 42px;border:1px solid #c7a16a;border-radius:26px;background:#fff6ea;box-shadow:0 10px 35px #702d4008;isolation:isolate;overflow:hidden}
.tg-hero:before{content:'';position:absolute;inset:6px;z-index:-1;border:1px solid #c7a16a70;border-radius:21px;pointer-events:none;background:url('/assets/home-featured/card-corner.svg') left bottom/110px 110px no-repeat}
.tg-main .tg-kicker,.tg-editorial .tg-kicker{display:block;font:700 11px/1.6 Arimo,Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase;color:#702d40;margin:0 0 13px;text-decoration:none}
.tg-hero h1{font-size:clamp(38px,4.4vw,64px);line-height:1.09;margin:17px 0 24px;max-width:650px;text-wrap:balance}
.tg-hero-copy>p:not(.tg-kicker){font-size:17px;line-height:1.9;max-width:610px;margin-bottom:25px}
.tg-rosette{width:180px;height:32px;background:url('/assets/imgs/aisha-moroccan-rosette.webp') center/32px 32px no-repeat;position:relative}
.tg-rosette:before,.tg-rosette:after{content:'';position:absolute;top:50%;width:64px;height:1px;background:linear-gradient(90deg,transparent,#c7a16a)}
.tg-rosette:before{left:0}.tg-rosette:after{right:0;transform:rotate(180deg)}
.tg-hero-image{margin:0;position:relative;padding:7px;border:1px solid #c7a16a;border-radius:46% 46% 14px 14px;overflow:hidden;background:#f4e4cc}
.tg-hero-image img{width:100%;height:520px;object-fit:cover;border-radius:46% 46% 8px 8px}
.tg-hero-image figcaption{position:absolute;bottom:7px;left:7px;right:7px;padding:24px 16px 12px;color:#fff8ef;font-size:11px;line-height:1.5;background:linear-gradient(transparent,#2f1719bb);text-align:center;border-radius:0 0 8px 8px}
.tg-button{display:inline-flex;align-items:center;gap:18px;min-height:48px;border:1px solid #c7a16a;border-radius:6px;padding:12px 20px;background:#702d40;color:#fff8ef!important;font-size:14px;font-weight:700;text-decoration:none;line-height:1.5}
.tg-button:hover{background:#552231}.tg-button-light{background:#fff3e1;color:#702d40!important}.tg-button-light:hover{background:#f2dec1}
.tg-section{margin-top:72px;scroll-margin-top:24px}
.tg-section-heading{max-width:850px;margin:0 auto 30px;text-align:center}
.tg-section-heading h2{font-size:clamp(28px,3vw,41px);margin:0 0 16px}
.tg-section-heading>p:last-child:not(.tg-kicker){font-size:16px;line-height:1.75}
.tg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:stretch}
.tg-grid-four{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.tg-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.tg-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #d1b591;border-radius:18px;background:#fff8ef;box-shadow:0 8px 20px #702d4006}
.tg-card-photo{display:block;aspect-ratio:1.5;overflow:hidden;background:#ead7bc;position:relative}
.tg-card-photo img{width:100%;height:100%;object-fit:cover;transition:transform .25s}
.tg-card:hover .tg-card-photo img{transform:scale(1.025)}
.tg-card-copy{flex:1;display:flex;flex-direction:column;align-items:flex-start;padding:24px 24px 25px;background:url('/assets/home-featured/card-corner.svg') right bottom/64px 64px no-repeat}
.tg-card-copy h3{font-size:25px;line-height:1.22;margin:0 0 15px}
.tg-card-copy h3 a{color:#702d40;text-decoration:none}
.tg-card-copy>p{font-size:14px;line-height:1.75;margin:0 0 22px;color:#453a37}
.tg-card-copy .tg-kicker{font-size:10px;letter-spacing:.1em}
.tg-read{display:inline-flex;align-items:center;gap:18px;font:700 13px/1.5 Arimo,Arial,sans-serif;min-height:44px;margin-top:auto;color:#702d40;text-decoration:none}
.tg-read:hover{text-decoration:underline}
.tg-grid-four .tg-card-copy{padding:21px 19px 22px}.tg-grid-four h3{font-size:23px}
.tg-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.tg-category-card{display:flex;flex-direction:column;border:1px solid #d1b591;border-radius:20px;background:#fff8ef;overflow:hidden;text-decoration:none;box-shadow:0 8px 20px #702d4005}
.tg-category-photo{aspect-ratio:1.8;overflow:hidden;background:#ead7bc}
.tg-category-photo img{width:100%;height:100%;object-fit:cover;transition:transform .25s}
.tg-category-card:hover .tg-category-photo img{transform:scale(1.025)}
.tg-category-copy{padding:23px 25px 24px;flex:1;display:flex;flex-direction:column;align-items:flex-start}
.tg-category-copy h3{font-size:28px;line-height:1.2;margin:0 0 13px}
.tg-category-copy>p:not(.tg-kicker){font-size:14px;line-height:1.8;color:#453a37;margin-bottom:14px}
.tg-category-luxury{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.3fr;border-color:#c7a16a;background:#f5e6d0}
.tg-category-luxury .tg-category-photo{aspect-ratio:auto;min-height:280px;max-height:340px}
.tg-category-luxury .tg-category-copy{padding:32px 42px;justify-content:center;background:url('/assets/home-featured/card-corner.svg') right bottom/115px 115px no-repeat}
.tg-category-luxury h3{font-size:36px}.tg-category-luxury .tg-read{margin-top:0}
.tg-spotlight{display:grid;grid-template-columns:1fr 1fr;margin-top:76px;border:1px solid #c7a16a;border-radius:24px;overflow:hidden;background:#702d40;color:#fff3e1;box-shadow:0 10px 30px #702d4012}
.tg-spotlight-image img{width:100%;height:100%;min-height:560px;object-fit:cover}
.tg-spotlight-copy{padding:45px 46px;align-self:center}
.tg-main .tg-spotlight h2{color:#fff3e1;font-size:clamp(32px,3.4vw,46px);line-height:1.15;margin:22px 0}
.tg-main .tg-spotlight .tg-kicker{color:#eed4ad}
.tg-spotlight p{font-size:16px;line-height:1.85}
.tg-spotlight .tg-button{margin-top:12px}
.tg-topics{margin-top:68px;padding-top:32px;border-top:1px solid #c7a16a70;text-align:center}
.tg-topics h2{font-size:30px}.tg-topic-links{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.tg-topic-links a{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:48px;padding:11px 18px;border:1px solid #c7a16a99;background:#fff8ef;border-radius:7px;color:#702d40;font-size:14px;text-decoration:none}
.tg-topic-links a:hover{background:#f0ddc3}
.tg-feature-single{display:block}.tg-feature-single .tg-card{display:grid;grid-template-columns:1fr 1fr}.tg-feature-single .tg-card-photo{aspect-ratio:auto;min-height:350px}.tg-feature-single .tg-card-copy{padding:38px}.tg-feature-single h3{font-size:34px}.tg-feature-single .tg-card-copy>p{font-size:16px}
.tg-themes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 32px;padding-top:12px}
.tg-themes>div{border-top:1px solid #c7a16a;padding-top:24px}.tg-theme-number{font:500 27px/1 Georgia,serif;color:#a57b43;display:block;margin-bottom:16px}.tg-themes h3{font-size:25px;margin:0 0 13px}.tg-themes p{font-size:15px;line-height:1.85;margin:0}
.tg-editorial-note{margin-top:56px;padding:35px 42px;background:#f6e7d2;border:1px solid #c7a16a80;border-radius:16px;max-width:950px;margin-inline:auto}.tg-editorial-note h2{font-size:29px}.tg-editorial-note p{font-size:15px;line-height:1.85}
.tg-guide-links{padding:35px;border:1px solid #c7a16a80;border-radius:16px;background:#fff8ef;text-align:center}.tg-guide-links nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:24px}.tg-guide-links nav a{padding:14px 18px;border:1px solid #c7a16a90;border-radius:8px;display:flex;justify-content:space-between;text-decoration:none}
.tg-editorial .ab-article .breadcrumbs{font-size:12px;gap:8px;line-height:1.6}.tg-editorial .ab-article .breadcrumbs span:last-child{max-width:100%}
.tg-editorial .tg-source-note{margin:32px 0;padding-top:28px;border-top:1px solid #c7a16a77}.tg-editorial .tg-source-note h2{font-size:29px}.tg-editorial .tg-source-note p:last-child{margin-bottom:0}
.tg-editorial .tg-related{max-width:1100px}.tg-editorial .tg-related .tg-grid{margin:0}.tg-editorial .tg-related .tg-card h3{font-size:25px}.tg-editorial .tg-all{display:block;text-align:center;margin-top:26px;font-weight:700;font-size:14px}
.tg-editorial .ab-prose{overflow-wrap:break-word}.tg-editorial .ab-table-wrap{max-width:100%}.tg-editorial .ab-table-wrap:focus-visible{outline:2px solid #702d40}
@media(max-width:1100px){.tg-hero{gap:25px;padding:28px}.tg-hero h1{font-size:48px}.tg-hero-image img{height:520px}.tg-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}.tg-spotlight-copy{padding:34px}.tg-spotlight-image img{min-height:570px}}
@media(max-width:800px){.tg-wrap{width:calc(100% - 40px)}.tg-hero{grid-template-columns:1fr;padding:27px;gap:30px}.tg-hero h1{font-size:46px}.tg-hero-copy>p:not(.tg-kicker){max-width:none}.tg-hero-image{max-width:600px;width:100%;justify-self:center}.tg-hero-image img{height:430px}.tg-grid,.tg-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tg-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}.tg-category-luxury{grid-template-columns:1fr 1fr}.tg-category-luxury .tg-category-copy{padding:28px}.tg-category-luxury h3{font-size:30px}.tg-themes{grid-template-columns:repeat(2,minmax(0,1fr))}.tg-spotlight{grid-template-columns:1fr}.tg-spotlight-image img{min-height:0;height:350px}.tg-spotlight-copy{padding:34px}.tg-feature-single .tg-card{grid-template-columns:1fr}.tg-feature-single .tg-card-photo{min-height:0;aspect-ratio:1.8}.tg-feature-single .tg-card-copy{padding:28px}}
@media(max-width:560px){.tg-wrap{width:calc(100% - 30px)}.tg-main .breadcrumbs{font-size:12px;padding-block:18px}.tg-hero{padding:24px 22px;border-radius:20px}.tg-hero h1{font-size:38px;line-height:1.14;margin-top:18px}.tg-hero-copy>p:not(.tg-kicker){font-size:16px;line-height:1.8}.tg-hero-image img{height:330px}.tg-hero-image figcaption{font-size:10px}.tg-section{margin-top:48px}.tg-section-heading{margin-bottom:25px}.tg-section-heading h2{font-size:30px}.tg-grid,.tg-category-grid,.tg-grid-four,.tg-grid-two{grid-template-columns:1fr;gap:24px}.tg-category-luxury{display:flex}.tg-category-luxury .tg-category-photo{min-height:0;max-height:none;aspect-ratio:1.8}.tg-category-luxury .tg-category-copy{padding:24px}.tg-category-luxury h3{font-size:29px}.tg-card-copy h3{font-size:27px}.tg-card-copy>p{font-size:15px}.tg-spotlight{margin-top:48px;border-radius:20px}.tg-spotlight-image img{height:290px}.tg-spotlight-copy{padding:30px 25px}.tg-spotlight .tg-button{font-size:13px;width:100%;gap:12px;justify-content:space-between}.tg-themes{grid-template-columns:1fr;gap:25px}.tg-editorial-note{padding:27px 24px}.tg-topics{margin-top:45px}.tg-topic-links{display:grid;grid-template-columns:1fr}.tg-topic-links a{text-align:left}.tg-guide-links{padding:27px 22px}.tg-guide-links nav{grid-template-columns:1fr}.tg-feature-single .tg-card-copy{padding:25px}.tg-feature-single h3{font-size:29px}.tg-main{padding-bottom:35px}.tg-editorial .tg-related .tg-card h3{font-size:26px}}
@media(prefers-reduced-motion:reduce){.tg-main *{transition:none!important;scroll-behavior:auto}}

/* Two-column editorial comparisons remain fully readable on phones. */
.tg-editorial .tg-source-note .ab-table-wrap table{min-width:0;width:100%;table-layout:fixed}.tg-editorial .tg-source-note .ab-table-wrap th:first-child{width:31%}.tg-editorial .tg-source-note .ab-table-wrap th,.tg-editorial .tg-source-note .ab-table-wrap td{overflow-wrap:break-word}
