/* AWD Custom Block CSS */

/* ==========================================================================
  Timeline
  ========================================================================== */
.awd-timeline { display: flex; flex-direction: column; gap: 3rem; }
.awd-timeline-event { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.awd-timeline-text, .awd-timeline-image { flex: 1 1 45%; }

/* ==========================================================================
  Career Post Shortcode
  ========================================================================== */

/* Shared item styles */
.awd-career-item { padding: 40px 30px; border: 1px solid ##f3e7c8; border-radius: 0; background-color: #f3e7c8; display: flex; flex-direction: column; align-items: flex-start; }
.awd-career-item-header h3.awd-career-title { font-size: 32px; }
.awd-career-excerpt { color: #555; margin-bottom: 1rem; }
.awd-career-item-cta { margin-bottom: 0; margin-top: auto; }
.awd-career-button { border: 1px solid var(--ast-global-color-0); background: var(--ast-global-color-0); border-radius: 0; font-weight: 500; line-height: 1; font-size: 1rem; padding: 15px 30px; display: inline-block; max-width: 200px; font-family: 'David Libre', serif; color: #fff; }
.career-lang-toggle a:hover { background: black; border-color: black; }
.awd-career-button:hover, .awd-career-button:focus, .career-lang-toggle a:hover, .career-lang-toggle a:focus, a.button.application-button:hover, a.button.application-button:focus { background: #000; border-color: #000; color: #fff; }

/* List layout (default) */
.awd-career-list { display: flex; flex-direction: column; gap: 2rem; }

/* Grid layout */
.awd-career-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; max-width: 1140px; margin: 50px auto; }

/* ================================
Slick Post Slider
================================ */
.awd-post-slider .slide { padding: 10px; }
.awd-post-slider .slide-link { display: block; text-decoration: none; color: inherit; }
.awd-post-slider .slide-image img { aspect-ratio: 455 / 284; width: 100%; height: auto; object-fit: cover; }
.awd-post-slider .slide-meta { margin-top: 10px; }
.awd-post-slider .slide-date { font-style: italic; font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 500; }
.awd-post-slider .slide-title { font-family: 'David Libre', serif; font-size: 40px; letter-spacing: -1px; margin: 0.3em 0 0; position: relative; left: -7px; line-height: 1.1em; }
.awd-post-slider .slick-prev, .awd-post-slider .slick-next { background: none; border: none; padding: 0; position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; cursor: pointer; }
.awd-post-slider .slick-prev { left: -40px; }
.awd-post-slider .slick-next { right: -40px; }
.awd-post-slider .slick-prev svg, .awd-post-slider .slick-next svg { width: 36px; height: 36px; transition: transform 0.2s ease; }
.awd-post-slider .slick-prev:hover svg, .awd-post-slider .slick-next:hover svg { transform: scale(1.15); }

/* Table Filter */
.table-filter-wrap {display:flex; flex-wrap:wrap;}
.table-filter-wrap .region-btn {padding:12px 20px; color:#ffffff; background-color:#8E0100; margin: 10px; width: 175px; text-align: center; cursor:pointer;}
.table-filter-wrap .region-btn.highlighted {background-color:#000000;}
.tablepress th {color:#ffffff !important; background-color:#8E0100 !important;}
.tablepress th:hover {background-color:#000000 !important;}

.tablepress thead .dt-orderable-asc .dt-column-order:before, .tablepress thead .dt-orderable-desc .dt-column-order:after {color:#ffffff;}
.tablepress.highlighted tbody tr {display:none;}
.tablepress.highlighted tbody tr.highlighted {display:table-row;}