/* =============================================================
   FEMTO SCIENTIFIC — ARTICLES / EDITORIAL CSS
   ============================================================= */

/* -------------------------------------------------------
   ARTICLES LANDING — hero
   ------------------------------------------------------- */
.art-landing-hero {
    background: linear-gradient(135deg, #042f34 0%, #075d63 100%);
    padding: 56px 0 48px;
    color: #fff;
}
.art-landing-hero h1 {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: 0.3px;
}
.art-landing-hero p {
    font-size: 15px;
    color: rgba(255,255,255,0.80);
    max-width: 540px;
    margin: 0;
    line-height: 1.7;
}

/* -------------------------------------------------------
   ARTICLES LANDING — card grid
   ------------------------------------------------------- */
.art-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 56px 0;
}
.art-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s ease;
}
.art-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.10); }
.art-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.art-card-body {
    padding: 24px 22px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.art-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.art-card-tag {
    font-size: 10px;
    font-weight: 700;
    color: #075d63;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    border: 1px solid #075d63;
    padding: 2px 8px;
    border-radius: 2px;
}
.art-card-date {
    font-size: 11px;
    color: #999;
    letter-spacing: 0.3px;
}
.art-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: #2D2D2D;
    margin: 0 0 10px;
    line-height: 1.35;
}
.art-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.65;
    margin: 0 0 20px;
    flex: 1;
}
.art-card-link {
    font-size: 12px;
    font-weight: 700;
    color: #075d63;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
    margin-top: auto;
}
.art-card-link:hover { color: #054e53; text-decoration: underline; }
@media (max-width: 960px) { .art-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .art-card-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------
   ARTICLE PAGE — full-width photo hero
   ------------------------------------------------------- */
.artpg-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}
.artpg-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.artpg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,18,30,0.95) 0%, rgba(5,18,30,0.55) 60%, rgba(5,18,30,0.20) 100%);
}
.artpg-hero-content {
    position: relative;
    z-index: 2;
    padding: 56px 0 48px;
    width: 100%;
}
.artpg-hero-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.artpg-hero-tag {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(7,93,99,0.85);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 4px 12px;
    border-radius: 2px;
}
.artpg-hero-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 20px;
    max-width: 780px;
    letter-spacing: 0.2px;
}
.artpg-hero-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    color: rgba(255,255,255,0.72);
}
.artpg-hero-meta span { display: flex; align-items: center; gap: 6px; }
@media (max-width: 768px) {
    .artpg-hero-title { font-size: 24px; }
    .artpg-hero { min-height: 300px; }
}

/* -------------------------------------------------------
   ARTICLE PAGE — two-column layout
   ------------------------------------------------------- */
.artpg-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    padding: 56px 0 64px;
    align-items: start;
}
@media (max-width: 960px) {
    .artpg-layout { grid-template-columns: 1fr; }
    .artpg-sidebar { order: -1; }
}

/* -------------------------------------------------------
   ARTICLE BODY — typography
   ------------------------------------------------------- */
.artpg-body {
    min-width: 0;
}
.artpg-lead {
    font-size: 17px;
    color: #2D2D2D;
    line-height: 1.8;
    margin: 0 0 32px;
    font-weight: 400;
    border-left: 4px solid #075d63;
    padding-left: 20px;
}
.artpg-section-title {
    font-size: 19px;
    font-weight: 800;
    color: #2D2D2D;
    margin: 40px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
}
.artpg-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: 2px;
    background: #075d63;
}
.artpg-body p {
    font-size: 14.5px;
    color: #444;
    line-height: 1.85;
    margin: 0 0 20px;
}
.artpg-pullquote {
    margin: 36px 0;
    padding: 24px 28px;
    border-left: 5px solid #075d63;
    background: #f0f8f9;
    position: relative;
}
.artpg-pullquote::before {
    content: '\201C';
    font-size: 72px;
    color: #075d63;
    opacity: 0.18;
    position: absolute;
    top: -8px;
    left: 12px;
    line-height: 1;
    font-family: Georgia, serif;
}
.artpg-pullquote p {
    font-size: 17px !important;
    color: #075d63 !important;
    font-weight: 600;
    line-height: 1.6 !important;
    margin: 0 !important;
    font-style: italic;
}
.artpg-takeaway {
    background: #042f34;
    color: #fff;
    padding: 28px 30px;
    margin: 36px 0;
    border-radius: 2px;
}
.artpg-takeaway h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.65);
    margin: 0 0 14px;
}
.artpg-takeaway ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.artpg-takeaway ul li {
    font-size: 14px;
    color: rgba(255,255,255,0.90);
    line-height: 1.6;
    padding: 7px 0 7px 20px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.artpg-takeaway ul li:last-child { border-bottom: none; }
.artpg-takeaway ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #4d9ca6;
    font-weight: 700;
    font-size: 16px;
}
.artpg-divider {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 40px 0;
}
.artpg-conclusion {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 28px 30px;
    margin-top: 36px;
}
.artpg-conclusion h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #075d63;
    margin: 0 0 12px;
}
.artpg-conclusion p {
    font-size: 14px !important;
    color: #444 !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

/* -------------------------------------------------------
   ARTICLE SIDEBAR
   ------------------------------------------------------- */
.artpg-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 24px;
}
.artpg-scard {
    border: 1px solid #e0e0e0;
    background: #fff;
}
.artpg-scard-header {
    background: #075d63;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 10px 16px;
}
.artpg-scard-body {
    padding: 18px 16px;
}
.artpg-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 12px;
    color: #666;
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
}
.artpg-meta-row:last-child { border-bottom: none; }
.artpg-meta-row strong { color: #2D2D2D; font-size: 13px; }
.artpg-toc {
    list-style: none;
    padding: 0;
    margin: 0;
}
.artpg-toc li {
    font-size: 12px;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}
.artpg-toc li:last-child { border-bottom: none; }
.artpg-toc a {
    display: block;
    padding: 8px 4px;
    color: #555;
    text-decoration: none;
    transition: color 0.15s;
}
.artpg-toc a:hover { color: #075d63; padding-left: 8px; }
.artpg-cta-card {
    background: #042f34;
    padding: 22px 18px;
}
.artpg-cta-card h3 {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
}
.artpg-cta-card p {
    font-size: 12px;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    margin: 0 0 16px;
}
.artpg-cta-btn {
    display: block;
    text-align: center;
    padding: 10px 16px;
    background: #075d63;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 2px;
    margin-bottom: 8px;
}
.artpg-cta-btn:hover { background: #4d9ca6; color: #fff; text-decoration: none; }
.artpg-cta-phone {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.80);
    text-decoration: none;
    padding: 6px 0;
}
.artpg-cta-phone:hover { color: #fff; text-decoration: none; }

/* -------------------------------------------------------
   ARTICLE PAGE — related articles footer
   ------------------------------------------------------- */
.artpg-related {
    background: #f5f5f5;
    padding: 52px 0;
    border-top: 1px solid #e0e0e0;
}
.artpg-related h2 {
    font-size: 18px;
    font-weight: 800;
    color: #2D2D2D;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 28px;
}
.artpg-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.artpg-related-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #075d63;
    padding: 22px 20px;
    text-decoration: none;
    display: block;
    transition: box-shadow 0.15s;
}
.artpg-related-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.09); text-decoration: none; }
.artpg-related-card-date { font-size: 11px; color: #999; margin-bottom: 8px; display: block; }
.artpg-related-card h3 { font-size: 14px; font-weight: 700; color: #2D2D2D; margin: 0 0 8px; line-height: 1.4; }
.artpg-related-card p { font-size: 12px; color: #666; line-height: 1.6; margin: 0 0 12px; }
.artpg-related-card span { font-size: 11px; font-weight: 700; color: #075d63; text-transform: uppercase; letter-spacing: 0.4px; }
@media (max-width: 576px) { .artpg-related-grid { grid-template-columns: 1fr; } }
