.elementor-346 .elementor-element.elementor-element-c96cc73{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );color:var( --e-global-color-primary );}.elementor-346 .elementor-element.elementor-element-17c423c{text-align:center;}.elementor-346 .elementor-element.elementor-element-17c423c .elementor-heading-title{font-family:"Prompt", Sans-serif;font-size:48px;font-weight:400;line-height:1.2px;}.elementor-widget-loop-grid .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-widget-loop-grid .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-widget-loop-grid .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-346 .elementor-element.elementor-element-350a159{--grid-columns:3;}:root{--page-title-display:none;}@media(max-width:1024px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-346 .elementor-element.elementor-element-17c423c .elementor-heading-title{font-size:32px;}.elementor-widget-loop-grid .elementor-pagination{font-size:var( --e-global-typography-secondary-font-size );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-widget-loop-grid .elementor-button{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-widget-loop-grid .e-load-more-message{font-size:var( --e-global-typography-secondary-font-size );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-346 .elementor-element.elementor-element-350a159{--grid-columns:2;}}@media(max-width:767px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-346 .elementor-element.elementor-element-17c423c .elementor-heading-title{font-size:20px;letter-spacing:1.2px;}.elementor-widget-loop-grid .elementor-pagination{font-size:var( --e-global-typography-secondary-font-size );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-widget-loop-grid .elementor-button{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-widget-loop-grid .e-load-more-message{font-size:var( --e-global-typography-secondary-font-size );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-346 .elementor-element.elementor-element-350a159{--grid-columns:1;}}/* Start custom CSS for container, class: .elementor-element-c96cc73 *//* =========================================
   สไตล์หน้ารวม Archive (Grid & Pagination)
========================================= */

/* 1. จัดระเบียบระยะห่างของตาราง Grid ให้โปร่งๆ */
.ram-archive-grid {
    margin-top: 30px;
    margin-bottom: 50px;
}

/* 2. แปลงโฉมปุ่มเปลี่ยนหน้า (Pagination) ให้เป็นวงกลมสไตล์พรีเมียม */
.ram-archive-grid .elementor-pagination {
    margin-top: 50px !important;
    display: flex;
    justify-content: center;
    gap: 8px; /* ระยะห่างระหว่างปุ่ม */
}

.ram-archive-grid .elementor-pagination a,
.ram-archive-grid .elementor-pagination span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%; /* บังคับปุ่มกลมเป๊ะ */
    font-size: 16px;
    font-weight: 600;
    color: #003B71;
    background-color: #f0f6fc; /* สีพื้นหลังฟ้าอ่อนๆ */
    transition: all 0.3s ease;
    padding: 0 !important;
}

/* 3. ลูกเล่นตอนเอาเมาส์ชี้ปุ่มเปลี่ยนหน้า */
.ram-archive-grid .elementor-pagination a:hover {
    background-color: #007BFF;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25);
}

/* 4. สไตล์ปุ่มของหน้าปัจจุบัน (หน้าที่กำลังเปิดอยู่) */
.ram-archive-grid .elementor-pagination .current {
    background-color: #003B71 !important; /* สีน้ำเงินเข้ม รพ.ราม */
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(0, 59, 113, 0.25);
}

/* 5. แต่งหัวข้อหน้า Archive (มีเส้นใต้เท่ๆ ตรงกลาง) */
.ram-archive-title {
    text-align: center;
    color: #003B71 !important;
    font-size: clamp(28px, 4vw, 38px) !important;
    font-weight: 700;
    margin-bottom: 30px !important;
    position: relative;
    padding-bottom: 15px !important;
}

/* สร้างเส้นใต้สีฟ้า/ส้ม ดึงดูดสายตา */
.ram-archive-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #007BFF; 
    border-radius: 2px;
}/* End custom CSS */