/* Tips & Advice */
.advice-hero, .advice-list, .guide-grid {
    --advice-ink: #20262c;
    --advice-orange: #f37520;
    --advice-link: #9c4209;
    --advice-paper: #fcf9f5;
    --advice-border: #e5dcd0;
    color: var(--advice-ink);
}
.advice-hero {
    color: #fff;
    background: radial-gradient(ellipse at 76% 56%, #38291e 0, transparent 48%), linear-gradient(110deg, #282726, #151515 70%, #111);
}
.advice-hero-inner {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    align-items: center;
    gap: clamp(24px, 5vw, 76px);
    padding-block: clamp(40px, 5vw, 80px);
}
.advice-hero-inner > *, .guide-grid > * { min-width: 0; }
#site .advice-hero-copy .component,
#site .advice-hero-copy .component-inner {
    margin: 0;
    padding: 0;
    color: inherit;
    background: transparent;
}
.advice-hero h1, .advice-hero h2, .advice-list h2, .advice-card h3,
.guide-body h2, .guide-sidebar h2, .guide-routes h3 {
    margin: 0;
    color: inherit;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.035em;
}
.advice-hero h1 {
    color: #fff;
    font-size: clamp(2.7rem, 5.2vw, 4.6rem);
    text-wrap: balance;
}
.advice-hero h1::after, .guide-panel h2::after {
    display: block;
    content: "";
    width: 1.2em;
    height: 4px;
    margin-block: .42em;
    background: var(--advice-orange);
}
.advice-hero .advice-kicker, .advice-card-label, .guide-glossary h2 {
    font-size: .77rem;
    font-weight: 750;
    letter-spacing: .14em;
    line-height: 1.5;
    text-transform: uppercase;
}
.advice-hero .advice-kicker { color: #ff9a54; margin: 0 0 14px; }
.advice-hero .advice-intro h2 { color: #ff994e; font-size: clamp(1.65rem, 2.65vw, 2.5rem); }
.advice-hero .advice-intro p:last-child, .guide-subtitle {
    margin: 16px 0 0;
    color: #f5f0eb;
    line-height: 1.7;
    max-width: 55ch;
}
.advice-illustration {
    position: relative;
    width: min(100%, 470px);
    aspect-ratio: 1.5;
    justify-self: center;
    isolation: isolate;
}
.advice-illustration::before, .advice-illustration::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 10%;
    border-radius: 50%;
    border: 1px solid #564132;
    transform: rotate(-10deg);
}
.advice-illustration::after { inset: 10% 19%; }
.advice-browser {
    position: absolute;
    inset: 22% 13% 19% 11%;
    border-radius: 10px;
    background: #fff9f2;
    overflow: hidden;
    transform: rotate(-7deg);
    box-shadow: 0 16px 40px #0005;
}
.advice-address { height: 17%; background: #f2eee5; display: flex; align-items: center; gap: 4px; padding: 0 6%; }
.advice-address i { background: #c6bdb0; width: 5px; height: 5px; border-radius: 100%; }
.advice-address b { height: 28%; width: 54%; background: #e0d9ce; border-radius: 4px; margin-left: 4%; }
.advice-screen { position: absolute; inset: 30% 53% 8% 7%; display: flex; flex-direction: column; gap: 6%; }
.advice-screen > * { display: block; border-radius: 3px; }
.advice-screen span, .advice-screen small { width: 33%; height: 8%; background: #ed7a30; }
.advice-screen strong { width: 100%; height: 10%; background: #2b271f; }
.advice-screen strong + strong { width: 74%; }
.advice-screen i { width: 88%; height: 4%; background: #c5bcae; }
.advice-screen i + i { width: 66%; }
.advice-screen small { width: 45%; height: 16%; margin-top: 4%; }
.advice-pointer { position: absolute; inset: 29% 7% 11% 55%; border-radius: 6px; display: grid; place-items: center; background: #f4dfc4; color: #c85811; font-size: clamp(26px, 4vw, 54px); }
.advice-pointer i { transform: rotate(-65deg); }
.advice-sticker { position: absolute; display: flex; align-items: center; gap: .55em; border-radius: 8px; padding: .65em .95em; color: #241b15; font-size: clamp(.85rem, 1.55vw, 1.18rem); font-weight: 750; box-shadow: 0 6px 15px #0002; }
.advice-sticker i { font-size: 1.3em; }
.advice-found { right: 0; top: 12%; background: #ff842d; transform: rotate(5deg); }
.advice-control { bottom: 10%; left: -1%; background: #fff1df; transform: rotate(2deg); }
.advice-control i { color: #b95214; }
.advice-category-hero .container { padding-block: clamp(36px, 5vw, 68px); }
.advice-category-hero h1::after { margin-bottom: 0; }
.advice-list { padding-block: clamp(32px, 3.5vw, 55px); }
.advice-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.advice-list-heading h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); }
.advice-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.advice-filters a { border: 1px solid var(--advice-border); border-radius: 30px; padding: 8px 16px; font-weight: 600; font-size: .9rem; color: #372f28; text-decoration: none; }
.advice-filters a[aria-current], .advice-filters a:hover { background: #232323; color: #fff; border-color: #232323; }
.advice-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(15px, 2vw, 28px); }
.advice-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--advice-paper);
    border: 1px solid var(--advice-border);
    border-radius: 16px;
}
.advice-card-image { aspect-ratio: 1.38; background: #eee4d7; }
.advice-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.advice-card-image.advice-signpost { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 45%, #372b20, #1e1b18 78%); }
.advice-signpost img { position: absolute; inset: 9% 10%; width: 80%; height: 82%; object-fit: contain; }
.advice-card-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(20px,2.3vw,34px); }
.advice-card-label { color: var(--advice-link); margin: 0 0 12px; }
.advice-card-label:empty { display: none; }
.advice-card-label strong { display: inline-block; background: #ffe7cc; border-radius: 3px; padding: 3px 7px; margin-right: 6px; }
.advice-card h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
.advice-card h3 a { color: inherit; text-decoration: none; }
.advice-card h3 a::after { content: ""; position: absolute; inset: 0; }
.advice-card:focus-within { outline: 3px solid #a6480f; outline-offset: 2px; }
.advice-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.advice-summary { margin: 1em 0 1.4em; line-height: 1.65; color: #53493f; }
.advice-card-action { margin-top: auto; color: var(--advice-link); font-size: .93rem; font-weight: 700; }
.advice-card-action span, .advice-more span { margin-left: .35em; }
.advice-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 44% 1fr; }
.advice-featured .advice-card-copy { justify-content: center; padding: clamp(24px, 3vw, 48px); }
.advice-featured .advice-card-image { aspect-ratio: 1.55; min-height: 100%; }
.advice-featured .advice-card-image img { max-height: 370px; }
.advice-featured h3 { font-size: clamp(1.85rem, 3vw, 2.65rem); }
.advice-featured .advice-card-action { margin-top: 0; background: var(--advice-orange); color: #211a13; padding: .68em 1.25em; border-radius: 5px; }
.advice-featured.advice-card-text { grid-template-columns: 1fr; }
.advice-more { text-align: center; margin: 28px 0 0; }
.advice-more a, .guide-sidebar nav a { color: var(--advice-link); font-weight: 700; text-underline-offset: .3em; }
.guide-hero-image { display: block; width: min(90%, 440px); height: auto; max-height: 350px; object-fit: contain; justify-self: center; }
.guide-subtitle { max-width: 35ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.guide-grid { display: grid; grid-template-columns: minmax(0,3fr) minmax(220px,1fr); align-items: start; gap: clamp(20px, 3vw, 44px); padding-block: clamp(32px, 4vw, 65px); }
.guide-body { color: var(--advice-ink); line-height: 1.72; }
#site .guide-body > .component { padding: 0; margin: 0; }
#site .guide-body > .component + .component { margin-top: 24px; }
#site .guide-body .component-inner { padding: 0; }
.guide-body p { margin: .9em 0 0; }
.guide-body p:first-child { margin-top: 0; }
.guide-body h2 { font-size: clamp(1.5rem, 2.25vw, 2.15rem); }
#site .guide-body > .guide-panel, .guide-sidebar nav, .guide-sidebar .guide-glossary, .guide-sidebar .guide-asset {
    padding: clamp(21px, 2.5vw, 36px);
    border-radius: 15px;
    border: 1px solid var(--advice-border);
    background: var(--advice-paper);
}
.guide-lead, .guide-highlight { font-size: 1.18em; }
.guide-highlight { color: #aa490f; }
.guide-panel h2 { position: relative; min-height: 48px; padding-left: 65px; margin-bottom: 1.15em; }
.guide-panel h2::before, .guide-asset .text h2::before {
    font: 28px/1 "Ionicons";
    content: "\f15a";
    display: grid;
    place-items: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 11px;
    background: var(--advice-orange);
    color: #211a13;
}
.guide-panel h2::after { height: 3px; width: 2.1em; margin-bottom: 0; }
.guide-key h2::before, .guide-asset .text h2::before { content: "\f316"; }
.guide-dns h2::before { content: "\f2fa"; }
.guide-checks h2::before { content: "\f2bd"; }
.guide-body blockquote { margin: 1.2em 0; border: 0; border-left: 3px solid var(--advice-orange); padding: .2em 0 .2em 1em; color: inherit; font-size: 1.1em; font-weight: 700; }
.guide-body blockquote::before { content: none; }
.guide-routes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 22px 0; }
.guide-routes > div { background: #fff; border: 1px solid var(--advice-border); border-radius: 9px; padding: 16px; overflow-wrap: anywhere; }
.guide-routes h3 { font-size: 1.05rem; }
.guide-routes p { font-size: .91rem; }
.guide-routes p:last-child::before { content: "↓"; display: block; color: var(--advice-link); font-size: 1.3rem; }
.guide-checks ol { list-style: none; counter-reset: check; margin: 24px 0; padding: 0; }
.guide-checks li { counter-increment: check; position: relative; padding-left: 3.1em; margin: 1em 0; }
.guide-checks li::before { content: counter(check, decimal-leading-zero); position: absolute; left: 0; top: 0; color: var(--advice-link); font-weight: 750; border-bottom: 2px solid var(--advice-orange); }
.guide-checks li strong { display: block; }
.guide-checks ol + p { padding-top: 1.1em; border-top: 1px solid var(--advice-border); }
.guide-sidebar nav, .guide-sidebar .guide-asset, .guide-sidebar .guide-glossary { margin: 0 0 20px; padding: clamp(18px,2vw,28px); }
.guide-sidebar nav { background: #fff; }
.guide-sidebar h2 { font-size: clamp(1.25rem, 2vw, 1.75rem); margin-bottom: .6em; }
.guide-sidebar .swp, .guide-sidebar .listing-pods, .guide-sidebar .item .info { padding: 0; margin: 0; }
.guide-sidebar .item { width: 100%; max-width: none; flex: auto; }
.guide-sidebar .guide-asset { color: #fff; background: #1b1b1a; }
.guide-sidebar .guide-asset .text, .guide-sidebar .guide-asset h2 { color: #fff; }
.guide-asset .text h2::before { position: static; display: block; margin-bottom: .5em; background: none; color: var(--advice-orange); height: auto; width: auto; }
.guide-sidebar .guide-asset p + p { border-top: 2px solid #d96b20; padding-top: .8em; }
.guide-sidebar .guide-glossary { background: #fff; }
.guide-sidebar .guide-glossary h2 { font-size: .8rem; }
.guide-glossary dl { margin: 1.1em 0 0; line-height: 1.5; }
.guide-glossary dt { font-weight: 750; }
.guide-glossary dd { margin: 0; }
.guide-glossary dd + dt { border-top: 1px solid var(--advice-border); padding-top: .6em; margin-top: .6em; }
@media (max-width: 991px) {
    .advice-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .guide-grid { grid-template-columns: minmax(0,2.5fr) minmax(185px,1fr); }
}
@media (max-width: 767px) {
    .advice-hero-inner, .guide-grid { grid-template-columns: 1fr; gap: 24px; }
    .advice-illustration { width: min(85%, 360px); }
    .guide-hero-image { width: min(74%, 320px); }
    .guide-sidebar { display: contents; }
    .guide-sidebar nav { order: -1; margin: 0; }
    .guide-sidebar .swp { order: 1; }
    .advice-featured { grid-template-columns: 1fr; }
    .advice-featured .advice-card-image { aspect-ratio: 2; min-height: 0; }
    .guide-panel h2 { padding-left: 54px; }
    .guide-panel h2::before { width: 40px; height: 40px; font-size: 24px; }
}
@media (max-width: 639px) {
    .advice-cards, .guide-routes { grid-template-columns: 1fr; }
    .advice-list-heading { align-items: flex-start; flex-direction: column; }
    .advice-card-image { aspect-ratio: 1.8; }
}
