/* =========================================================
   THE SMART SENIOR TRAVEL GUIDE
   Shared Stylesheet
   Bruce Goldwell / MyKindleBooks.net
   ========================================================= */

:root {
    --bg: #0b1220;
    --panel: #0f1b33;
    --card: #101f3e;
    --text: #eef2ff;
    --muted: #c7d2fe;
    --soft: #a5b4fc;
    --line: rgba(255,255,255,.12);
    --btn: #ffffff;
    --btnText: #0b1220;
    --btnGhost: transparent;
    --accent: #7aa7ff;
    --accent2: #9be7ff;
    --radius: 18px;
    --shadow: 0 18px 60px rgba(0,0,0,.35);
}


/* =========================================================
   RESET / GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Helvetica,
        Arial,
        "Apple Color Emoji",
        "Segoe UI Emoji";

    background:
        radial-gradient(
            900px 600px at 10% 10%,
            rgba(122,167,255,.22),
            transparent 55%
        ),
        radial-gradient(
            900px 600px at 90% 20%,
            rgba(155,231,255,.18),
            transparent 55%
        ),
        radial-gradient(
            900px 700px at 60% 110%,
            rgba(165,180,252,.14),
            transparent 55%
        ),
        var(--bg);

    color: var(--text);
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--accent2);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p {
    margin-top: 0;
}

strong {
    color: #ffffff;
}


/* =========================================================
   MAIN WIDTH
   ========================================================= */

.wrap,
.container,
.header-inner,
.footer-inner,
.cta-inner,
.article-header-inner,
.breadcrumbs {
    width: min(1100px, 92vw);
    margin-left: auto;
    margin-right: auto;
}

.wrap {
    padding: 28px 0 64px;
}


/* =========================================================
   ORIGINAL HOME PAGE HEADER
   ========================================================= */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(11,18,32,.90);
    border-bottom: 1px solid var(--line);
}

.nav {
    width: min(1100px, 92vw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
}

.brand strong {
    font-weight: 800;
    letter-spacing: .2px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 0 0 6px rgba(122,167,255,.12);
    animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(122,167,255,.10);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 10px rgba(155,231,255,.12);
    }
}

.navlinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.navlinks a {
    font-size: 14px;
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.navlinks a:hover {
    border-color: var(--line);
    text-decoration: none;
    color: var(--text);
    background: rgba(255,255,255,.04);
}


/* =========================================================
   ARTICLE PAGE HEADER / NAVIGATION
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(11,18,32,.90);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-brand {
    color: var(--text);
    font-weight: 800;
    letter-spacing: .2px;
    font-size: 17px;
}

.site-brand:hover {
    text-decoration: none;
}

.site-brand span {
    color: var(--accent2);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.main-nav a {
    font-size: 14px;
    color: var(--muted);
    padding: 8px 11px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.main-nav a:hover {
    text-decoration: none;
    color: var(--text);
    border-color: var(--line);
    background: rgba(255,255,255,.04);
}


/* =========================================================
   BREADCRUMBS
   ========================================================= */

.breadcrumbs {
    padding-top: 22px;
    padding-bottom: 8px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--accent2);
}


/* =========================================================
   HOME PAGE HERO
   ========================================================= */

.hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
    margin-top: 26px;
    align-items: center;
}

.heroCard {
    background:
        linear-gradient(
            180deg,
            rgba(15,27,51,.85),
            rgba(15,27,51,.55)
        );

    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.heroCard:before {
    content: "";
    position: absolute;
    inset: -60px -80px auto auto;
    width: 260px;
    height: 260px;

    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(155,231,255,.25),
            transparent 55%
        ),
        radial-gradient(
            circle at 70% 70%,
            rgba(122,167,255,.22),
            transparent 55%
        );

    transform: rotate(18deg);
    pointer-events: none;
}

h1 {
    margin: 0 0 10px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -.6px;
}

.subtitle {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: clamp(16px, 2vw, 18px);
    max-width: 62ch;
}


/* =========================================================
   HOME PAGE CHIPS
   ========================================================= */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 20px;
}

.chip {
    font-size: 13px;
    color: var(--soft);
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
    padding: 8px 10px;
    border-radius: 999px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.ctaRow,
.button-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    cursor: pointer;
    font-weight: 700;
    letter-spacing: .1px;
    transition:
        transform .14s ease,
        background .14s ease,
        border-color .14s ease;
    user-select: none;
    text-decoration: none;
    min-width: 180px;
    background: var(--btn);
    color: var(--btnText);
}

.btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.btnPrimary {
    background: var(--btn);
    color: var(--btnText);
    border-color: rgba(255,255,255,.25);
}

.btnGhost,
.btn-outline {
    background: rgba(255,255,255,.05);
    color: var(--text);
}

.btnGhost:hover,
.btn-outline:hover {
    border-color: rgba(255,255,255,.22);
}

.btn-light {
    background: #ffffff;
    color: var(--btnText);
}

.note {
    margin-top: 12px;
    color: rgba(199,210,254,.9);
    font-size: 14px;
}


/* =========================================================
   BOOK COVER
   ========================================================= */

.cover {
    background:
        linear-gradient(
            180deg,
            rgba(16,31,62,.7),
            rgba(16,31,62,.42)
        );

    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);

    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    text-align: center;

    position: relative;
    overflow: hidden;
}

.cover:after {
    content: "";
    position: absolute;
    inset: auto -120px -120px auto;
    width: 280px;
    height: 280px;

    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(122,167,255,.22),
            transparent 60%
        );

    transform: rotate(-12deg);
    pointer-events: none;
}

.cover img {
    width: min(360px, 100%);
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
    animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.byline {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

section {
    margin-top: 26px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 14px;
}


/* =========================================================
   CARDS
   ========================================================= */

.card {
    background: rgba(16,31,62,.5);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 12px 34px rgba(0,0,0,.25);
    transition:
        transform .15s ease,
        border-color .15s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(155,231,255,.25);
}

.card h2 {
    margin: 0 0 8px;
    font-size: 18px;
    letter-spacing: -.2px;
}

.card p {
    margin: 0;
    color: rgba(199,210,254,.92);
    font-size: 14px;
}


/* =========================================================
   PANELS
   ========================================================= */

.panel {
    background:
        linear-gradient(
            180deg,
            rgba(15,27,51,.72),
            rgba(15,27,51,.5)
        );

    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 14px 40px rgba(0,0,0,.26);
    position: relative;
    overflow: hidden;
}

.panel h2 {
    margin: 0 0 10px;
    font-size: 22px;
    letter-spacing: -.3px;
}

.panel p {
    margin: 0 0 10px;
    color: rgba(199,210,254,.92);
}

.panel ul {
    margin: 10px 0 0;
    padding-left: 18px;
    color: rgba(199,210,254,.92);
}

.panel li {
    margin: 6px 0;
}


/* =========================================================
   QUOTES
   ========================================================= */

.quote {
    border-left: 3px solid rgba(155,231,255,.45);
    padding: 10px 14px;
    background: rgba(255,255,255,.04);
    border-radius: 12px;
    color: rgba(238,242,255,.92);
    font-size: 15px;
    margin-top: 12px;
}


/* =========================================================
   QUICK SCRIPTS
   ========================================================= */

.scripts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
}

.scriptCard {
    background: rgba(16,31,62,.55);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

.scriptCard h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: var(--text);
}

.say {
    margin: 8px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(155,231,255,.08);
    border: 1px solid rgba(155,231,255,.18);
    color: rgba(238,242,255,.96);
    font-weight: 600;
}

.say small {
    display: block;
    font-weight: 800;
    letter-spacing: .2px;
    opacity: .9;
    margin-bottom: 6px;
    color: rgba(199,210,254,.95);
    text-transform: uppercase;
    font-size: 11px;
}


/* =========================================================
   ARTICLE HEADER
   ========================================================= */

.article-header {
    margin-top: 12px;
    padding: 48px 0 42px;
}

.article-header-inner {
    background:
        linear-gradient(
            180deg,
            rgba(15,27,51,.86),
            rgba(15,27,51,.58)
        );

    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(24px, 5vw, 44px);
    box-shadow: var(--shadow);
}

.article-header h1 {
    max-width: 900px;
    margin-bottom: 14px;
}

.article-header p {
    color: var(--muted);
    font-size: clamp(17px, 2vw, 20px);
    max-width: 760px;
    margin-bottom: 0;
}


/* =========================================================
   ARTICLE CONTENT
   ========================================================= */

.content-section {
    margin-top: 0;
    padding: 8px 0 50px;
}

.article {
    max-width: 850px;
    margin: 0 auto;
}

.article h2 {
    margin: 46px 0 14px;
    font-size: clamp(24px, 3vw, 31px);
    line-height: 1.2;
    letter-spacing: -.35px;
    color: #ffffff;
}

.article h3 {
    margin: 28px 0 10px;
    font-size: 20px;
    line-height: 1.3;
    color: var(--text);
}

.article p {
    color: rgba(238,242,255,.91);
    font-size: 17px;
    margin: 0 0 18px;
}

.article ul,
.article ol {
    color: rgba(238,242,255,.91);
    font-size: 17px;
    padding-left: 24px;
}

.article li {
    margin: 8px 0;
}


/* =========================================================
   ARTICLE CALLOUTS
   ========================================================= */

.big-idea {
    margin: 30px 0;
    padding: 22px 24px;

    background:
        linear-gradient(
            135deg,
            rgba(122,167,255,.14),
            rgba(155,231,255,.07)
        );

    border: 1px solid rgba(155,231,255,.22);
    border-left: 4px solid var(--accent2);
    border-radius: 14px;
}

.big-idea p {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.feature-box {
    margin: 28px 0;
    padding: 22px;

    background: rgba(16,31,62,.60);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

.feature-box h3 {
    margin: 0 0 10px;
    color: var(--accent2);
}

.feature-box p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   BOOK PROMO INSIDE ARTICLES
   ========================================================= */

.book-promo {
    margin: 46px 0;
    padding: 28px;

    background:
        linear-gradient(
            135deg,
            rgba(15,27,51,.95),
            rgba(16,31,62,.70)
        );

    border: 1px solid rgba(155,231,255,.20);
    border-radius: var(--radius);
    box-shadow: var(--shadow);

    display: grid;
    grid-template-columns: auto 1fr;
    gap: 26px;
    align-items: center;
}

.book-promo img {
    width: min(220px, 100%);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(0,0,0,.35);
}

.book-promo h2 {
    margin-top: 0;
}


/* If a promo contains text only */
.book-promo > div:only-child {
    grid-column: 1 / -1;
}


/* =========================================================
   BOTTOM CTA
   ========================================================= */

.cta {
    margin-top: 0;
    padding: 52px 0;

    background:
        linear-gradient(
            135deg,
            rgba(122,167,255,.16),
            rgba(155,231,255,.07)
        );

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cta-inner {
    text-align: center;
}

.cta h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3vw, 36px);
}

.cta p {
    max-width: 700px;
    margin: 0 auto 18px;
    color: var(--muted);
    font-size: 17px;
}

.cta .button-row {
    justify-content: center;
}


/* =========================================================
   ORIGINAL HOME PAGE FOOTER
   ========================================================= */

.footer {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: rgba(199,210,254,.85);
    font-size: 13px;

    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}


/* =========================================================
   ARTICLE FOOTER
   ========================================================= */

.site-footer {
    padding: 34px 0 44px;
    background: rgba(7,12,23,.55);
}

.footer-inner {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--accent2);
}

.site-footer p {
    color: rgba(199,210,254,.82);
    font-size: 13px;
}

.small-text,
.mini {
    font-size: 13px;
    color: rgba(199,210,254,.88);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .split {
        grid-template-columns: 1fr;
    }

    .scripts {
        grid-template-columns: 1fr;
    }

    .book-promo {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .book-promo img {
        margin: 0 auto;
    }

    .book-promo .button-row {
        justify-content: center;
    }

}


@media (max-width: 720px) {

    .nav,
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .navlinks,
    .main-nav {
        justify-content: flex-start;
        width: 100%;
    }

    .article-header {
        padding: 24px 0 28px;
    }

    .article-header-inner {
        padding: 24px 20px;
    }

    .article p,
    .article ul,
    .article ol {
        font-size: 16px;
    }

    .btn {
        width: 100%;
    }

    .ctaRow,
    .button-row {
        width: 100%;
    }

}


@media (max-width: 480px) {

    .wrap,
    .container,
    .header-inner,
    .footer-inner,
    .cta-inner,
    .article-header-inner,
    .breadcrumbs {
        width: min(94vw, 1100px);
    }

    h1 {
        font-size: 32px;
    }

    .heroCard,
    .panel,
    .card,
    .scriptCard {
        padding: 18px;
    }

    .big-idea,
    .feature-box {
        padding: 18px;
    }

}