/* Explain: Editorial cards, forms, and travel-magazine components */
.brand-mark {
    display: inline-grid;
    min-height: 3rem;
    min-width: 3rem;
    place-items: center;
    border: 1px solid rgba(255, 253, 248, 0.28);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.10);
    color: var(--sand-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
}

.nav-link {
    position: relative;
    color: rgba(255, 253, 248, 0.78);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: color 180ms ease;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: -0.45rem;
    left: 0;
    height: 1px;
    content: '';
    transform: scaleX(0);
    transform-origin: left;
    background: var(--terracotta-color);
    transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--ivory-color);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    transform: scaleX(1);
}

.btn-editorial {
    border: 1px solid rgba(16, 42, 67, 0.16);
    border-radius: 999px;
    background: var(--navy-color);
    color: var(--ivory-color);
    box-shadow: 0 12px 30px rgba(16, 42, 67, 0.18);
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-editorial:hover,
.btn-editorial:focus-visible {
    transform: translateY(-2px);
    background: var(--primary-hover);
    box-shadow: 0 18px 36px rgba(16, 42, 67, 0.24);
}

.btn-ghost-editorial {
    border: 1px solid rgba(16, 42, 67, 0.18);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.72);
    color: var(--navy-color);
    font-weight: 800;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.btn-ghost-editorial:hover,
.btn-ghost-editorial:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(196, 106, 74, 0.45);
    background: var(--sand-color);
}

.feature-card {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-large);
    background: rgba(255, 253, 248, 0.86);
    box-shadow: var(--shadow-card);
}

.feature-card img {
    transition: transform 500ms ease;
}

.feature-card:hover img {
    transform: scale(1.035);
}

.article-row {
    border-top: 1px solid var(--border-color);
    transition: background 180ms ease, padding 180ms ease;
}

.article-row:hover {
    background: rgba(244, 231, 208, 0.32);
}

.category-pill {
    border: 1px solid rgba(16, 42, 67, 0.14);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.72);
    color: var(--navy-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.category-pill:hover,
.category-pill:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(196, 106, 74, 0.42);
    background: var(--sand-color);
}

.input-editorial {
    min-height: 3.25rem;
    border: 1px solid rgba(16, 42, 67, 0.16);
    border-radius: 1rem;
    background: rgba(255, 253, 248, 0.92);
    color: var(--navy-color);
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.input-editorial:focus {
    border-color: rgba(196, 106, 74, 0.72);
    box-shadow: 0 0 0 4px rgba(196, 106, 74, 0.12);
}

.input-editorial::placeholder {
    color: rgba(95, 111, 123, 0.74);
}

.map-line-card {
    position: relative;
    overflow: hidden;
}

.map-line-card::before {
    position: absolute;
    inset: 1rem;
    pointer-events: none;
    content: '';
    opacity: 0.22;
    background-image:
        radial-gradient(circle at 18% 28%, var(--terracotta-color) 0 2px, transparent 3px),
        radial-gradient(circle at 72% 68%, var(--sage-color) 0 2px, transparent 3px),
        linear-gradient(125deg, transparent 12%, rgba(16, 42, 67, 0.45) 12.25%, transparent 12.75%, transparent 44%, rgba(16, 42, 67, 0.35) 44.25%, transparent 44.75%);
}

.share-button {
    display: inline-flex;
    min-height: 2.75rem;
    min-width: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 42, 67, 0.16);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.86);
    color: var(--navy-color);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.share-button:hover,
.share-button:focus-visible {
    transform: translateY(-2px);
    background: var(--navy-color);
    color: var(--ivory-color);
}
