/* Article styles matched to the existing Best Time to Visit Zanzibar guide. */
body {
font-family: 'Jost', sans-serif;
background: #F6F3EC;
color: #0B2A33;
line-height: 1.75;
overflow-x: clip
}

.btn {
display: inline-block;
padding: .8rem 1.7rem;
background: var(--coral);color:#fff;
border: 0;
border-radius: 100px;
font-size: 15px;
font-weight: 600;
transition: background .2s
}

.btn:hover {
background: var(--coral-dk);color:#fff}

.btn.sm {
padding: .5rem 1.2rem;
font-size: 13.5px
}

.btn.out {
background: transparent;
color: var(--sea);
border: 1.5px solid var(--sea);
padding: .5rem 1.1rem;
font-size: 13.5px
}

.btn.out:hover {
background: var(--sea);
color: #fff
}

.bc {
background: var(--sea);
color: rgba(255, 255, 255, .7);
font-size: 13px
}

.bc ol {
max-width: 1240px;
margin: 0 auto;
padding: .5rem 1.25rem;
display: flex;
gap: .5rem;
flex-wrap: wrap
}

.bc li+li::before {
content: "/";
margin-right: .5rem;
opacity: .5
}

.bc a:hover {
color: #fff
}

.hero {
position: relative;
min-height: clamp(340px, 46vw, 460px);
display: flex;
align-items: flex-end;
background-color: var(--deep)
}

.hero::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(6, 34, 43, .96), rgba(6, 34, 43, .45) 65%, rgba(6, 34, 43, .2))
}

.hero-in {
position: relative;
z-index: 1;
max-width: 900px;
margin: 0 auto;
width: 100%;
padding: 2rem 1.25rem 2.5rem
}

.tag {
display: inline-block;
font-size: 12px;
font-weight: 600;
letter-spacing: .08em;
text-transform: uppercase;
color: #BFE7E3;
margin-bottom: .6rem
}

.hero h1 {
font-family: var(--fd);
font-size: clamp(2rem, 6vw, 3.5rem);
font-weight: 900;
line-height: 1.1;
color: #fff;
letter-spacing: -.02em
}

.meta {
margin-top: .9rem;
color: rgba(255, 255, 255, .75);
font-size: 14px
}

.art {
max-width: 900px;
margin: 0 auto;
padding: 2.5rem 1.25rem 3rem
}

.art h2 {
font-family: var(--fd);
font-size: clamp(1.6rem, 4vw, 2.1rem);
line-height: 1.2;
color: var(--deep);
margin: 2.6rem 0 .8rem
}

.art h3 {
font-family: var(--fd);
font-size: 1.3rem;
color: var(--sea);
margin: 1.6rem 0 .4rem
}

.art p {
margin-bottom: 1rem;
max-width: 72ch
}

.art p a,
.art li a,
.lnk {
color: var(--sea);
font-weight: 600;
text-decoration: underline;
text-underline-offset: 3px
}

.art ul.bul {
margin: 0 0 1rem 0
}

.art ul.bul li {
position: relative;
padding-left: 1.2rem;
margin-bottom: .4rem
}

.art ul.bul li::before {
content: "";
position: absolute;
left: 0;
top: .75em;
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--lagoon)
}

.glance {
background: var(--ivory);
border: 1px solid var(--line);
border-left: 5px solid var(--coral);
border-radius: var(--r);
padding: 1.3rem 1.4rem;
margin: 0 0 2rem
}

.glance h2 {
margin: 0 0 .6rem;
font-size: 1.35rem
}

.glance li {
padding-left: 1.2rem;
position: relative;
margin-bottom: .4rem
}

.glance li::before {
content: "";
position: absolute;
left: 0;
top: .75em;
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--coral);color:#fff}

.toc {
background: var(--foam);
border-radius: var(--r);
padding: 1.2rem 1.4rem;
margin-bottom: 2rem
}

.toc b {
font-family: var(--fd);
font-size: 1.1rem;
display: block;
margin-bottom: .4rem
}

.toc ol {
counter-reset: t;
display: grid;
gap: .2rem
}

.toc li {
counter-increment: t
}

.toc li::before {
content: counter(t) ". ";
color: var(--smoke)
}

.toc a {
color: var(--sea);
font-weight: 500
}

.toc a:hover {
text-decoration: underline
}

figure {
margin: 1.6rem 0
}

figure img {
width: 100%;
height: auto;
border-radius: var(--r)
}

figcaption {
font-size: 13px;
color: var(--smoke);
margin-top: .4rem
}

.tbl {
overflow-x: auto;
border: 1px solid var(--line);
border-radius: var(--r);
background: var(--ivory);
margin: 1.2rem 0
}

th,
td {
padding: .7rem .9rem;
text-align: left;
border-bottom: 1px solid var(--line);
vertical-align: top
}

th {
background: var(--foam);
font-size: 12.5px;
color: var(--smoke)
}

tr:last-child td {
border-bottom: 0
}

.note {
background: var(--ivory);
border-left: 4px solid var(--lagoon);
border-radius: 8px;
padding: 1rem 1.25rem;
margin: 1.5rem 0
}

.note b {
font-family: var(--fd);
color: var(--sea)
}

.cards {
display: grid;
gap: 1rem;
margin: 1.2rem 0
}

.cards a {
background: var(--deep);
color: #fff;
border-radius: var(--r);
padding: 1.2rem;
display: flex;
flex-direction: column;
gap: .3rem;
transition: transform .2s
}

.cards a:hover {
transform: translateY(-3px)
}

.cards b {
font-family: var(--fd);
font-size: 1.1rem
}

.cards span {
font-size: 14px;
color: rgba(255, 255, 255, .72)
}

.faq {
border-bottom: 1px solid var(--line)
}

.faq h3 {
font-size: inherit;
margin: 0
}

.faq button {
width: 100%;
text-align: left;
background: none;
border: 0;
padding: 1.1rem 0;
font-family: var(--fd);
font-size: 1.08rem;
font-weight: 600;
color: var(--deep);
display: flex;
justify-content: space-between;
gap: 1rem
}

.faq button::after {
content: "+";
font-size: 1.4rem;
line-height: 1;
transition: transform .2s
}

.faq button[aria-expanded="true"]::after {
transform: rotate(45deg)
}

.faq div {
display: none;
padding-bottom: 1.1rem;
color: var(--smoke)
}

.faq div.open {
display: block
}

.cta {
background: linear-gradient(135deg, var(--deep), var(--sea));
color: #fff;
border-radius: var(--r);
padding: 2.2rem 1.5rem;
text-align: center;
margin-top: 3rem
}

.cta h2 {
font-family: var(--fd);
font-size: clamp(1.5rem, 4vw, 2rem);
color: #fff;
margin: 0 0 .5rem
}

.cta p {
color: rgba(255, 255, 255, .8);
max-width: 52ch;
margin: 0 auto 1.3rem
}

form.qf {
display: grid;
gap: .8rem;
max-width: 520px;
margin: 0 auto;
text-align: left
}

.qf label {
font-size: 12px;
font-weight: 600;
color: rgba(255, 255, 255, .75);
display: block;
margin-bottom: 2px
}

.qf input,
.qf select,
.qf textarea {
width: 100%;
padding: .65rem .8rem;
border: 1.5px solid rgba(255, 255, 255, .2);
border-radius: 8px;
background: rgba(255, 255, 255, .08);
font: inherit;
font-size: 14px;
color: #fff
}

.qf select option {
color: #0B2A33
}

.qf input::placeholder,
.qf textarea::placeholder {
color: rgba(255, 255, 255, .5)
}

.qf textarea {
min-height: 70px;
resize: vertical
}

.qf .row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: .8rem
}

.qf .btn {
width: 100%
}

@media(min-width:640px) {
.toc ol {
grid-template-columns: repeat(2, minmax(0, 1fr))
}
}

@media(min-width:700px) {
.cards {
grid-template-columns: repeat(2, minmax(0, 1fr))
}
}

.art,
.art>* {
min-width: 0
}

.art h2 {
scroll-margin-top: 160px
}

.hero-in {
min-width: 0
}

.hero h1 {
overflow-wrap: break-word
}

.cards a {
min-width: 0
}

.art figure img {
height: auto
}

@media(max-width:600px) {
.art {
padding: 2rem 1.25rem 3rem
}

.qf .row {
grid-template-columns: minmax(0, 1fr)
}

.art .plan .cols,
.art .calc .g,
.art .calc .out,
.art .tiers,
.art .vars {
grid-template-columns: minmax(0, 1fr)
}

.art input,
.art select,
.art textarea {
font-size: 16px
}

.hero-in {
padding: 2rem 1.25rem 2.5rem
}

.hero h1 {
font-size: clamp(2rem, 6vw, 3.5rem)
}
}

@supports not (overflow:clip) {
html {
overflow-x: hidden
}

body {
overflow-x: visible
}
}