/* Shared styles for the guide pages (/cigar-identifier/, /cigar-journal/,
   /cigar-pairing/, /cigar-sizes/). Same palette and type as legal.html so
   the long-form pages read as one family. Kept in a file rather than inline
   so every guide shares one cached stylesheet. */

@font-face {
    font-family: 'Comfortaa';
    src: url('/fonts/Comfortaa-Regular.woff2') format('woff2'),
        url('/fonts/Comfortaa-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --gold: rgb(255, 212, 104);
    --gold-deep: rgb(164, 77, 1);
    --text: #ccc;
    --muted: #888;
    --line: rgba(255, 255, 255, 0.15);
}

html {
    background-color: #000;
    scroll-behavior: smooth;
}

html,
body {
    margin: 0 auto;
    color: #fff;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10;
}

header img#brand-name {
    height: 24px;
    width: auto;
    display: block;
}

a#get-app {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.1);
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    color: #ddd;
    border-radius: 100px;
    font-size: 15px;
    text-decoration: none;
    padding: 8px 18px;
    font-weight: 300;
}

.page {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 24px 80px 24px;
}

nav.crumbs {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
}

nav.crumbs a {
    color: var(--muted);
    text-decoration: none;
}

nav.crumbs a:hover {
    color: #fff;
}

.eyebrow {
    color: rgb(200, 200, 200);
    font-weight: 300;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 8px 0;
}

h1 {
    font-family: 'Comfortaa', serif;
    font-weight: 400;
    font-size: clamp(28px, 6vw, 40px);
    line-height: 1.25;
    color: #fff;
    margin: 0 0 16px 0;
}

h1 .highlight {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

p.lede {
    font-size: 19px;
    line-height: 1.6;
    color: #ddd;
    font-weight: 300;
    margin: 0 0 12px 0;
}

p.updated {
    color: #666;
    font-size: 13px;
    margin: 0 0 40px 0;
}

main {
    line-height: 1.8;
    font-weight: 300;
    color: var(--text);
    font-size: 17px;
}

main h2 {
    font-family: 'Comfortaa', serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.35;
    color: #fff;
    margin: 56px 0 12px 0;
}

main h3 {
    font-weight: 500;
    font-size: 18px;
    color: #fff;
    margin: 32px 0 8px 0;
}

main p {
    margin: 12px 0;
}

main ul,
main ol {
    padding-left: 24px;
}

main li {
    margin: 8px 0;
}

main a {
    color: var(--gold);
    text-decoration: none;
}

main a:hover {
    text-decoration: underline;
}

strong {
    color: #fff;
    font-weight: 500;
}

.notice {
    border-left: 3px solid var(--gold);
    background: rgba(255, 212, 104, 0.06);
    border-radius: 0 12px 12px 0;
    padding: 14px 20px;
    margin: 24px 0;
    font-size: 15px;
}

.table-wrap {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 15px;
    line-height: 1.5;
}

th,
td {
    text-align: left;
    padding: 10px 14px;
    border: 0.5px solid var(--line);
    vertical-align: top;
}

th {
    color: #fff;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
}

caption {
    caption-side: bottom;
    text-align: left;
    color: var(--muted);
    font-size: 13px;
    padding-top: 8px;
}

/* Call to action block. One per page, near the end. */
.cta {
    margin: 56px 0 0 0;
    padding: 28px;
    border: 0.5px solid rgba(255, 212, 104, 0.35);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255, 212, 104, 0.08), rgba(164, 77, 1, 0.06));
    text-align: center;
}

.cta p {
    margin: 0 0 18px 0;
    color: #ddd;
}

.cta a.button {
    display: inline-block;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    color: #0c0805;
    background: linear-gradient(150deg, #e9cf90, #b8893c);
    padding: 14px 28px;
    border-radius: 999px;
}

.cta a.button:hover {
    text-decoration: none;
}

/* FAQ: native <details> so answers are in the HTML (crawlable) and work
   without JavaScript. */
details {
    border-bottom: 0.5px solid var(--line);
    padding: 14px 0;
}

details summary {
    cursor: pointer;
    color: #fff;
    font-weight: 400;
    list-style-position: outside;
}

details p {
    margin: 10px 0 0 0;
}

.related {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 0.5px solid var(--line);
}

.related h2 {
    margin-top: 0;
    font-size: 18px;
}

.related ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 8px;
}

footer {
    text-align: center;
    color: #666;
    font-size: 13px;
    padding: 40px 24px 60px 24px;
    line-height: 1.6;
}

footer p {
    max-width: 640px;
    margin: 0 auto 16px auto;
    color: #555;
    font-size: 12px;
}

footer a {
    color: #999;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-bottom: 16px;
}

/* Card grids: smoker profiles (/cigar-smoker-profiles/) and the guides hub
   (/guides/). */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.card {
    border: 0.5px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    margin: 0;
}

.card h3 {
    margin: 8px 0 6px 0;
    font-size: 17px;
}

.card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.card.profile {
    text-align: center;
}

.card.profile img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.card a.card-link {
    color: #fff;
    text-decoration: none;
}

.card a.card-link:hover {
    color: var(--gold);
    text-decoration: none;
}
