.operation-section {
    padding: 50px 0;
}

.operation-title {
    border-left: 6px solid var(--color-primary);
    padding-left: 10px;
    color: black;
    font-size: 28px;
    font-weight: 300;
    margin: 20px 0;
}

.operation-card {
    background-color: white;
    color: black;
    padding: 20px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 10px;
    box-shadow: 0 2px 5px #B7AEDE73;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.operation-card:hover {
    transform: translateY(-5px);
}

.operation-card-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.operation-card-content img {
    width: 90px;
    height: 90px;
    background-color: #F9EEF7;
    padding: 15px;
    border-radius: 10px;
}

.oit-intro h4 {
    font-weight: 700;
    margin-top: 1rem;
}

.oit-intro h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.oit-intro p {
    margin-bottom: 0;
}

.pdf-container {
    width: 100%;
    height: 1000px;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 50px;
}

table.content-table {
    width: 100%;
    border: 1px solid #dee2e6;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

table.content-table thead tr>*,
table.content-table tr:first-child>th,
table.content-table>tbody>tr:first-child>td,
table.content-table>tr:first-child>td {
    background-color: #b63d97;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
    font-weight: 500;
    padding: 15px;
    border: 1px solid #dee2e6;
}

table.content-table td {
    vertical-align: top;
    padding: 20px;
    border: 1px solid #dee2e6;
    color: #333;
    font-size: 0.95rem;
}

table.content-table>tbody>tr:nth-of-type(odd):not(:first-child),
table.content-table>tr:nth-of-type(odd):not(:first-child) {
    background-color: #f2f5fc;
}

table.content-table>tbody>tr:nth-of-type(even):not(:first-child),
table.content-table>tr:nth-of-type(even):not(:first-child) {
    background-color: #ffffff;
}

table.content-table>tbody>tr:not(:first-child)>td:first-child,
table.content-table>tr:not(:first-child)>td:first-child {
    text-align: center;
    font-weight: 700;
}

table.content-table>tbody>tr:not(:first-child)>td:nth-child(2),
table.content-table>tr:not(:first-child)>td:nth-child(2) {
    font-weight: 700;
}

table.content-table tr>*:nth-child(1) {
    width: 5%;
}

table.content-table tr>*:nth-child(2) {
    width: 15%;
}

table.content-table tr>*:nth-child(3) {
    width: 50%;
}

table.content-table tr>*:nth-child(4) {
    width: 30%;
}

table.content-table.content-table--3col tr>*:nth-child(1) {
    width: 80px;
}

table.content-table.content-table--3col tr>*:nth-child(2) {
    width: auto;
}

table.content-table.content-table--3col tr>*:nth-child(3) {
    width: 160px;
}

table.content-table.content-table--doc tr>*:nth-child(1) {
    width: 180px;
}

table.content-table.content-table--doc tr>*:nth-child(2) {
    width: auto;
}

table.content-table.content-table--doc tr>*:nth-child(3) {
    width: 220px;
}

.doc-download-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b63d97 !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.25s ease;
}

.doc-download-link span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.doc-download-link i {
    font-size: 0.95rem;
    color: #b63d97;
    transition: transform 0.25s ease;
}

.doc-download-link:hover {
    color: #8e2c76 !important;
}

.doc-download-link:hover i {
    transform: translateY(2px);
    color: #8e2c76;
}

.stat-list {
    border: 1px solid #f0e3ec;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(182, 61, 151, 0.06);
}

.stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 28px;
    background-color: #ffffff;
    border-bottom: 1px solid #f5e9f1;
    transition: background-color 0.2s ease;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row:nth-child(even) {
    background-color: #fdf5fb;
}

.stat-row:hover {
    background-color: #f9e8f3;
}

.stat-title {
    flex: 1;
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

.stat-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b63d97;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.25s ease;
}

.stat-download i {
    font-size: 0.95rem;
    transition: transform 0.25s ease;
}

.stat-download:hover {
    color: #8e2c76;
    text-decoration: none;
}

.stat-download:hover i {
    transform: translateY(2px);
}

.stat-status {
    color: #999;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .stat-row {
        padding: 14px 18px;
        gap: 16px;
        flex-direction: column;
        align-items: flex-start;
    }
}

table.content-table ul {
    padding-left: 18px;
    margin-bottom: 0;
}

table.content-table li {
    margin-bottom: 6px;
    line-height: 1.6;
}

table.content-table u b,
table.content-table b u,
table.content-table strong u,
table.content-table u strong {
    text-decoration: underline;
    font-weight: 600;
}

table.content-table td a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

table.content-table td a:hover {
    color: #688ed6;
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.social-links .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f3f5;
    color: #495057;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.social-links .social-link:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.social-links .social-link:has(.fa-facebook):hover {
    background-color: #1877f2;
    color: #fff;
}

.social-links .social-link:has(.fa-youtube):hover {
    background-color: #ff0000;
    color: #fff;
}

.social-links .social-link:has(.fa-line):hover {
    background-color: #06c755;
    color: #fff;
}

.social-links .social-link:has(.fa-instagram):hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.social-links .social-link:has(.fa-tiktok):hover {
    background-color: #000;
    color: #fff;
}

.social-links .social-link:has(.fa-x-twitter):hover {
    background-color: #000;
    color: #fff;
}

.social-links .social-link:has(.fa-telegram):hover {
    background-color: #0088cc;
    color: #fff;
}

.social-links .social-link:has(.fa-globe):hover,
.social-links .social-link:has(.fa-envelope):hover {
    background-color: #688ed6;
    color: #fff;
}

.oit-hero-banner {
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.oit-hero-content {
    background-color: rgba(248, 250, 252, 0.85);
    border-radius: 15px;
    padding: 40px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
    max-width: 900px;
    margin: 0 auto;
}

.oit-hero-content h2,
.oit-hero-content h4,
.oit-hero-content h5 {
    color: #1a1a1a;
}

.oit-hero-content p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

.oit-detail-card {
    border-top: 6px solid #b63d97 !important;
    border-radius: 15px !important;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.3s ease;
}

.oit-detail-card:hover {
    transform: translateY(-5px);
}

.oit-detail-card .operation-card-content {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.ita-img {
    width: 100%;
    aspect-ratio: 11 / 5;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}

.ita-label-container {
    background-color: #b63d97;
    color: white;
    text-align: center;
    padding: 10px 0;
    border-radius: 0 0 10px 10px;
}

.ita-label {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.operation-card.ita-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: none;
    overflow: hidden;
}

.operation-card.ita-card .operation-card-content {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background-color: #ffffff;
    border: 1px solid #f0e3ec;
    border-radius: 12px;
    padding: 20px 28px;
    color: #333;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(182, 61, 151, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(182, 61, 151, 0.18);
    border-color: #b63d97;
    color: #b63d97;
    text-decoration: none;
}

.download-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background-color: #b63d97;
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: background-color 0.25s ease;
}

.download-card:hover .download-icon {
    background-color: #8e2c76;
}

.download-title {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
}

.download-card--disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.download-card--disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(182, 61, 151, 0.08);
    border-color: #f0e3ec;
    color: #333;
}

.download-card--disabled:hover .download-icon {
    background-color: #b63d97;
}

.download-status {
    color: #999;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .download-card {
        padding: 16px 18px;
        gap: 16px;
    }

    .download-icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .download-title {
        font-size: 0.95rem;
    }
}

.address-map {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(182, 61, 151, 0.08);
}

.address-map iframe,
.address-map img {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
    object-fit: cover;
}

/* แผนที่ + รูปจากหลังบ้าน แบ่งครึ่ง — ถ้าไม่ได้อัปรูป จะไม่ใส่ --split แผนที่เต็มความกว้างเหมือนเดิม */
.address-media--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* ย้าย margin มาไว้ที่ wrapper ไม่งั้นจะไปบวกกับ gap ของ grid */
.address-media--split .address-map {
    margin-bottom: 0;
}

/* รูปจากหลังบ้าน กดเพื่อซูมได้ (lightbox) — ต้องบอกผู้ใช้ว่ากดได้ */
.address-map img.lightbox-enabled {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.address-map img.lightbox-enabled:hover {
    transform: scale(1.03);
}

.address-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.address-info__box {
    padding: 40px;
    border-radius: 10px;
    font-size: 18px;
    line-height: 1.9;
}

.address-info__box--location {
    background-color: var(--color-secondary);
    color: #333;
}

.address-info__box--hours {
    background-color: var(--color-primary);
    color: #fff;
}

.address-info__title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

.address-info__box--location .address-info__title {
    color: var(--color-primary);
}

.address-info__box--hours .address-info__title {
    color: #fff;
}

.address-info__box--hours a {
    color: #fff;
    text-decoration: underline;
}

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

    .address-info__box {
        padding: 28px;
    }

    .address-map iframe,
    .address-map img {
        height: 320px;
    }

    .address-media--split {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ececec;
}

.faq-item.is-open {
    border-color: var(--color-primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 28px;
    background-color: #f2f2f2;
    color: #333;
    border: none;
    text-align: left;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.faq-question:hover {
    background-color: var(--color-secondary);
}

.faq-item.is-open .faq-question {
    background-color: var(--color-primary);
    color: #fff;
}

.faq-question__icon {
    flex-shrink: 0;
    font-size: 22px;
    transition: transform 0.3s ease;
}

.faq-item.is-open .faq-question__icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: #fff;
    transition: max-height 0.35s ease;
}

.faq-answer__inner {
    padding: 24px 28px;
    font-size: 18px;
    line-height: 1.9;
    color: #333;
}

.faq-answer__inner > :first-child {
    margin-top: 0;
}

.faq-answer__inner > :last-child {
    margin-bottom: 0;
}

.faq-answer__inner a {
    color: var(--color-primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 16px 20px;
        font-size: 17px;
    }

    .faq-answer__inner {
        padding: 18px 20px;
        font-size: 16px;
    }
}
/* หน้ารายละเอียดจัดซื้อจัดจ้าง (egp-detail) */
.egp-detail-meta {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    font-size: 16px;
    line-height: 2;
}
.egp-detail-meta li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}
.egp-detail-meta strong {
    color: var(--color-primary);
    margin-right: 6px;
}
