/* ==========================================================================
   Content Pages - UI.com Style
   Version: 1.1.0 (About Page Added)
   ========================================================================== */

/* 1. Standard Content Pages (Privacy, Terms, Default) */
body.page-template-default .site-main .container {
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 24px;
}

body.page-template-default h1.page-title {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin-bottom: 48px;
    text-align: center;
}

body.page-template-default .site-main p {
    font-size: 16px;
    line-height: 1.6;
    color: #404040;
    margin-bottom: 24px;
}

body.page-template-default .site-main h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 48px;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

body.page-template-default .site-main h3 {
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    margin-top: 32px;
    margin-bottom: 16px;
}

body.page-template-default .site-main ul,
body.page-template-default .site-main ol {
    margin-bottom: 24px;
    padding-left: 24px;
    color: #404040;
}

body.page-template-default .site-main li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* 2. Contacts Page Redesign */
.contacts-page {
    padding: 64px 0 0;
    background: #fff;
}

.contacts-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
    padding: 0 24px;
}

.contacts-header h1 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.contacts-header p {
    font-size: 18px;
    color: #737373;
    line-height: 1.5;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1440px;
    margin: 0 auto;
}

.contacts-info-panel {
    padding: 64px;
    background: #F9F9FA;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    margin-bottom: 48px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #737373;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.contact-value {
    font-size: 24px;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    text-decoration: none;
    line-height: 1.3;
}

.contact-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.contact-value a:hover {
    color: #006FFF;
}

.contact-sub {
    display: block;
    font-size: 16px;
    color: #737373;
    margin-top: 8px;
    font-weight: 400;
}

.contacts-map-panel {
    min-height: 600px;
    position: relative;
    background: #E5E7EB;
}

.contacts-map-panel iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) contrast(90%) brightness(110%);
}

/* 4. About Page Redesign */
.about-hero {
    background: linear-gradient(180deg, #F9F9FA 0%, #FFFFFF 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.about-title {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.about-subtitle {
    font-size: 20px;
    color: #737373;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.about-mission {
    padding: 80px 0;
    border-bottom: 1px solid #E5E7EB;
}

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

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

.mission-icon {
    width: 64px;
    height: 64px;
    background: #F4F4F5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #1a1a1a;
}

.mission-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.mission-card p {
    font-size: 14px;
    color: #737373;
    line-height: 1.6;
}

.about-story {
    padding: 80px 0;
}

.story-content {
    max-width: 720px;
    margin: 0 auto;
}

.story-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.story-content h2:first-child {
    margin-top: 0;
}

.story-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #404040;
    margin-bottom: 24px;
}

.about-cta {
    background: #F9F9FA;
    text-align: center;
    padding: 80px 0;
}

.about-cta h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.about-cta p {
    font-size: 18px;
    color: #737373;
    margin-bottom: 32px;
}

body.page-template-page-about .site-main .container {
    max-width: 1000px;
}

/* Mobile Responsive */
@media (max-width: 960px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contacts-map-panel {
        min-height: 400px;
        order: 2;
    }

    .contacts-info-panel {
        padding: 48px 24px;
        order: 1;
    }

    .contacts-header h1 {
        font-size: 32px;
    }

    /* About Mobile */
    .about-title {
        font-size: 40px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}