﻿/* TNG Elementor Widgets Styles */

/* Custom Header Widget */
.tng-custom-header {
    margin: 0 0 1.5rem;
    font-weight: 700;
}

/* Introduction Content Widget */
.tng-introduction-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 2rem 0;
}

/* Two Column Image and Content Widget */
.tng-two-column-image-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin: 2rem 0;
}

.tng-two-column-image-content.image-right .tng-image-column {
    order: 2;
}

.tng-two-column-image-content.image-right .tng-content-column {
    order: 1;
}

.tng-two-column-image-content .tng-image-column img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .tng-two-column-image-content {
        grid-template-columns: 1fr;
    }
    
    .tng-two-column-image-content.image-right .tng-image-column,
    .tng-two-column-image-content.image-right .tng-content-column {
        order: unset;
    }
}

/* Two Column Content Widget */
.tng-two-column-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .tng-two-column-content {
        grid-template-columns: 1fr;
    }
}

/* Call Out Widget */
.tng-call-out {
    position: relative;
    padding: 60px 20px;
    background-color: #0066cc;
    color: #ffffff;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    background-size: cover;
    background-position: center;
}

.tng-call-out-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.tng-call-out::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Feature Title and Content Widget */
.tng-feature-block {
    text-align: center;
    padding: 2rem;
    margin: 1rem 0;
}

.tng-feature-icon {
    font-size: 40px;
    margin-bottom: 1rem;
    color: #0066cc;
}

.tng-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: #333;
}

.tng-feature-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* GF Read-Only Field (.f-readonly)
   Applied to T&C textarea fields — makes them display-only (scrollable, grey text).
   The JS in form-toggle.js also sets the readonly HTML attribute on render.
   Sourced from: themes/rund-events/css/masternew.css (live site)
   ─────────────────────────────────────────────────────────────────────────────── */
.gform_wrapper .top_label .f-readonly .ginput_container,
.gform_wrapper .left_label .f-readonly .ginput_container {
    width: 100%;
    float: none;
}
.gform_wrapper .top_label .f-readonly .ginput_container textarea,
.gform_wrapper .left_label .f-readonly .ginput_container textarea {
    width: 100%;
    background: #ffffff;
    color: #999;
    resize: none;
}
@media (min-width: 768px) {
    .gform_wrapper .top_label .f-readonly .ginput_container textarea,
    .gform_wrapper .left_label .f-readonly .ginput_container textarea {
        height: 35em;
    }
}
@media (min-width: 992px) {
    .gform_wrapper .top_label .f-readonly .ginput_container textarea,
    .gform_wrapper .left_label .f-readonly .ginput_container textarea {
        height: 47em;
    }
}

/* Bespoke Meetings Form Widget
   Styles match the live site form (request-an-invitation / delegates-booking-form)
   Sourced from: themes/rund-events/css/overridenew.css + computed styles
   Scoped to .tng-bespoke-meetings-form so they don't bleed into other GF embeds.
   ─────────────────────────────────────────────────────────────────────────────── */
.tng-bespoke-meetings-form {
    margin: 2rem 0;
}

.tng-bespoke-meetings-form .gform_wrapper {
    max-width: 100%;
    margin: 16px 0;
    font-family: Lato, sans-serif;
    font-size: 14px;
    color: #333;
}

/* Hide form title — widget is embedded in context, title not needed */
.tng-bespoke-meetings-form .gform_heading {
    display: none !important;
}

/* Field rows */
.tng-bespoke-meetings-form .gfield {
    margin: 16px 0 14px;
    padding: 0;
}

/* Labels — styled only; let GF's float:left / width:29% layout stand */
.tng-bespoke-meetings-form .gfield_label,
.tng-bespoke-meetings-form .gform-field-label {
    color: #363636;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.571;
    margin-bottom: 6px;
}

/* Required asterisk */
.tng-bespoke-meetings-form .gfield_required {
    color: #790000;
    margin-left: 4px;
}

/* Input containers — fill remaining width after the floated label */
.tng-bespoke-meetings-form .ginput_container,
.tng-bespoke-meetings-form .gselect_container {
    box-sizing: border-box;
}

/* Text / email / tel / number / password inputs — 100% wide, consistent 42px height */
.tng-bespoke-meetings-form .gfield input[type="text"],
.tng-bespoke-meetings-form .gfield input[type="email"],
.tng-bespoke-meetings-form .gfield input[type="tel"],
.tng-bespoke-meetings-form .gfield input[type="number"],
.tng-bespoke-meetings-form .gfield input[type="url"],
.tng-bespoke-meetings-form .gfield input[type="password"],
.tng-bespoke-meetings-form .gfield input.medium,
.tng-bespoke-meetings-form .gfield input.large,
.tng-bespoke-meetings-form .gfield input.small {
    width: 100% !important;
    height: 42px;
    background-color: #e1e1e1;
    border: 1px solid #b5b5b5;
    border-radius: 0;
    padding: 0 10px;
    color: #333;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 42px;
    box-shadow: none;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s;
}

.tng-bespoke-meetings-form .gfield input[type="text"]:focus,
.tng-bespoke-meetings-form .gfield input[type="email"]:focus,
.tng-bespoke-meetings-form .gfield input[type="tel"]:focus,
.tng-bespoke-meetings-form .gfield input[type="number"]:focus,
.tng-bespoke-meetings-form .gfield input[type="url"]:focus,
.tng-bespoke-meetings-form .gfield input[type="password"]:focus {
    border-color: #888;
    outline: none;
}

/* Textarea — 100% wide but auto height (comment field) */
.tng-bespoke-meetings-form .gfield textarea,
.tng-bespoke-meetings-form .gfield textarea.textarea {
    width: 100% !important;
    height: auto;
    background-color: #e1e1e1;
    border: 1px solid #b5b5b5;
    border-radius: 0;
    padding: 10px;
    color: #333;
    font-family: Lato, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: none;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s;
    resize: vertical;
    min-height: 120px;
}

.tng-bespoke-meetings-form .gfield textarea:focus {
    border-color: #888;
    outline: none;
}

/* Select — 100% wide, same 42px height, custom chevron arrow */
.tng-bespoke-meetings-form .gfield select,
.tng-bespoke-meetings-form .gfield .gfield_select,
.tng-bespoke-meetings-form .gfield select.medium,
.tng-bespoke-meetings-form .gfield select.large {
    width: 100% !important;
    height: 42px;
    background-color: #e1e1e1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23555' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    border: 1px solid #b5b5b5;
    border-radius: 0;
    padding: 0 36px 0 10px;
    color: #333;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 42px;
    box-shadow: none;
    box-sizing: border-box;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color .2s;
}

.tng-bespoke-meetings-form .gfield select:focus {
    border-color: #888;
    outline: none;
}

/* Signature field — reset left margin so it aligns with other fields */
.tng-bespoke-meetings-form .gfield--type-signature .ginput_container,
.tng-bespoke-meetings-form .gfield .ginput_container_signature {
    margin-left: 0 !important;
    width: 100% !important;
}

/* Submit button — TNG orange pill */
.tng-bespoke-meetings-form .gform_footer,
.tng-bespoke-meetings-form .gform_page_footer {
    padding: 16px 0 10px;
    margin-top: 16px;
    margin-left: 29% !important;
    width: auto !important;
}

.tng-bespoke-meetings-form .gform_button,
.tng-bespoke-meetings-form input[type="submit"],
.tng-bespoke-meetings-form button[type="submit"],
.tng-bespoke-meetings-form .gform_next_button,
.tng-bespoke-meetings-form input.gform_next_button {
    display: inline-block;
    background-color: #ef662f;
    color: #fff !important;
    border: 2px solid #ef662f;
    border-radius: 50px;
    padding: 10px 30px;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.571;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .2s, border-color .2s;
    min-width: 180px;
    text-align: center;
}

.tng-bespoke-meetings-form .gform_button:hover,
.tng-bespoke-meetings-form input[type="submit"]:hover,
.tng-bespoke-meetings-form button[type="submit"]:hover,
.tng-bespoke-meetings-form .gform_next_button:hover,
.tng-bespoke-meetings-form input.gform_next_button:hover {
    background-color: #d9541e;
    border-color: #d9541e;
}

.tng-bespoke-meetings-form .gform_page_footer {
    display: flex;
    justify-content: flex-end;
}

.tng-bespoke-meetings-form .gform_previous_button,
.tng-bespoke-meetings-form input.gform_previous_button {
    margin-right: auto;
    background-color: transparent;
    color: #ef662f !important;
    border-color: #ef662f;
}

/* Validation error states */
.tng-bespoke-meetings-form .gfield_error input,
.tng-bespoke-meetings-form .gfield_error textarea,
.tng-bespoke-meetings-form .gfield_error select {
    border-color: #790000;
}

.tng-bespoke-meetings-form .validation_message {
    color: #790000;
    font-size: 13px;
    margin-top: 4px;
}

.tng-bespoke-meetings-form .gform_validation_errors,
.tng-bespoke-meetings-form .validation_error {
    background: #fff0f0;
    border: 1px solid #790000;
    border-radius: 0;
    color: #790000;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* Field description */
.tng-bespoke-meetings-form .gfield_description {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
    line-height: 1.4;
}

/* Hide honeypot field */
.tng-bespoke-meetings-form .gform_validation_container,
.tng-bespoke-meetings-form .gfield--type-honeypot {
    display: none !important;
}

/* Responsive — full-width button on mobile */
@media (max-width: 600px) {
    .tng-bespoke-meetings-form .gform_button,
    .tng-bespoke-meetings-form input[type="submit"],
    .tng-bespoke-meetings-form button[type="submit"] {
        width: 100%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tng-call-out {
        padding: 40px 15px;
        font-size: 1.2rem;
    }
    
    .tng-feature-block {
        padding: 1.5rem 1rem;
    }
    
    .tng-feature-icon {
        font-size: 32px;
    }
    
    .tng-feature-title {
        font-size: 1.25rem;
    }
}

/* â”€â”€ TNG Form Toggle Widget â”€â”€ */
.tng-form-toggle {
    width: 100%;
}

.tng-ft-cta {
    text-align: center;
    padding: 30px 0;
}

.tng-ft-cta-heading {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #11294B;
}

.tng-ft-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.tng-ft-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    border: 2px solid #e87722;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tng-ft-btn:hover {
    opacity: 0.85;
}

.tng-ft-btn-request {
    background-color: #e87722;
    color: #fff;
}

.tng-ft-btn-book {
    background-color: transparent;
    color: #e87722;
    border-color: #e87722;
}

.tng-ft-btn-submit {
    background-color: #e87722;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.tng-ft-btn-submit:hover {
    opacity: 0.85;
}

.tng-ft-icon-arrow::after {
    content: '\203A';
    font-size: 18px;
    line-height: 1;
}

.tng-ft-form-section {
    padding: 20px 0;
}

.tng-ft-form-heading {
    font-size: 22px;
    margin-bottom: 16px;
    color: #11294B;
}

.tng-ft-roadblock {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 6px;
    margin: 10px 0;
}

.tng-ft-roadblock h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.tng-ft-password-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 16px 0;
}

.tng-ft-password-form input[type="password"] {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    min-width: 240px;
}

.tng-ft-error {
    width: 100%;
    color: #d63638;
    font-weight: 600;
    margin-top: 8px;
}

.tng-ft-forgotten {
    margin-top: 12px;
    color: #646970;
}

@media (max-width: 768px) {
    .tng-ft-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .tng-ft-password-form input[type="password"] {
        min-width: 100%;
    }
}

/* TNG Table Widget */

/* Form Toggle — GF form input styles (mirrors .tng-bespoke-meetings-form rules) */

.tng-form-toggle .gform_heading {
    display: none !important;
}

.tng-form-toggle .gfield {
    margin: 16px 0 14px;
    padding: 0;
}

.tng-form-toggle .gfield_label,
.tng-form-toggle .gform-field-label {
    color: #363636;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.571;
    margin-bottom: 6px;
}

.tng-form-toggle .gfield_required {
    color: #790000;
    margin-left: 4px;
}

.tng-form-toggle .ginput_container,
.tng-form-toggle .gselect_container {
    box-sizing: border-box;
}

.tng-form-toggle .gfield input[type="text"],
.tng-form-toggle .gfield input[type="email"],
.tng-form-toggle .gfield input[type="tel"],
.tng-form-toggle .gfield input[type="number"],
.tng-form-toggle .gfield input[type="url"],
.tng-form-toggle .gfield input[type="password"],
.tng-form-toggle .gfield input.medium,
.tng-form-toggle .gfield input.large,
.tng-form-toggle .gfield input.small {
    width: 100% !important;
    height: 42px;
    background-color: #e1e1e1;
    border: 1px solid #b5b5b5;
    border-radius: 0;
    padding: 0 10px;
    color: #333;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 42px;
    box-shadow: none;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s;
}

.tng-form-toggle .gfield input[type="text"]:focus,
.tng-form-toggle .gfield input[type="email"]:focus,
.tng-form-toggle .gfield input[type="tel"]:focus,
.tng-form-toggle .gfield input[type="number"]:focus,
.tng-form-toggle .gfield input[type="url"]:focus,
.tng-form-toggle .gfield input[type="password"]:focus {
    border-color: #888;
    outline: none;
}

.tng-form-toggle .gfield textarea,
.tng-form-toggle .gfield textarea.textarea {
    width: 100% !important;
    height: auto;
    background-color: #e1e1e1;
    border: 1px solid #b5b5b5;
    border-radius: 0;
    padding: 10px;
    color: #333;
    font-family: Lato, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: none;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s;
    resize: vertical;
    min-height: 120px;
}

.tng-form-toggle .gfield textarea:focus {
    border-color: #888;
    outline: none;
}

.tng-form-toggle .gfield select,
.tng-form-toggle .gfield .gfield_select,
.tng-form-toggle .gfield select.medium,
.tng-form-toggle .gfield select.large {
    width: 100% !important;
    height: 42px;
    background-color: #e1e1e1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23555' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    border: 1px solid #b5b5b5;
    border-radius: 0;
    padding: 0 36px 0 10px;
    color: #333;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 42px;
    box-shadow: none;
    box-sizing: border-box;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color .2s;
}

.tng-form-toggle .gfield select:focus {
    border-color: #888;
    outline: none;
}

.tng-form-toggle .gfield--type-signature .ginput_container,
.tng-form-toggle .gfield .ginput_container_signature {
    margin-left: 0 !important;
    width: 100% !important;
}

.tng-form-toggle .gform_footer,
.tng-form-toggle .gform_page_footer {
    padding: 16px 0 10px;
    margin-top: 16px;
    margin-left: 29% !important;
    width: auto !important;
}

.tng-form-toggle .gform_button,
.tng-form-toggle input[type="submit"],
.tng-form-toggle button[type="submit"],
.tng-form-toggle .gform_next_button,
.tng-form-toggle input.gform_next_button {
    display: inline-block;
    background-color: #ef662f;
    color: #fff !important;
    border: 2px solid #ef662f;
    border-radius: 50px;
    padding: 10px 30px;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.571;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .2s, border-color .2s;
    min-width: 180px;
    text-align: center;
}

.tng-form-toggle .gform_button:hover,
.tng-form-toggle input[type="submit"]:hover,
.tng-form-toggle button[type="submit"]:hover,
.tng-form-toggle .gform_next_button:hover,
.tng-form-toggle input.gform_next_button:hover {
    background-color: #d9541e;
    border-color: #d9541e;
}

.tng-form-toggle .gform_page_footer {
    display: flex;
    justify-content: flex-end;
}

.tng-form-toggle .gform_previous_button,
.tng-form-toggle input.gform_previous_button {
    margin-right: auto;
    background-color: transparent;
    color: #ef662f !important;
    border-color: #ef662f;
}

.tng-form-toggle .gfield_error input,
.tng-form-toggle .gfield_error textarea,
.tng-form-toggle .gfield_error select {
    border-color: #790000;
}

.tng-form-toggle .validation_message {
    color: #790000;
    font-size: 13px;
    margin-top: 4px;
}

.tng-form-toggle .gform_validation_errors,
.tng-form-toggle .validation_error {
    background: #fff0f0;
    border: 1px solid #790000;
    border-radius: 0;
    color: #790000;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 14px;
}

.tng-form-toggle .gfield_description {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
    line-height: 1.4;
}

.tng-form-toggle .gform_validation_container,
.tng-form-toggle .gfield--type-honeypot {
    display: none !important;
}
.tng-agenda-table {
    margin: 0 auto;
    font-family: Lato, sans-serif;
    container-type: inline-size;
}

.tng-at-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 0 0 18px;
}

.tng-at-download-wrap {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
    text-align: right;
}

.tng-at-download-link {
    display: inline-block;
    line-height: 0;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.tng-at-download-link img {
    display: block;
    width: auto;
    max-width: 180px;
    height: auto;
}

.tng-at-download-link.tng-pdf-loading {
    opacity: .65;
    pointer-events: none;
}

.tng-at-download-link .tng-pdf-loading-text {
    display: inline-block;
    color: #333;
    font-family: Lato, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.tng-at-heading {
    order: 1;
    flex: 1 1 auto;
    font-size: 28px;
    font-weight: 700;
    color: #06377b;
    margin: 0;
    min-width: 0;
}

.tng-at-date {
    padding: 18px 30px;
    font-family: Lato, sans-serif;
    font-size: 21px;
    line-height: 1.25;
    background: #37475e;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
}

.tng-at-table-wrap {
    overflow-x: auto;
}

.tng-at-table-wrap table.tablepress {
    width: 100%;
    max-width: 1240px;
    min-width: 500px !important;
    border-collapse: collapse;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    font-family: Lato, sans-serif;
}

.tng-at-table-wrap thead th,
.tng-at-table-wrap thead td {
    padding: .65em 1em;
    border: none;
    background: #36475e;
    color: #fff;
    font-family: Lato, sans-serif;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 900;
    text-transform: uppercase;
}

.tng-at-table-wrap thead th.column-1 {
    width: 50%;
}

.tng-at-table-wrap thead th.column-2,
.tng-at-table-wrap thead td.column-2 {
    width: 50%;
}

.tng-at-table-wrap tbody td {
    padding: 1em;
    border: 1px solid #f2f2f2;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    font-family: Lato, sans-serif;
    vertical-align: middle;
}

.tng-at-table-wrap tbody td.column-1 {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.35;
    color: #f06522;
    font-family: Lato, sans-serif;
    width: 110px;
    white-space: nowrap;
}

.tng-at-table-wrap tbody td.column-2 {
    font-size: 16px;
    color: #333;
}

.tng-at-table-wrap tbody td.column-2,
.tng-at-table-wrap tbody td.column-2 p,
.tng-at-table-wrap tbody td.column-2 li {
    font-family: Lato, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: #333;
}

.tng-at-table-wrap tbody td.column-2 strong,
.tng-at-table-wrap tbody td.column-2 b {
    font-weight: 700;
    color: #000;
}

/* Striped rows */
.tng-at-table-wrap tbody.row-striping tr:nth-child(even) td {
    background: #f9f9f9;
}

/* Row hover */
.tng-at-table-wrap tbody.row-hover tr:hover td {
    background: #eef3f8;
}

.tng-at-table-wrap tbody.row-hover tr:hover td.column-1 {
    color: #333;
}

@media (max-width: 768px) {
    .tng-at-header-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .tng-at-download-wrap {
        order: 1;
        margin: 0 auto;
        align-self: center;
        text-align: center;
    }
    .tng-at-heading {
        order: 2;
    }
    .tng-at-date {
        padding: 14px 18px;
        font-size: 17px;
    }
    .tng-at-table-wrap table.tablepress {
        width: 100% !important;
    }
    .tng-at-table-wrap thead th,
    .tng-at-table-wrap thead td {
        padding: .65em;
        font-size: 18px;
        line-height: 1.3;
        text-align: left;
        white-space: normal;
    }
    .tng-at-table-wrap tbody td {
        padding: 1em;
        vertical-align: top;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .tng-at-table-wrap tbody td.column-1 {
        width: 110px;
        white-space: normal;
    }
    .tng-at-table-wrap tbody td.column-2 {
        font-size: 16px;
    }
    .tng-at-table-wrap.tng-at-stack-mobile {
        overflow-x: visible;
    }
    .tng-at-table-wrap.tng-at-stack-mobile table.tablepress {
        min-width: 0 !important;
    }
    .tng-at-table-wrap.tng-at-stack-mobile table.tablepress,
    .tng-at-table-wrap.tng-at-stack-mobile thead,
    .tng-at-table-wrap.tng-at-stack-mobile tbody,
    .tng-at-table-wrap.tng-at-stack-mobile tr,
    .tng-at-table-wrap.tng-at-stack-mobile th,
    .tng-at-table-wrap.tng-at-stack-mobile td {
        display: block;
    }
    .tng-at-table-wrap.tng-at-stack-mobile thead {
        display: none;
    }
    .tng-at-table-wrap.tng-at-stack-mobile tbody tr {
        border: 0;
        margin-bottom: 0;
        background: #fff;
    }
    .tng-at-table-wrap.tng-at-stack-mobile tbody td {
        width: 100% !important;
        border: 0;
        border-bottom: 1px solid #f2f2f2;
        box-sizing: border-box;
    }
    .tng-at-table-wrap.tng-at-stack-mobile tbody td + td {
        border-top: 0;
    }
    .tng-at-table-wrap.tng-at-stack-mobile tbody td.column-1 {
        background: #f9f9f9;
        white-space: normal;
    }
}

@container (max-width: 500px) {
    .tng-at-table-wrap.tng-at-stack-mobile {
        overflow-x: visible;
    }
    .tng-at-table-wrap.tng-at-stack-mobile table.tablepress {
        min-width: 0 !important;
        width: 100% !important;
    }
    .tng-at-table-wrap.tng-at-stack-mobile table.tablepress,
    .tng-at-table-wrap.tng-at-stack-mobile thead,
    .tng-at-table-wrap.tng-at-stack-mobile tbody,
    .tng-at-table-wrap.tng-at-stack-mobile tr,
    .tng-at-table-wrap.tng-at-stack-mobile th,
    .tng-at-table-wrap.tng-at-stack-mobile td {
        display: block;
    }
    .tng-at-table-wrap.tng-at-stack-mobile thead {
        display: none;
    }
    .tng-at-table-wrap.tng-at-stack-mobile tbody tr {
        border: 0;
        margin-bottom: 0;
        background: #fff;
    }
    .tng-at-table-wrap.tng-at-stack-mobile tbody td {
        width: 100% !important;
        border: 0;
        border-bottom: 1px solid #f2f2f2;
        box-sizing: border-box;
    }
    .tng-at-table-wrap.tng-at-stack-mobile tbody td + td {
        border-top: 0;
    }
    .tng-at-table-wrap.tng-at-stack-mobile tbody td.column-1 {
        background: #f9f9f9;
        white-space: normal;
    }
}

/* â”€â”€ TNG Partner Logos Widget â”€â”€ */
.tng-partner-logos {
    padding: 1.5em 0;
}

.tng-pl-heading {
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.tng-pl-wrap {
    text-align: center;
    margin-bottom: 15px;
}

.tng-pl-logo {
    width: 150px;
    height: auto;
    padding-bottom: 10px;
    display: block;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .tng-partner-logos {
        padding-top: 0;
        padding-bottom: 0;
    }
    .tng-pl-wrap {
        margin-bottom: 25px;
    }
    .tng-pl-logo {
        display: inline-block;
        width: 200px;
        padding-right: 10px;
        padding-bottom: 0;
        margin: 0;
    }
    .tng-pl-logo:last-of-type {
        padding-right: 0;
    }
}

/* ============================================================================
   PACKAGE CARDS WIDGET â€” grid layout
   ============================================================================ */

/* â”€â”€ Regular packages flex grid â”€â”€ */
.tng-packages-wrap .tng-pkg-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.tng-packages-wrap .tng-pkg-col {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 30px;
    box-sizing: border-box;
}

.tng-packages-wrap.tng-pkg-cols-2 .tng-pkg-col {
    flex: 0 0 50%;
    max-width: 50%;
}

.tng-packages-wrap.tng-pkg-cols-3 .tng-pkg-col {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

/* Workshop row â€” always full width, rendered below the regular grid */
.tng-packages-wrap .tng-pkg-workshop-row {
    box-sizing: border-box;
}

.tng-packages-wrap .tng-pkg-workshop-row .package-content ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tng-packages-wrap .tng-pkg-workshop-row .package-content ul li {
    width: 28%;
}

@media (max-width: 991px) {
    .tng-packages-wrap .tng-pkg-col,
    .tng-packages-wrap.tng-pkg-cols-3 .tng-pkg-col {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .tng-packages-wrap .tng-pkg-workshop-row .package-content ul li {
        width: 100%;
    }

    .tng-pkg-price-col .sflex {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 575px) {
    .tng-packages-wrap .tng-pkg-col,
    .tng-packages-wrap.tng-pkg-cols-2 .tng-pkg-col,
    .tng-packages-wrap.tng-pkg-cols-3 .tng-pkg-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* â”€â”€ Base card â”€â”€ */
.tng-packages-wrap .package,
.tng-package-detail .package {
    background: #ffffff;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

/* â”€â”€ Title (visual styling comes from the banner image, not CSS) â”€â”€ */
.package .package-title {
    padding: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
}

.package .package-title img {
    width: 100%;
    height: auto;
    display: block;
}

/* â”€â”€ Content list â”€â”€ */
.package .package-content ul {
    list-style: disc;
    margin: 0;
    padding: 20px 20px 20px 40px;
    text-align: left;
    overflow: hidden;
    box-sizing: border-box;
}

.package .package-content ul li {
    padding-bottom: 5px;
    font-size: 16px;
}

/* Package 4 (Workshop) â€” flex column, centred, auto height */
.package.package-4 ul.package-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    overflow: visible;
}

.package.package-4 ul.package-summary li {
    width: 28%;
}

/* â”€â”€ Price area â”€â”€ */
.package .package-price {
    padding: 10px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.package.package-1 .package-price { background: #ececec; color: #646464; }
.package.package-2 .package-price { background: #f2edd4; color: #9d8831; }
.package.package-3 .package-price { background: #dee0e5; color: #6b7489; }
.package.package-4 .package-price { background: #ffd6c6; color: #ef662f; }

.package .package-price-number {
    font-weight: 700;
}

/* â”€â”€ Book Now button â”€â”€ */
.package .package-cta {
    padding: 0 10px 10px;
    text-align: center;
}

.package .btn.package-btn.booking {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5em;
    min-width: 13em;
    padding: 5px 12px;
    margin: 0 0 1em 0;
    border-radius: 0;
    font-size: 17px;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.5s all ease;
}

.package .btn.package-btn.booking .e-font-icon-svg {
    width: 0.75em;
    height: 0.75em;
    flex-shrink: 0;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.package .btn.package-btn.booking .e-font-icon-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.package.package-1 .btn.package-btn.booking {
    width: 80%;
    text-align: left !important;
}

.package.package-1 .btn.package-btn.booking { background: #a7a7a7; }
.package.package-1 .btn.package-btn.booking:hover { background: #6e6e6e; color: #ffffff; }

.package.package-2 .btn.package-btn.booking { background: #d1b64a; }
.package.package-2 .btn.package-btn.booking:hover { background: #998432; color: #ffffff; }

.package.package-3 .btn.package-btn.booking { background: #6b7489; }
.package.package-3 .btn.package-btn.booking:hover { background: #3b404c; color: #ffffff; }

.package.package-4 .btn.package-btn.booking { background: #f2723f; }
.package.package-4 .btn.package-btn.booking:hover { background: #ef662f; color: #ffffff; }

/* â”€â”€ View full details link â”€â”€ */
.package .package-full-details {
    margin-bottom: 30px;
    text-align: center;
}

.package .package-full-details a {
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    text-decoration: underline;
}

.package.package-1 .package-full-details a { color: #a7a7a7; }
.package.package-2 .package-full-details a { color: #d1b64a; }
.package.package-3 .package-full-details a { color: #6b7489; }
.package.package-4 .package-full-details a { color: #ed703e; }

.package .package-full-details a:hover { text-decoration: underline; }

/* ============================================================================
   PACKAGE DETAIL WIDGET â€” single detail page
   ============================================================================ */

/* Override: detail card has no fixed min-height and is left-aligned */
.tng-package-detail .package.package-full {
    min-height: 0;
    text-align: left;
}

.tng-package-detail .package.package-full .package-title {
    font-size: 2em;
    text-align: center;
}

.tng-package-detail .package.package-full .package-title img {
    max-height: 160px;
    width: 100% !important;
}

/* â”€â”€ 2-column content rows â”€â”€ */
.tng-pkg-content-row {
    display: flex;
    flex-wrap: wrap;
}

.tng-pkg-col-half {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .tng-pkg-col-half {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.tng-pkg-col-half .padding20 {
    padding: 20px;
    text-align: left;
}

.tng-pkg-col-half .padding20 h3 {
    color: #f06522;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.tng-pkg-col-half .padding20 h4 {
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
}

/* â”€â”€ Divider â”€â”€ */
.tng-pkg-divider {
    width: 100%;
    background: #dddddd;
    height: 1px;
}

/* â”€â”€ Last row (benefits left + price/CTA right) â”€â”€ */
.tng-pkg-lastrow {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.tng-pkg-price-col .sflex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    min-height: 160px;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

/* Coloured background for the price/CTA column per scheme */
.tng-pkg-price-col.package-1 .sflex { background: #ededed; }
.tng-pkg-price-col.package-2 .sflex { background: #f3eed3; }
.tng-pkg-price-col.package-3 .sflex { background: #dee0e5; }
.tng-pkg-price-col.package-4 .sflex { background: #ffd6c6; }

/* Override generic .package-price background inside the sflex so it doesn't double up */
.tng-pkg-price-col .sflex .package-price {
    background: none !important;
    text-align: center;
    padding: 10px;
    width: 100%;
    margin-bottom: 0;
}

.tng-pkg-price-col .sflex .package-price-number {
    font-size: 2em;
    font-weight: 700;
    display: block;
}

.tng-pkg-price-col .sflex .package-cta {
    width: 100%;
    text-align: center;
}

.tng-pkg-price-col .sflex .btn.package-btn.booking {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5em;
    min-width: 0;
    margin: 0;
    text-align: center;
}

.tng-pkg-price-col .sflex .btn.package-btn.booking .e-font-icon-svg {
    width: 0.85em;
    height: 0.85em;
    flex-shrink: 0;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tng-pkg-price-col .sflex .btn.package-btn.booking .e-font-icon-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ============================================================================
   TESTIMONIALS GRID WIDGET
   ============================================================================ */

/* ── Outer wrap ── */
.tng-testi-wrap {
    width: 100%;
}

/* ── Section title ── */
.tng-testi-title {
    font-family: Lato, sans-serif;
    font-size: 1.4em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #11294B;
    margin: 10px 10px 40px;
}

/* ── Grid: flex row wrap ── */
.tng-testi-grid {
    list-style: none;
    margin: 50px 0 0;
    padding: 0;
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
}

/* ── Each cell ── */
.tng-testi-item {
    width: 33.333%;
    height: 408px;
    box-sizing: border-box;
    padding: 3px;
    overflow: hidden;
    list-style: none;
}

/* Wide variant: 2/3 width */
.tng-testi-item--wide {
    width: 66.666%;
}

/* ── Photo cell ── */
.tng-testi-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ── Text card (grey box) ── */
.tng-testi-card {
    background: #efefef;
    height: 100%;
    box-sizing: border-box;
    padding: 12% 11% 12% 16%;
    position: relative;
    overflow: hidden;
}

/* ── Quote text ── */
.tng-testi-quote {
    font-family: Lato, sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    color: #ef662f;
    margin: 0 0 0.75em;
    padding: 0;
}

.tng-testi-quote q {
    font-style: normal;
    quotes: '\201C' '\201D';
}

.tng-testi-quote q::before {
    content: open-quote;
}

.tng-testi-quote q::after {
    content: close-quote;
}

/* ── Job title ── */
.tng-testi-job {
    display: block;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ef662f;
    margin-top: 0.75em;
}

/* ── Author name ── */
.tng-testi-author {
    display: block;
    font-family: Lato, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #333333;
    margin-top: 4px;
    text-transform: uppercase;
}

/* ── Company logo (absolute, bottom-right) ── */
.tng-testi-logo-wrap {
    position: absolute;
    bottom: 8%;
    right: 10%;
}

.tng-testi-logo-wrap img {
    max-height: 50px;
    width: auto;
    display: block;
}

/* ── Responsive ── */

/* Below 1400px: fluid height, smaller font */
@media (max-width: 1400px) {
    .tng-testi-item {
        height: auto;
    }
    .tng-testi-card {
        height: auto;
        min-height: 250px;
    }
    .tng-testi-quote {
        font-size: 14px;
    }
}

@media (max-width: 1200px) {
    .tng-testi-quote {
        font-size: 11px;
    }
}

/* Below 992px: 2-column, extra bottom padding for logo */
@media (max-width: 991px) {
    .tng-testi-item {
        width: 50%;
        height: auto;
    }
    .tng-testi-item--wide {
        width: 100%;
    }
    .tng-testi-card {
        padding: 12% 11% 30% 16%;
    }
    .tng-testi-quote {
        font-size: 14px;
    }
}

/* Below 600px: single column */
@media (max-width: 600px) {
    .tng-testi-item {
        width: 100%;
    }
    .tng-testi-item--wide {
        width: 100%;
    }
    .tng-testi-card {
        padding: 12% 11% 35% 16%;
        text-align: center;
    }
    .tng-testi-quote {
        font-size: 16px;
    }
    .tng-testi-logo-wrap {
        position: static;
        margin-top: 20px;
        text-align: center;
    }
}

/* ── TNG Agenda Tabs Widget ── */

.tng-agenda-wrap {
    font-family: Lato, sans-serif;
}

/* Top bar: tabs + download link */
.tng-agenda-top-tabpanel {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 0 1em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Tab nav */
.tng-agenda-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 0;
    width: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.tng-agenda-tab-item {
    float: none;
}
.tng-agenda-tab-link {
    display: inline-block;
    padding: 7px 28px;
    text-transform: uppercase;
    color: #fff !important;
    background: #cccccc;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.tng-agenda-tab-link:hover,
.tng-agenda-tab-link:focus,
.tng-agenda-tab-link:visited,
.tng-agenda-tab-link:active {
    color: #fff !important;
    text-decoration: none;
}
.tng-agenda-tab-link:hover,
.tng-agenda-tab-link:focus {
    background: #f06522;
}
.tng-agenda-tab-item.active .tng-agenda-tab-link {
    background: #f06522;
    color: #fff !important;
}

/* Download area */
.tng-agenda-dl-wrap {
    width: auto;
    margin-left: auto;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}
.tng-agenda-cpd-logo {
    width: 64px;
    height: auto;
}
.tng-agenda-dl-link {
    display: inline-block;
    text-decoration: none;
    color: #f06522;
    font-weight: bold;
}
.tng-agenda-dl-link img {
    height: auto;
    max-width: 135px;
}

/* Tab content */
.tng-agenda-pane {
    display: none;
}
.tng-agenda-pane.active {
    display: block;
}

/* Main row container */
.tng-agenda-table-wrap {
    max-width: 1040px;
    margin: 0 auto;
}

/* Base row */
.tng-agenda-row {
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-family: Lato, sans-serif;
}
.tng-agenda-row p {
    font-family: Lato, sans-serif;
    margin: 0 0 6px;
}
.tng-agenda-wrap h3 {
    margin: 0 0 6px;
    line-height: 1.2;
}
.tng-agenda-wrap ul {
    margin: 0 0 8px 0px;
    padding: 0;
}
.tng-agenda-wrap li {
    margin: 0 0 3px;
}
.tng-agenda-table-wrap img {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 72px;
    height: auto;
    object-fit: contain;
}
.tng-agenda-sched-time {
    line-height: 1.2;
}
.tng-agenda-sched-content p,
.tng-agenda-sched-content li,
.tng-agenda-w4-content p,
.tng-agenda-w4-content li {
    font-size: 14px;
    line-height: 1.35;
}
.tng-agenda-sched-content h3,
.tng-agenda-w4-content h3 {
    font-size: 16px;
    line-height: 1.2;
}
.tng-agenda-sched-content ul,
.tng-agenda-sched-content ol {
    list-style-position: inside;
    margin-left: 0;
    padding-left: 0;
}
.tng-agenda-sched-content ul ul,
.tng-agenda-sched-content ol ol,
.tng-agenda-sched-content ul ol,
.tng-agenda-sched-content ol ul {
    padding-left: 1.2em;
}

/* ── Date Header (firstrow) ── */
.tng-agenda-firstrow {
    color: #f06522;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 15px;
    border-bottom: 1px solid #ddd;
}
.tng-agenda-time-icon {
    margin-right: 14px;
    display: flex;
    align-items: center;
    color: #f06522;
}
.tng-agenda-time-icon img {
    display: block;
    max-width: 34px;
    height: auto;
}

/* ── Normal Row (normalrow) ── */
.tng-agenda-normalrow {
    border: 0 solid #ddd;
    border-width: 0 1px 1px;
    align-items: flex-start;
}
.tng-agenda-normalrow .tng-agenda-sched-time {
    width: 130px;
    flex: 0 0 130px;
    color: #f06522;
    font-size: 15px;
    font-weight: bold;
    font-family: Lato, sans-serif;
}
.tng-agenda-normalrow .tng-agenda-sched-content {
    width: calc(100% - 130px);
    flex: 1 1 auto;
}
.tng-agenda-normalrow .tng-agenda-sched-content p,
.tng-agenda-normalrow .tng-agenda-sched-content ul li {
    font-size: 14px;
    line-height: 1.35em;
    color: #000;
}
.tng-agenda-normalrow .tng-agenda-sched-content h3 {
    font-weight: bold;
    font-size: 16px;
    color: #000;
    text-transform: uppercase;
    font-family: Lato, sans-serif;
}

/* ── Break Row (breakrow) ── */
.tng-agenda-breakrow {
    margin-top: 10px;
    margin-bottom: 10px;
    background: #f6f6f6;
    border: 1px solid #ddd;
    padding-top: 16px;
    padding-bottom: 16px;
    align-items: center;
}
.tng-agenda-breakrow .tng-agenda-sched-time {
    width: 130px;
    flex: 0 0 130px;
    color: #f06522;
    font-size: 15px;
    font-weight: bold;
    font-family: Lato, sans-serif;
}
.tng-agenda-breakrow .tng-agenda-sched-content {
    width: calc(100% - 130px);
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}
.tng-agenda-break-text {
    width: 60%;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #f06522 !important;
    font-weight: 600;
}
.tng-agenda-break-text p {
    color: #ea6600;
    font-family: Lato, sans-serif;
    font-weight: 600;
    margin-bottom: 0;
}
.tng-agenda-break-text h3 {
    font-size: 15px;
    text-transform: uppercase;
    color: #f06522;
    font-family: Lato, sans-serif;
    font-weight: 600;
    margin-bottom: 0;
}
.tng-agenda-break-img {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tng-agenda-break-img img {
    max-width: 180px;
    max-height: 80px;
    height: auto;
    object-fit: contain;
}

/* ── Workshops + 1-to-1 (three4row) ── */
.tng-agenda-three4row {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: normal;
    border: 1px solid #ddd;
}
.tng-agenda-three4row ul {
    list-style-position: inside;
    margin-left: 0;
}
.tng-agenda-three4row li {
    padding-left: 4px;
}
.tng-agenda-w6 {
    width: 65%;
    border-right: 1px solid #ddd;
}
.tng-agenda-w4 {
    width: 35%;
}
.tng-agenda-w6-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 12px 16px;
}
.tng-agenda-w6-top .tng-agenda-sched-time {
    width: 130px;
    flex: 0 0 130px;
    color: #f06522;
    font-size: 15px;
    font-weight: bold;
    font-family: Lato, sans-serif;
}
.tng-agenda-w6-top .tng-agenda-sched-content {
    width: calc(100% - 130px);
    flex: 1 1 auto;
}
.tng-agenda-w6-top .tng-agenda-sched-content h3 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: Lato, sans-serif;
}
.tng-agenda-w6-top .tng-agenda-sched-content p {
    margin-bottom: 5px;
}
.tng-agenda-w6-top .tng-agenda-sched-content img,
.tng-agenda-w6-bottom .tng-agenda-sched-content img,
.tng-agenda-halfcontent .tng-agenda-sched-content img {
    margin: 4px 0 6px;
}
/* Blue networking gap row */
.tng-agenda-w6-blue {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 16px;
    background: #36475e;
    color: #fff;
    font-family: "Lato" !important;
}
.tng-agenda-w6-blue .tng-agenda-sched-time {
    width: 130px;
    flex: 0 0 130px;
    color: #fff !important;
    font-size: 15px;
    font-weight: bold;
    font-family: Lato, sans-serif;
}
.tng-agenda-w6-blue .tng-agenda-sched-content {
    width: calc(100% - 130px);
    flex: 1 1 auto;
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
}
/* Workshop slot row (legacy / fallback when no parsed name+logo) */
.tng-agenda-w6-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 12px 16px;
}
.tng-agenda-w6-bottom.tng-ws-card {
    display: block;
    padding: 0;
}
.tng-agenda-w6-bottom .tng-agenda-sched-time {
    width: 130px;
    flex: 0 0 130px;
    color: #f06522;
    font-size: 15px;
    font-weight: bold;
    font-family: Lato, sans-serif;
}
.tng-agenda-w6-bottom .tng-agenda-sched-content {
    width: calc(100% - 130px);
    flex: 1 1 auto;
}
.tng-agenda-w6-bottom .tng-agenda-sched-content h3 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: Lato, sans-serif;
}
.tng-agenda-w6-bottom .tng-agenda-sched-content p {
    margin-bottom: 5px;
}

/* Workshop card (used by both .tng-agenda-w6-top and .tng-agenda-w6-bottom
 * when the WYSIWYG parses into name/logo). Grey header on top, white body below. */
.tng-ws-card {
    background: #fff;
}
.tng-agenda-w6-top.tng-ws-card {
    padding: 0;
}
.tng-ws-card .tng-ws-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    background: #f2f2f2;
    padding: 10px 16px;
    width: 100%;
}
.tng-ws-card .tng-ws-time {
    flex: 0 0 130px;
    width: 130px;
    color: #f06522;
    font-size: 15px;
    font-weight: bold;
    font-family: Lato, sans-serif;
}
.tng-ws-card .tng-ws-title-block {
    flex: 1 1 auto;
    min-width: 0;
}
.tng-ws-card .tng-ws-name {
    margin: 0;
    font-family: Lato, sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.25;
    color: inherit;
}
.tng-ws-card .tng-ws-subj {
    margin: 2px 0 0;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: inherit;
}
.tng-ws-card .tng-ws-logo {
    flex: 0 0 auto;
    line-height: 0;
}
.tng-ws-card .tng-ws-logo img {
    display: block;
    width: auto;
    max-width: 130px;
    max-height: 50px;
    height: auto;
    object-fit: contain;
    margin: 0;
}
.tng-ws-card .tng-ws-body {
    background: #fff;
    padding: 10px 16px;
    display: flex;
    width: 100%;
}
.tng-ws-card .tng-ws-body::before {
    content: "";
    flex: 0 0 auto;
    /* matches .tng-ws-time width (130px) + header gap (12px) */
    width: calc(130px);
}
.tng-ws-card .tng-ws-body-inner {
    flex: 1 1 auto;
    min-width: 0;
}
.tng-ws-card .tng-ws-body-inner .tng-ws-subj {
    margin: 0 0 6px;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}
.tng-ws-card .tng-ws-body p {
    margin: 0 0 4px;
    font-weight: 400;
}
.tng-ws-card .tng-ws-body strong,
.tng-ws-card .tng-ws-body b {
    font-weight: 400;
}
/* Right column */
.tng-agenda-w4-title {
    background: #506b89;
    color: #fff;
    padding: 12px 16px;
    font-family: "Lato" !important;
}
.tng-agenda-w4-title p {
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff;
    font-size: 15px;
    font-family: "Lato" !important;
}
.tng-agenda-w4-title h3 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
    font-family: Lato, sans-serif;
    margin-bottom: 0;
}
.tng-agenda-w4-content p {
    line-height: 1.35;
}
.tng-agenda-w4-content {
    padding: 12px 16px;
}
.tng-agenda-w4-content h3 {
    font-family: "Lato" !important;
}

/* ── Two Streams (halfrow) ── */
.tng-agenda-halfrow {
    padding: 0;
    border: 1px solid #ddd;
    align-items: normal;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
}
.tng-agenda-halfr {
    width: 50%;
}
.tng-agenda-halfr:first-child {
    border-right: 1px solid #ddd;
}
.tng-agenda-titlewrap {
    padding: 12px 16px;
    font-weight: bold;
    font-size: 15px;
    background: #36475e;
    color: #fff;
    text-transform: uppercase;
    font-family: Lato, sans-serif;
}
.tng-agenda-halfcontent {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 12px 16px;
}
.tng-agenda-halfcontent .tng-agenda-sched-time {
    width: 130px;
    flex: 0 0 130px;
    color: #f06522;
    font-size: 15px;
    font-weight: bold;
    font-family: Lato, sans-serif;
}
.tng-agenda-halfcontent .tng-agenda-sched-content {
    width: calc(100% - 130px);
    flex: 1 1 auto;
}
.tng-agenda-halfcontent .tng-agenda-sched-content h3 {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    font-family: Lato, sans-serif;
}

/* ── Closing Row (lastrow) ── */
.tng-agenda-lastrow {
    background: #36475e;
    border: none;
}
.tng-agenda-lastrow .tng-agenda-sched-time {
    color: #fff;
}
.tng-agenda-lastrow .tng-agenda-sched-content {
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .tng-agenda-w6,
    .tng-agenda-w4,
    .tng-agenda-halfr {
        width: 100%;
        border-right: none;
    }
    .tng-agenda-w6 {
        border-bottom: 1px solid #ddd;
        border-right: none;
    }
    .tng-agenda-normalrow .tng-agenda-sched-time,
    .tng-agenda-breakrow .tng-agenda-sched-time {
        width: 100%;
        margin-bottom: 8px;
    }
    .tng-agenda-normalrow .tng-agenda-sched-content,
    .tng-agenda-breakrow .tng-agenda-sched-content {
        width: 100%;
    }
    .tng-agenda-halfcontent .tng-agenda-sched-time,
    .tng-agenda-w6-top .tng-agenda-sched-time,
    .tng-agenda-w6-bottom .tng-agenda-sched-time {
        width: 100%;
        margin-bottom: 6px;
    }
    .tng-agenda-halfcontent .tng-agenda-sched-content,
    .tng-agenda-w6-top .tng-agenda-sched-content,
    .tng-agenda-w6-bottom .tng-agenda-sched-content {
        width: 100%;
    }
}

@media (max-width: 495px) {
    .tng-agenda-top-tabpanel {
        flex-direction: column;
        align-items: flex-start;
    }
    .tng-agenda-tabs {
        width: 100%;
    }
    .tng-agenda-dl-wrap {
        width: 100%;
        justify-content: flex-end;
        margin-top: 16px;
    }
    .tng-agenda-tab-link {
        padding: 8px 24px;
        font-size: 15px;
    }
}

/* Event Sector Listing */
.tng-event-sector-listing {
    width: 100%;
    font-family: Lato, Arial, sans-serif;
}
.tng-event-sector-listing .grouping-wrapper {
    width: 100%;
    margin-bottom: 42px;
}
.tng-event-sector-listing .tag-group-name {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    background: linear-gradient(90deg, #36475e 0%, #506b89 100%);
    color: #fff;
    padding: 12px 28px;
    margin-bottom: 28px;
}
.tng-event-sector-listing .tag-group-name span {
    display: block;
    color: #fff;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 900;
    text-transform: uppercase;
}
.tng-event-sector-listing .sector-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 34px;
    width: 100%;
}
.tng-event-sector-listing .sector-logo {
    width: 50%;
    flex: 1 1 0;
    min-width: 0;
}
.tng-event-sector-listing .event-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}
.tng-event-sector-listing .event-logo img {
    display: block;
    width: auto;
    max-width: 330px;
    height: auto;
}
.tng-event-sector-listing .event-summary {
    color: #333;
    font-size: 16px;
    line-height: 1.55;
}
.tng-event-sector-listing .event-summary p {
    margin: 0 0 1em;
}
.tng-event-sector-listing .sector-adviser-link-wrap {
    margin-top: 20px;
}
.tng-event-sector-listing .sector-adviser-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    padding: 11px 18px;
    border: 1px solid #e87722;
    background: transparent;
    color: #e87722;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tng-event-sector-listing .tng-sector-button-text {
    display: inline-block;
}
.tng-event-sector-listing .tng-sector-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1em;
    line-height: 1;
}
.tng-event-sector-listing .tng-sector-button-icon svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}
.tng-event-sector-listing .tng-sector-button-icon svg * {
    fill: currentColor;
}
.tng-event-sector-listing .tng-sector-button-icon i {
    display: block;
    line-height: 1;
}
.tng-event-sector-listing .sector-adviser-link:hover,
.tng-event-sector-listing .sector-adviser-link:focus {
    background: #e87722;
    color: #fff;
    border-color: #e87722;
}
.tng-event-sector-listing .sector-events {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 50%;
    flex: 1 1 0;
    min-width: 0;
}
.tng-event-sector-listing .upcoming-event {
    background: #f6f6f6;
    border: 1px solid #e1e1e1;
}
.tng-event-sector-listing .upcoming-event__inner {
    width: 100%;
}
.tng-event-sector-listing .upcoming-event__details {
    padding: 22px 24px;
}
.tng-event-sector-listing .event-name {
    display: none;
    margin: 0 0 10px;
    color: #11294b;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 900;
    text-transform: uppercase;
}
.tng-event-sector-listing .event-area,
.tng-event-sector-listing .event-city,
.tng-event-sector-listing .event-date {
    display: inline;
    color: #333;
    font-size: 16px;
    line-height: 1.35;
    margin: 0;
}
.tng-event-sector-listing .event-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0;
    color: #333;
}
.tng-event-sector-listing .event-meta-line span:not(:last-child)::after {
    content: "|";
    display: inline-block;
    width: 20px;
    padding: 0;
    color: #777;
    font-weight: 400;
    text-align: center;
}
.tng-event-sector-listing .event-area {
    color: #e87722;
    font-weight: 700;
}
.tng-event-sector-listing .event-date {
    color: #11294b;
    font-weight: 900;
    text-transform: uppercase;
}
.tng-event-sector-listing .upcoming-event__cta {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin-top: 18px;
}
.tng-event-sector-listing .upcoming-event__cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    flex: 1 1 0;
    min-width: 150px;
    padding: 11px 18px;
    border: 1px solid #e87722;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tng-event-sector-listing .upcoming-event__cta .btn-default {
    background: #e87722;
    color: #fff;
}
.tng-event-sector-listing .upcoming-event__cta.tng-buttons-auto {
    justify-content: flex-start;
}
.tng-event-sector-listing .upcoming-event__cta.tng-buttons-auto .btn {
    width: auto;
    flex: 0 0 auto;
}
.tng-event-sector-listing .upcoming-event__cta .btn-default:hover,
.tng-event-sector-listing .upcoming-event__cta .btn-default:focus {
    background: transparent;
    color: #e87722;
    border-color: #e87722;
}
.tng-event-sector-listing .upcoming-event__cta .btn-transparent {
    background: transparent;
    color: #e87722;
}
.tng-event-sector-listing .upcoming-event__cta .btn-transparent:hover,
.tng-event-sector-listing .upcoming-event__cta .btn-transparent:focus {
    background: #e87722;
    color: #fff;
    border-color: #e87722;
}

@media (max-width: 991px) {
    .tng-event-sector-listing .sector-wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 22px;
        text-align: center;
    }
    .tng-event-sector-listing .sector-logo {
        width: 100% !important;
        flex: 0 0 auto !important;
        min-width: 0;
    }
    .tng-event-sector-listing .sector-events {
        width: 100% !important;
        flex: 0 0 auto !important;
        align-items: center;
    }
    .tng-event-sector-listing .event-logo {
        justify-self: center;
        justify-content: center;
    }
    .tng-event-sector-listing .event-meta-line{
        justify-content: center;
    }
    .tng-event-sector-listing .sector-adviser-link-wrap {
        text-align: center;
    }
    .tng-event-sector-listing .upcoming-event {
        width: 100% !important;
    }
    .tng-event-sector-listing .upcoming-event__details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .tng-event-sector-listing .sector-wrapper {
        flex-direction: column;
        gap: 22px;
    }
    .tng-event-sector-listing .sector-logo {
        width: 100%;
        min-width: 0;
    }
    .tng-event-sector-listing .sector-events {
        width: 100%;
        flex: 0 0 auto;
    }
    .tng-event-sector-listing .event-logo {
        justify-content: center;
    }
    .tng-event-sector-listing .event-logo img {
        max-width: 95%;
    }
    .tng-event-sector-listing .tag-group-name {
        padding: 12px 18px;
    }
    .tng-event-sector-listing .tag-group-name span {
        font-size: 21px;
    }
    .tng-event-sector-listing .upcoming-event__details {
        padding: 18px;
    }
    .tng-event-sector-listing .upcoming-event__cta .btn {
        width: 100%;
        flex-basis: auto;
    }
    .tng-event-sector-listing .upcoming-event__cta.tng-buttons-auto {
        align-items: flex-start;
    }
    .tng-event-sector-listing .upcoming-event__cta.tng-buttons-auto .btn {
        width: auto;
        flex: 0 0 auto;
    }
    .tng-event-sector-listing .upcoming-event__cta .btn + .btn {
        border-top: 1px solid #e87722;
    }
}
