/* 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;
}

/* Bespoke Meetings Form Widget */
.tng-bespoke-meetings-form {
    margin: 2rem 0;
}

.tng-bespoke-meetings-form .gform_wrapper {
    max-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 Agenda Table Widget ── */
.tng-agenda-table {
    margin: 0 auto;
}

.tng-at-heading {
    font-size: 28px;
    font-weight: 700;
    color: #06377b;
    margin-bottom: 12px;
}

.tng-at-date {
    padding: 18px 30px;
    font-family: 'Lato', sans-serif;
    font-size: 21px;
    background: #37475e;
    font-weight: 900;
    color: #fff;
}

.tng-at-table-wrap table.tablepress {
    width: 100%;
    min-width: 0 !important;
    border-collapse: collapse;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.tng-at-table-wrap thead th,
.tng-at-table-wrap thead td {
    padding: .65em 1em;
    border: none;
    background: #36475e;
    color: #fff;
    font-size: 1.25em;
    font-weight: 700;
}

.tng-at-table-wrap thead th.column-1 {
    width: 110px;
}

.tng-at-table-wrap tbody td {
    padding: 1em;
    border: 1px solid #f2f2f2;
    font-size: 16px;
    vertical-align: middle;
}

.tng-at-table-wrap tbody td.column-1 {
    font-weight: 700;
    font-size: 18px;
    color: #ed631c;
    font-family: 'Lato', sans-serif;
    width: 110px;
    white-space: nowrap;
}

.tng-at-table-wrap tbody td.column-2 {
    font-size: 16px;
    color: #333;
}

/* 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-date {
        padding: 14px 18px;
        font-size: 17px;
    }
    .tng-at-table-wrap tbody td.column-1 {
        font-size: 15px;
        width: 80px;
    }
    .tng-at-table-wrap tbody td.column-2 {
        font-size: 14px;
    }
}

/* ── 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;
    }
}
