/*
Theme Name: Bukken Tokusetsu Theme
Theme URI: https://sumai-agent.jp/theme/marine-corpora
Description: 「マリンコーポ浦賀 202号室」の個別販売促進用に最適化された、超軽量・高SEOパフォーマンスの1物件特化型LP＆コラムメディアテーマ。
Version: 1.0.0
Author: 株式会社住まいエージェント
Author URI: https://sumai-agent.jp/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, featured-images, responsive-layout, translation-ready, one-column
Text Domain: bukken-tokusetsu-theme
*/

:root {
    --primary-navy: #0A2240;
    --accent-teal: #14B8A6;
    --accent-gold: #D97706;
    --bg-sand: #FAF8F5;
    --text-dark: #2C3E50;
    --text-light: #576574;
    --white: #FFFFFF;
    --spec-color: #3F51B5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #E2E8F0;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.workspace {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
}

.control-panel {
    width: 400px;
    background-color: #0F172A;
    color: #F1F5F9;
    padding: 30px;
    box-shadow: 4px 0 15px rgba(0,0,0,0.15);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 10;
}

.preview-area {
    margin-left: 400px;
    flex-grow: 1;
    background-color: var(--bg-sand);
    min-height: 100vh;
    padding-bottom: 100px;
}

@media (max-width: 1024px) {
    .workspace {
        flex-direction: column;
    }
    .control-panel {
        width: 100%;
        position: relative;
        height: auto;
        box-shadow: none;
    }
    .preview-area {
        margin-left: 0;
    }
}

h1, h2, h3, h4 {
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--accent-teal);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
    background-color: #0D9488;
}

.badge-amber {
    background-color: #FEF3C7;
    color: #D97706;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.spec-toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px dashed rgba(255,255,255,0.2);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #475569;
    transition: .4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-teal);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.blueprint-spec {
    border: 2px dashed var(--spec-color);
    position: relative;
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    background-color: rgba(63, 81, 181, 0.03);
    z-index: 2;
    text-align: left;
}

.blueprint-spec::before {
    content: "💡 狙いと設計指示";
    position: absolute;
    top: -12px;
    left: 15px;
    background-color: var(--spec-color);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.hidden {
    display: none !important;
}

.lp-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px clamp(15px, 4vw, 40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 20;
}

@media (max-width: 640px) {
    .lp-header {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
        text-align: center;
    }
    .lp-header .logo {
        flex-wrap: wrap;
        justify-content: center;
    }
    .lp-header .btn {
        width: 100%;
        font-size: 13px;
        padding: 12px 16px;
    }
}

.lp-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-header .logo .icon {
    color: var(--accent-teal);
    font-size: 24px;
}

.lp-header .logo .brand-name {
    font-weight: 900;
    color: var(--primary-navy);
    font-size: 18px;
    letter-spacing: 1px;
}

.lp-header .logo .room-num {
    background-color: var(--primary-navy);
    color: var(--white);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
}

.fv-section {
    padding: clamp(100px, 12vw, 160px) clamp(15px, 4vw, 40px) clamp(80px, 10vw, 140px);
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    background-attachment: fixed;
}

.fv-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--bg-sand), transparent);
}

.fv-tagline {
    color: var(--accent-teal);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.fv-main-title {
    font-size: clamp(24px, 4vw + 8px, 46px);
    line-height: 1.4;
    margin-bottom: 30px;
    font-weight: 900;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.fv-main-title span {
    color: #38BDF8;
    background: linear-gradient(transparent 70%, rgba(56, 189, 248, 0.2) 30%);
}

.fv-lead {
    font-size: clamp(15px, 1.5vw + 8px, 19px);
    max-width: 850px;
    margin: 0 auto 40px;
    color: #E2E8F0;
    line-height: 1.8;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.fv-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.fv-badge {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
}

.fv-badge strong {
    color: #38BDF8;
}

.pain-section, .showcase-section, .video-section, .compare-section, .spec-grid-section, .plan-section, .map-section, .myths-section, .media-section, .cta-section {
    padding: clamp(40px, 8vw, 80px) clamp(15px, 4vw, 40px);
}

.section-title {
    font-size: clamp(22px, 3vw + 8px, 32px);
    color: var(--primary-navy);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 900;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-teal);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 50px;
    text-align: center;
}

.pain-section {
    background-color: var(--white);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .pain-grid {
        grid-template-columns: 1fr;
    }
}

.pain-card {
    background-color: #F8FAFC;
    padding: 35px 30px;
    border-radius: 12px;
    text-align: left;
    border-top: 4px solid #94A3B8;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border-top-color: var(--accent-teal);
}

.pain-card i {
    font-size: 32px;
    color: #64748B;
    margin-bottom: 20px;
}

.pain-card h4 {
    font-size: 19px;
    color: var(--primary-navy);
    margin-bottom: 12px;
    font-weight: 700;
}

.pain-card p {
    font-size: 14px;
    color: var(--text-light);
}

.showcase-section {
    background-color: #F1F5F9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 30px auto 0;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: #CBD5E1;
}

.gallery-info {
    padding: 15px;
    background-color: var(--white);
    border-top: 1px solid #E2E8F0;
}

.gallery-tag {
    font-size: 11px;
    background-color: #E0F2FE;
    color: #0369A1;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 8px;
}

.gallery-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-navy);
}

.video-section {
    background-color: var(--white);
    border-bottom: 1px solid #E2E8F0;
}

.video-container-wrapper {
    max-width: 950px;
    margin: 0 auto;
    background: #0F172A;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-aspect-ratio {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-aspect-ratio iframe,
.video-aspect-ratio video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-overlay-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(185deg, rgba(10, 34, 64, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%),
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 5;
}

.video-overlay-play:hover {
    opacity: 0.95;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    background: var(--accent-teal);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 32px;
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.6);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 20px;
}

.video-overlay-play:hover .video-play-btn {
    transform: scale(1.15);
    background-color: #0D9488;
}

.video-meta-info {
    text-align: center;
    color: var(--white);
}

.video-meta-info h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.video-meta-info p {
    font-size: 14px;
    color: #CBD5E1;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.compare-section {
    background-color: var(--bg-sand);
}

.calculator-box {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 950px;
    margin: 0 auto;
    padding: 45px;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
    .calc-inputs {
        border-right: none !important;
        padding-right: 0 !important;
        border-bottom: 1px solid #E2E8F0;
        padding-bottom: 30px;
    }
}

.calc-inputs {
    border-right: 1px solid #E2E8F0;
    padding-right: 40px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-navy);
}

.input-group select, .input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.input-group select:focus, .input-group input:focus {
    border-color: var(--accent-teal);
}

.calc-results {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calc-bar {
    margin-bottom: 25px;
}

.calc-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.bar-outer {
    width: 100%;
    height: 28px;
    background-color: #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.bar-inner-rent {
    height: 100%;
    background-color: #EF4444;
    color: white;
    text-align: right;
    padding-right: 15px;
    font-size: 11px;
    font-weight: 700;
    line-height: 28px;
    transition: width 0.5s ease;
}

.bar-inner-buy {
    height: 100%;
    background-color: var(--accent-teal);
    color: white;
    text-align: right;
    padding-right: 15px;
    font-size: 11px;
    font-weight: 700;
    line-height: 28px;
    transition: width 0.5s ease;
}

.savings-highlight {
    background-color: #ECFDF5;
    border: 1px solid #A7F3D0;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 15px;
    box-shadow: 0 4px 6px rgba(4, 120, 87, 0.02);
}

.savings-highlight span {
    color: #047857;
    font-size: 22px;
    font-weight: 900;
}

.spec-grid-section {
    background-color: var(--white);
}

.spec-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .spec-container {
        grid-template-columns: 1fr;
    }
}

.spec-card {
    background-color: #F8FAFC;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid #E2E8F0;
}

.spec-card-image-wrap {
    position: relative;
    overflow: hidden;
    height: 300px;
    background-color: #CBD5E1;
    cursor: pointer;
}

.spec-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.spec-card:hover img {
    transform: scale(1.03);
}

.spec-card-content {
    padding: 30px;
}

.spec-card h3 {
    color: var(--primary-navy);
    font-size: 21px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-card h3 i {
    color: var(--accent-teal);
}

.spec-card ul {
    list-style: none;
    padding-left: 0;
}

.spec-card li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-dark);
}

.spec-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: 900;
    font-size: 16px;
}

.sub-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 40px auto 0;
}

@media (max-width: 768px) {
    .sub-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.sub-spec-card {
    background-color: #F8FAFC;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    cursor: pointer;
    transition: transform 0.2s;
}

.sub-spec-card:hover {
    transform: translateY(-3px);
}

.sub-spec-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background-color: #CBD5E1;
}

.sub-spec-body {
    padding: 15px;
}

.sub-spec-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.sub-spec-desc {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
}

.plan-section {
    background-color: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.plan-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 50px;
    align-items: center;
}

@media (max-width: 900px) {
    .plan-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.plan-image-box {
    background-color: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.plan-desc-box h3 {
    color: var(--primary-navy);
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 900;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.plan-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
}

.plan-features li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--accent-teal);
    font-size: 18px;
}

.summary-table-box {
    max-width: 1100px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

@media (max-width: 768px) {
    .summary-table-box {
        padding: 20px;
    }
}

.summary-table-box h3 {
    color: var(--primary-navy);
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
}

.summary-table tr {
    border-bottom: 1px solid #E2E8F0;
}

.summary-table tr:last-child {
    border-bottom: none;
}

.summary-table th, .summary-table td {
    padding: 15px 20px;
    text-align: left;
    font-size: 14px;
}

.summary-table th {
    background-color: #F8FAFC;
    color: var(--primary-navy);
    font-weight: 700;
    width: 25%;
}

.summary-table td {
    color: var(--text-dark);
    width: 75%;
}

@media (max-width: 768px) {
    .summary-table th, .summary-table td {
        display: block;
        width: 100%;
        padding: 10px 15px;
    }
    .summary-table th {
        background-color: #F1F5F9;
        border-bottom: none;
    }
}

.map-section {
    background-color: var(--white);
    border-bottom: 1px solid #E2E8F0;
}

.map-grid {
    display: grid;
    grid-template-columns: 1.6fr 1.4fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .map-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.map-iframe-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    height: 450px;
}

.map-iframe-container iframe {
    width: 100%;
    height: 100%;
}

.spot-card-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.spot-item {
    background-color: #F8FAFC;
    border-radius: 12px;
    padding: 15px 20px;
    border-left: 4px solid var(--accent-teal);
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.spot-item i {
    font-size: 20px;
    color: var(--accent-teal);
    margin-top: 3px;
}

.spot-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 3px;
}

.spot-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

.myths-section {
    background-color: var(--primary-navy);
    color: var(--white);
}

.myth-list {
    max-width: 950px;
    margin: 0 auto;
}

.myth-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .myth-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    .myth-left {
        border-right: none !important;
        padding-right: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 15px;
    }
}

.myth-left {
    border-right: 1px solid rgba(255,255,255,0.1);
    padding-right: 35px;
}

.myth-left h4 {
    font-size: 14px;
    color: #94A3B8;
    margin-bottom: 8px;
    font-weight: 500;
}

.myth-left p {
    font-size: 21px;
    font-weight: 700;
    color: #FCA5A5;
    line-height: 1.4;
}

.myth-right h4 {
    font-size: 19px;
    color: var(--accent-teal);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.myth-right p {
    font-size: 14px;
    color: #CBD5E1;
    line-height: 1.7;
}

.media-section {
    background-color: var(--white);
}

.media-container {
    max-width: 1100px;
    margin: 0 auto;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.media-card {
    background-color: #F8FAFC;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.media-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background-color: #CBD5E1;
}

.media-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.media-card-tag {
    font-size: 11px;
    background-color: #E0F2FE;
    color: #0369A1;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    align-self: flex-start;
    margin-bottom: 10px;
}

.media-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 12px;
    line-height: 1.4;
    height: 4.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.media-card-excerpt {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .media-card {
        flex-direction: column !important;
        min-height: auto !important;
    }
    .media-card-img {
        width: 100% !important;
        height: 200px !important;
        min-height: auto !important;
    }
    .media-card-body {
        width: 100% !important;
        padding: 15px !important;
    }
}

.read-more-btn {
    background-color: transparent;
    color: var(--accent-teal);
    border: 1px solid var(--accent-teal);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.read-more-btn:hover {
    background-color: var(--accent-teal);
    color: var(--white);
}

.slider-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.slider-slide {
    width: 100%;
    flex-shrink: 0;
    padding: 10px;
    box-sizing: border-box;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--primary-navy);
}

.slider-btn:hover {
    background-color: var(--accent-teal);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(20, 184, 166, 0.3);
}

.slider-btn.prev {
    left: -24px;
}

.slider-btn.next {
    right: -24px;
}

@media (max-width: 768px) {
    .slider-btn {
        width: 38px;
        height: 38px;
    }
    .slider-btn.prev {
        left: 5px;
    }
    .slider-btn.next {
        right: 5px;
    }
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #CBD5E1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--accent-teal);
    width: 24px;
    border-radius: 5px;
}

.article-page {
    position: fixed;
    top: 0;
    left: 400px;
    right: 0;
    bottom: 0;
    background-color: var(--bg-sand);
    z-index: 50;
    overflow-y: auto;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1024px) {
    .article-page {
        left: 0;
    }
}

.article-page.active {
    transform: translateX(0);
}

.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    cursor: pointer;
}

.article-back-link:hover {
    color: var(--accent-teal);
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #E2E8F0;
}

@media (max-width: 768px) {
    .article-container {
        padding: 25px;
    }
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.seo-url-badge {
    background-color: #E2E8F0;
    color: #475569;
    font-family: monospace;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.article-banner {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    background-color: #CBD5E1;
}

.article-content-body {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.9;
}

.article-content-body p {
    margin-bottom: 25px;
}

.article-content-body strong {
    color: var(--primary-navy);
    background: linear-gradient(transparent 65%, #FEF08A 35%);
    font-weight: 700;
}

.article-cta-box {
    margin-top: 40px;
    background-color: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.article-cta-box h4 {
    color: var(--primary-navy);
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    background-color: #1E293B;
}

.lightbox-caption {
    color: var(--white);
    margin-top: 15px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.2s;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.cta-section {
    background-color: var(--bg-sand);
}

.cta-box {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 950px;
    margin: 0 auto;
    padding: 45px;
    border-top: 4px solid var(--accent-teal);
}

@media (max-width: 768px) {
    .cta-box {
        padding: 25px;
    }
}

.cta-box h2 {
    font-size: 28px;
    color: var(--primary-navy);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 900;
}

.cta-box p {
    font-size: 15px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-navy);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-teal);
}

.lp-footer {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 60px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}
