/* emdrmobile.com — guide and landing pages.
   Loaded alongside style.css; only adds article/hub styles. */

:root {
    --a-text: #1c2b33;
    --a-muted: #5b6b76;
    --a-line: #e3eaee;
    --a-accent: #03c3a5;
    --a-accent-dark: #029c84;
    --a-bg-soft: #f5f9fa;
}

.article-body {
    background: #fff;
}

.article-main {
    padding: 120px 24px 60px;
}

.article-inner {
    max-width: 760px;
    margin: 0 auto;
}

/* ---------- breadcrumb ---------- */

.breadcrumb {
    font-size: 0.85rem;
    color: var(--a-muted);
    margin-bottom: 28px;
}

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

.breadcrumb a:hover {
    color: var(--a-accent-dark);
    text-decoration: underline;
}

.crumb-sep {
    margin: 0 8px;
    opacity: 0.5;
}

/* ---------- article ---------- */

.article h1 {
    font-size: clamp(1.9rem, 4.2vw, 2.7rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--a-text);
    margin: 0 0 12px;
}

.article-byline {
    font-size: 0.95rem;
    color: var(--a-text);
    margin: 0 0 6px;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--a-muted);
    margin: 0 0 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--a-line);
}

.article h2 {
    font-size: clamp(1.3rem, 2.6vw, 1.6rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--a-text);
    margin: 44px 0 14px;
}

.article h3 {
    font-size: 1.08rem;
    color: var(--a-text);
    margin: 28px 0 8px;
}

.article p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #33454f;
    margin: 0 0 18px;
}

.article a {
    color: var(--a-accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article .lede {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #2b3d47;
    margin-bottom: 28px;
}

.article strong {
    color: var(--a-text);
}

.article ul,
.article ol {
    margin: 0 0 20px;
    padding-left: 22px;
}

.article li {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #33454f;
    margin-bottom: 10px;
}

.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    position: relative;
    padding-left: 28px;
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--a-accent);
}

.steps-list {
    counter-reset: step;
    list-style: none;
    padding-left: 0;
}

.steps-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 14px;
}

.steps-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--a-accent);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phase-pitfall {
    background: var(--a-bg-soft);
    border-left: 3px solid #f0b429;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 0.96rem !important;
}

/* ---------- callouts ---------- */

.callout {
    background: var(--a-bg-soft);
    border: 1px solid var(--a-line);
    border-radius: 14px;
    padding: 20px 22px;
    margin: 0 0 22px;
}

.callout h3 {
    margin-top: 0;
}

.callout p:last-child,
.callout ul:last-child {
    margin-bottom: 0;
}

.callout-note {
    font-size: 0.9rem !important;
    color: var(--a-muted) !important;
}

.callout-free {
    border-left: 3px solid var(--a-accent);
}

.callout-warn {
    border-left: 3px solid #f0b429;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 22px;
}

.two-col .callout {
    margin-bottom: 0;
}

.two-col li {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

@media (max-width: 700px) {
    .two-col {
        grid-template-columns: 1fr;
    }
}

/* ---------- table ---------- */

.table-scroll {
    overflow-x: auto;
    margin: 0 0 24px;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.94rem;
}

.compare-table th,
.compare-table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--a-line);
    vertical-align: top;
    line-height: 1.55;
}

.compare-table thead th {
    background: var(--a-bg-soft);
    color: var(--a-text);
    font-weight: 600;
    border-bottom: 2px solid var(--a-line);
}

.compare-table td:first-child {
    font-weight: 500;
    color: var(--a-text);
}

/* ---------- FAQ ---------- */

.article-faq {
    margin-top: 52px;
    padding-top: 32px;
    border-top: 1px solid var(--a-line);
}

.article-faq h2 {
    font-size: 1.5rem;
    margin: 0 0 22px;
    color: var(--a-text);
}

.afaq-item {
    margin-bottom: 22px;
}

.afaq-item h3 {
    font-size: 1.02rem;
    margin: 0 0 6px;
    color: var(--a-text);
}

.afaq-item p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #33454f;
}

/* ---------- CTA ---------- */

.article-cta {
    margin-top: 52px;
    background: linear-gradient(135deg, #06243a 0%, #0b3d52 100%);
    border-radius: 18px;
    padding: 34px 30px;
    text-align: center;
}

.article-cta h2 {
    color: #fff;
    font-size: 1.4rem;
    margin: 0 0 10px;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: 460px;
    margin: 0 auto 22px;
}

.article-cta .store-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.article-cta .store-link img {
    height: 46px;
    width: auto;
}

/* ---------- related ---------- */

.related {
    margin-top: 52px;
    padding-top: 32px;
    border-top: 1px solid var(--a-line);
}

.related h2 {
    font-size: 1.25rem;
    margin: 0 0 18px;
    color: var(--a-text);
}

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

.related-list a {
    display: block;
    padding: 15px 18px;
    border: 1px solid var(--a-line);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.related-list a:hover {
    border-color: var(--a-accent);
    transform: translateY(-1px);
}

.related-list strong {
    display: block;
    color: var(--a-text);
    font-size: 0.98rem;
    margin-bottom: 3px;
}

.related-list span {
    display: block;
    color: var(--a-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* ---------- hub ---------- */

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 36px;
}

.hub-card {
    display: block;
    padding: 24px 22px;
    border: 1px solid var(--a-line);
    border-radius: 16px;
    text-decoration: none;
    background: #fff;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.hub-card:hover {
    border-color: var(--a-accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(3, 195, 165, 0.1);
}

.hub-card h2 {
    font-size: 1.08rem;
    line-height: 1.35;
    color: var(--a-text);
    margin: 0 0 8px;
}

.hub-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--a-muted);
    margin: 0 0 14px;
}

.hub-more {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--a-accent-dark);
}

.hub-card-accent {
    background: var(--a-bg-soft);
}

/* ---------- footer tweak ---------- */

.footer-lang-tag {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 2px 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.14);
    vertical-align: middle;
    margin-left: 5px;
}

/* ---------- language switcher as links ---------- */

.lang-menu a.lang-option {
    display: block;
    width: 100%;
    text-align: left;
    text-decoration: none;
}

[dir="rtl"] .lang-menu a.lang-option {
    text-align: right;
}

@media (max-width: 640px) {
    .article-main {
        padding: 100px 18px 48px;
    }
}
