/*
Theme Name: techtrain365
Theme URI: https://techtrain365.com
Author: techtrain365
Description: Official techtrain365 theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: techtrain365
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --tt365-blue:   #00a3e0;
  --tt365-red:    #ef3340;
  --tt365-slate:  #41748d;
  --tt365-black:  #000000;
  --tt365-white:  #ffffff;
  --tt365-lgray:  #f0f0f0;
  --tt365-dgray:  #c4c2c2;

  --tt365-text:          #333;
  --tt365-text-muted:    #666;
  --tt365-text-disabled: #999;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --header-height: 80px;
  --container-max: 1200px;
  --gutter: 1.5rem;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--tt365-text);
  background: var(--tt365-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--tt365-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--tt365-black); }

/* ============================================================
   LAYOUT
   ============================================================ */
.tt365-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  height: var(--header-height);
  position: relative;
  z-index: 100;
  background: linear-gradient( 135deg, var(--tt365-black) 0%, var(--tt365-blue) 120% );
}
#site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/images/circuit_trace.svg');
  background-size: 2880px auto;
  background-position: top center;
  background-repeat: no-repeat;
  opacity: 0.08;
  pointer-events: none;
}
#site-header .tt365-container {
  height: 100%;
  position: relative;
  z-index: 1;
}

/* Homepage — transparent, sits above hero */
.tt365-homepage #site-header {
  background: transparent;
  position: relative;
  z-index: 20;
  margin-bottom: calc(-1 * var(--header-height));
}
.tt365-homepage #site-header::before {
  display: none;
}

.tt365-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.tt365-logo { display: flex; align-items: center; }
.tt365-logo img { height: 70px; width: auto; display: block; }
.tt365-logo:hover { text-decoration: none; }

/* ============================================================
   DROPDOWN NAVIGATION
   ============================================================ */
#primary-navigation ul {
  display: flex;
  gap: 0.25rem;
  position: relative;
}
#primary-navigation li {
  position: relative;
}

/* Dropdown */
#primary-navigation ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--tt365-black);
  min-width: 220px;
  z-index: 200;
  border-top: 2px solid var(--tt365-blue);
  padding: 0.5rem 0;
}
#primary-navigation ul ul li {
  width: 100%;
}
#primary-navigation ul ul a {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  border-radius: 0;
  white-space: nowrap;
  display: block;
}
#primary-navigation li:hover > ul,
#primary-navigation li:focus-within > ul {
  display: block;
}

#primary-navigation a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-radius: 6px;
  transition: color 0.15s;
}
#primary-navigation a:hover,
#primary-navigation .current-menu-item > a,
#primary-navigation .current-menu-ancestor > a,
#primary-navigation .current-page-ancestor > a {
  color: var(--tt365-blue);
  text-decoration: none;
}


/* Mobile toggle */
.tt365-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--tt365-white);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--tt365-blue);
  color: var(--tt365-white);
  border-color: var(--tt365-blue);
}
.btn-primary:hover { background: #0090c8; border-color: #0090c8; color: var(--tt365-white); }

.btn-outline {
  background: transparent;
  color: var(--tt365-blue);
  border-color: var(--tt365-blue);
}
.btn-outline:hover { background: var(--tt365-blue); color: var(--tt365-white); }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
#content { min-height: calc(100vh - var(--header-height) - 200px); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--tt365-black);
  color: var(--tt365-lgray);
  font-size: 0.875rem;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.tt365-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 2.5rem;
  align-items: start;
}
.tt365-footer-brand {
  display: flex;
  justify-content: center;
}
.tt365-footer-brand .tt365-logo img {
  height: 128px;
  width: auto;
}
.tt365-footer-brand .tt365-logo:hover { text-decoration: none; }

.tt365-footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tt365-white);
  margin-bottom: 1rem;
}
.tt365-footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.tt365-footer-col ul.address { gap: 0.15rem; }
.tt365-footer-col li { color: var(--tt365-lgray); line-height: 1.5; font-size: 0.875rem; }
.tt365-footer-col a {
  color: var(--tt365-blue);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s;
}
.tt365-footer-col a:hover { color: var(--tt365-slate); text-decoration: none; }

.tt365-footer-bottom {
  padding-top: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tt365-footer-bottom a {
  color: var(--tt365-blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}
.tt365-footer-bottom a:hover { color: var(--tt365-slate); text-decoration: none; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient( 135deg, var(--tt365-black) 0%, var(--tt365-blue) 100% );
  clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
  margin-bottom: -2px;
}

/* Circuit trace underlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/images/circuit_trace.svg');
  background-size: 2880px auto;
  background-position: top center;
  background-repeat: no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

#hero .tt365-container {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 8rem;
}

.tt365-hero-content {
  width: 100%;
}

.tt365-tagline-rotator {
  position: relative;
  min-height: 3rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
  text-align: left;
}
.tt365-tagline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 1.35rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.8s ease;
  margin: 0;
}
.tt365-tagline.is-active {
  opacity: 1;
}

.tt365-hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  color: var(--tt365-white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0;
  text-align: left;
}

/* Buttons — bottom right, outside clip-path, over white triangle */
.tt365-hero-wrap {
  position: relative;
}
.tt365-hero-buttons {
  position: absolute;
  bottom: 0;
  right: calc((100% - var(--container-max)) / 2 + var(--gutter));
  display: flex;
  gap: 1rem;
  transform: translateY(-2rem);
  z-index: 10;
}

.btn-hero {
  font-weight: 600;
  border-width: 2px;
}
.btn-hero--red {
  background: var(--tt365-red);
  color: var(--tt365-white);
  border-color: var(--tt365-red);
}
.btn-hero--red:hover {
  background: #c82030;
  border-color: #c82030;
  color: var(--tt365-white);
  text-decoration: none;
}
.btn-hero--blue {
  background: var(--tt365-blue);
  color: var(--tt365-white);
  border-color: var(--tt365-blue);
}
.btn-hero--blue:hover {
  background: #0090c8;
  border-color: #0090c8;
  color: var(--tt365-white);
  text-decoration: none;
}

/* ============================================================
   BREADCRUMBS — train stop style (layout built by JS)
   ============================================================ */
.tt365-breadcrumbs {
  margin-bottom: 1.5rem;
  overflow: visible;
}
.tt365-breadcrumbs a:hover {
  color: var(--tt365-blue) !important;
  text-decoration: none;
}

/* ============================================================
   PAGE TITLE
   ============================================================ */
.tt365-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--tt365-black);
  border-left: 6px solid var(--tt365-blue);
  padding-left: 1rem;
  line-height: 1.2;
  margin-top: 1.25rem;
  margin-bottom: 2.5rem;
}

/* ============================================================
   PAGE CONTENT
   ============================================================ */
.entry-content p,
.wp-block-post-content p,
.tt365-wwu-grid p {
  margin-bottom: 1.25em;
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.75rem;
  margin-bottom: 1.25rem;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.4rem; line-height: 1.7; }
.entry-content img,
.wp-block-post-content img {
  max-width: 100%;
  height: auto;
  display: block;
}
.entry-content .wp-block-image img,
.wp-block-post-content .wp-block-image img {
  width: 100%;
  height: auto;
}
.entry-content .wp-block-image figure,
.wp-block-post-content .wp-block-image figure {
  width: revert;
}
.entry-content figure,
.wp-block-post-content figure {
  margin: 1.5em 0;
}
.entry-content figcaption,
.wp-block-post-content figcaption {
  font-size: 0.85rem;
  color: var(--tt365-text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

/* Block editor alignment support */
.wp-block-image.alignleft,
.entry-content img.alignleft  { float: left;  margin: 0 2rem 1.5rem 0; }
.wp-block-image.alignright,
.entry-content img.alignright { float: right; margin: 0 0 1.5rem 2rem; }
.wp-block-image.aligncenter,
.entry-content img.aligncenter { display: block; margin-inline: auto; text-align: center; }

/* Shadow on all content images */
.entry-content img,
.entry-content .wp-block-image img,
.wp-block-post-content .wp-block-image img {
  box-shadow: 12px 12px 0px var(--tt365-dgray);
  height: auto;
}

/* Columns — top aligned, reset WP default margins */
.entry-content .wp-block-columns,
.wp-block-post-content .wp-block-columns {
  align-items: flex-start !important;
  margin-top: 0 !important;
  margin-bottom: 1.25em !important;
}
.entry-content .wp-block-column,
.wp-block-post-content .wp-block-column {
  margin-top: 0 !important;
}
.entry-content .wp-block-column > p:last-child,
.wp-block-post-content .wp-block-column > p:last-child {
  margin-bottom: 0;
}

/* Suppress blank &nbsp; paragraphs used as spacers */
.entry-content p:empty,
.entry-content p > br:only-child {
  display: none;
}
.entry-content p {
  min-height: 0;
}
/* Can't target &nbsp; in CSS directly - zero out suspicious single-space paras via zero margin */
.entry-content p:has(> br:only-child) { display: none; }

/* ============================================================
   PAGE CONTENT H2 STYLING
   ============================================================ */
.entry-content h2,
.tt365-wwu-grid h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tt365-black);
  border-left: 6px solid var(--tt365-red);
  padding-left: 1rem;
  line-height: 1.2;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}
.entry-content h2.tt365-h2-red,   .tt365-wwu-grid h2.tt365-h2-red   { border-left-color: var(--tt365-red); }
.entry-content h2.tt365-h2-blue,  .tt365-wwu-grid h2.tt365-h2-blue  { border-left-color: var(--tt365-blue); }
.entry-content h2.tt365-h2-slate, .tt365-wwu-grid h2.tt365-h2-slate { border-left-color: var(--tt365-slate); }
.tt365-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ============================================================
   MISSION VISION VALUES GRID
   ============================================================ */
.tt365-mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
.entry-content .tt365-mvv-grid h2 {
  margin-top: 0;
}
.tt365-values-section {
  margin-top: 3rem;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.tt365-team-section {
  margin-top: 3rem;
}
.tt365-team-section h2 {
  margin-top: 0;
}
.tt365-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
  gap: 2rem;
  margin-top: 0;
  padding-top: 1rem;
  justify-content: center;
}
.tt365-team-card {
  text-align: center;
}
.tt365-team-card__photo {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
  box-shadow: none !important;
}
.tt365-team-card__placeholder {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  background: var(--tt365-lgray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.tt365-team-card__placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--tt365-dgray);
}
.tt365-team-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tt365-black);
  margin: 0.85rem 0 0.2rem;
}
.tt365-team-card__title {
  font-size: 0.9rem;
  font-weight: 400;
  font-family: var(--font-sans);
  color: var(--tt365-text-muted);
  line-height: 1.4;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tt365-testimonials {
  margin-top: 3rem;
}
.tt365-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}
.tt365-testimonial {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 1.5rem;
  background: var(--tt365-lgray);
  border-radius: 6px;
  quotes: none;
}
.tt365-testimonial-mark {
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--tt365-slate);
  line-height: 1;
  flex-shrink: 0;
  margin-top: -0.75rem;
  user-select: none;
}
.tt365-testimonial-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--tt365-text);
  font-style: italic;
}
.entry-content h3:not(.tt365-cat-card__name):not(.tt365-course-card__title) {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tt365-slate);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* ============================================================
   CONTACT PAGE LAYOUT
   ============================================================ */
.tt365-cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.tt365-cf7-col {
  max-width: 480px;
}
.tt365-cf7-col p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.tt365-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.tt365-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tt365-contact-item svg {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}
.tt365-contact-item span {
  line-height: 1.7;
  color: var(--tt365-text);
}
.tt365-contact-item a {
  color: var(--tt365-text);
  text-decoration: none;
  font-weight: 500;
}
.tt365-contact-item a:hover {
  color: var(--tt365-blue);
}

.tt365-cf7-consent {
  font-size: 0.82rem;
  color: var(--tt365-text-muted);
  margin-top: 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}


/* ============================================================
   CONTACT FORM 7
   ============================================================ */
.wpcf7 {
  margin-top: 1rem;
}
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 1.25rem;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--tt365-text);
  background: var(--tt365-white);
  border: 1px solid var(--tt365-dgray);
  border-radius: 4px;
  transition: border-color 0.15s;
  outline: none;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--tt365-blue);
}
.wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
}
.wpcf7 input[type="submit"] {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tt365-white);
  background: var(--tt365-blue);
  border: 2px solid var(--tt365-blue);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.wpcf7 input[type="submit"]:hover {
  background: #0090c8;
  border-color: #0090c8;
}
.wpcf7 .wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: var(--tt365-red);
  margin-top: 0.25rem;
}
.wpcf7 .wpcf7-response-output {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  border: none;
}
.wpcf7 .wpcf7-mail-sent-ok {
  background: #f0faf0;
  color: #2d6a2d;
}
.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ng {
  background: #fff0f0;
  color: var(--tt365-red);
}

.wpcf7 .cf-turnstile,
.wpcf7 .cf7-turnstile {
  margin: 1rem 0;
}

/* Turnstile left, submit right */
.wpcf7 .wpcf7-turnstile-submit-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin-top: 1rem;
}
.wpcf7 .wpcf7-turnstile-left,
.wpcf7 .wpcf7-turnstile-right {
  display: flex !important;
  align-items: center !important;
}
.wpcf7 .wpcf7-turnstile-right p {
  margin: 0;
  padding: 0;
}

/* ============================================================
   SCREEN READER
   ============================================================ */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ============================================================
   CATALOG PLUGIN STYLES
   ============================================================ */

/* Category card grid */
.tt365-cat-grid {
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax( 260px, 1fr ) );
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.tt365-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  background-color: var(--tt365-black);
  background-size: 60%;
  background-position: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.tt365-cat-card::after { content: none; }
.tt365-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
  text-decoration: none;
}
.tt365-cat-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient( 135deg, rgba(0,0,0,.85) 0%, rgba(0,163,224,.55) 100% );
}

.tt365-cat-card--artificial-intelligence .tt365-cat-card__overlay {
  background: linear-gradient( 135deg, rgba(0,77,107,.8) 0%, rgba(0,163,224,1) 100% ) !important;
}
.tt365-cat-card--cloud-computing .tt365-cat-card__overlay {
  background: linear-gradient( 135deg, rgba(0,74,80,.8) 0%, rgba(0,156,166,1) 100% ) !important;
}
.tt365-cat-card--cybersecurity .tt365-cat-card__overlay {
  background: linear-gradient( 135deg, rgba(122,0,16,.8) 0%, rgba(239,51,64,1) 100% ) !important;
}
.tt365-cat-card--information-technology .tt365-cat-card__overlay {
  background: linear-gradient( 135deg, rgba(122,48,0,.8) 0%, rgba(255,102,0,1) 100% ) !important;
}
.tt365-cat-card--data-analytics .tt365-cat-card__overlay {
  background: linear-gradient( 135deg, rgba(0,77,50,.8) 0%, rgba(0,168,107,1) 100% ) !important;
}
.tt365-cat-card__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}
.tt365-cat-card__code {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
}
.tt365-cat-card__icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  color: rgba(255,255,255,.9);
}
.tt365-cat-card__icon svg { width: 96px; height: 96px; }
.tt365-cat-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--tt365-white);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}
.tt365-cat-card__desc { display: none; }
.tt365-cat-card__count {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255,255,255,.15);
}

/* Category archive heading */
.tt365-cat-section { margin-bottom: 3rem; }
.tt365-cat-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tt365-black);
  border-left: 6px solid var(--tt365-blue);
  padding-left: 1rem;
  margin-bottom: 0.75rem;
  margin-top: 0;
}
.tt365-cat-description {
  color: var(--tt365-text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Course grid */
.tt365-course-grid {
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax( 280px, 1fr ) );
  gap: 1.5rem;
}

/* Course card */
.tt365-course-card {
  display: flex;
  flex-direction: column;
  background: var(--tt365-white);
  border: 1px solid var(--tt365-lgray);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.tt365-course-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.tt365-course-card__header {
  position: relative;
  padding: 1.1rem 1.25rem 1rem;
  overflow: hidden;
  min-height: 80px;
}
.tt365-course-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.tt365-course-card__header-content {
  position: relative;
  z-index: 2;
}
.tt365-course-card__title,
.tt365-course-card .tt365-course-card__title { font-size: 1rem; font-weight: 700; margin: 0 0 0.25rem 0; line-height: 1.3; color: inherit; }
.entry-content .tt365-course-card__title { font-size: 1rem; font-weight: 700; margin: 0 0 0.25rem 0; line-height: 1.3; color: inherit; border: none; padding: 0; }
.tt365-course-card__title a { color: #fff; text-decoration: none; }
.tt365-course-card__title a:hover { color: rgba(255,255,255,.85); }
.tt365-course-card__vendor {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}
.tt365-course-card__body { padding: 1rem 1.25rem 0.75rem; flex: 1; }
.tt365-course-card__excerpt { font-size: 0.875rem; color: var(--tt365-text-muted); line-height: 1.6; margin: 0; }
.tt365-course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--tt365-lgray);
  margin-top: auto;
}
.tt365-course-card__id-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tt365-course-card__btn {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.tt365-course-card__btn:hover {
  opacity: 0.85;
  color: #fff;
  text-decoration: none;
}

/* Single course page */
.tt365-course-single { max-width: 860px; }
.tt365-course-single__meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--tt365-lgray);
}
.tt365-course-single__meta-item { display: flex; align-items: center; }
.tt365-course-single__meta-label { display: none; }
.tt365-course-single__meta-value { font-size: 0.95rem; font-weight: 600; color: var(--tt365-black); }
.tt365-course-single__section { margin-bottom: 2rem; padding-top: 10px; }
.tt365-course-single__section:last-child { padding-bottom: 40px; }
.tt365-course-single__section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tt365-black);
  border-left: 5px solid var(--tt365-blue);
  padding-left: 0.75rem;
  margin-bottom: 1rem;
}
.tt365-course-single__objectives { font-size: 0.95rem; line-height: 1.75; color: var(--tt365-text); padding-top: 10px; }
.tt365-course-single__objectives ul,
.tt365-course-single__objectives ol { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.tt365-course-single__objectives ol { list-style: decimal; }
.tt365-course-single__objectives li { margin-bottom: 0.35rem; }
.tt365-course-single__objectives h3 { font-size: 1.25rem; font-weight: 700; color: var(--tt365-black); margin: 1.25rem 0 0.5rem; }
.tt365-course-single__inquiry {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--tt365-lgray);
}
.tt365-course-single__inquiry h2 {
  font-size: 1.15rem;
  font-weight: 700;
  border-left: 5px solid var(--tt365-red);
  padding-left: 0.75rem;
  margin-bottom: 0.75rem;
}
.tt365-course-single__inquiry > p { font-size: 0.95rem; color: var(--tt365-text-muted); margin-bottom: 1rem; }


/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */
.tt365-hp-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--tt365-lgray);
}
.tt365-hp-section:last-child { border-bottom: none; }
.tt365-hp-section--alt { background: var(--tt365-lgray); }

.tt365-hp-label {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tt365-blue);
  margin-bottom: 0.65rem;
}
.tt365-hp-h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--tt365-black);
  margin: 0 0 1.25rem;
  line-height: 1.25;
  max-width: 700px;
  border: none;
  padding-left: 0;
}
.tt365-hp-body {
  font-size: 1rem;
  color: var(--tt365-text);
  line-height: 1.75;
  max-width: 760px;
  margin: 0 0 1rem;
}

/* Two-column instructor section */
.tt365-hp-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.tt365-hp-accent-block {
  background: var(--tt365-white);
  border-left: 4px solid var(--tt365-red);
  border-radius: 0 6px 6px 0;
  padding: 1.5rem 1.75rem;
  margin-top: 0.5rem;
}
.tt365-hp-accent-block p {
  font-size: 0.95rem;
  color: var(--tt365-text);
  line-height: 1.75;
  margin: 0 0 1rem;
}
.tt365-hp-accent-block p:last-child { margin: 0; }

/* Catalog category grid */
.tt365-hp-cat-grid {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax( 180px, 1fr ) );
  gap: 1rem;
  margin-top: 1.5rem;
}
.tt365-hp-cat {
  background: var(--tt365-white);
  border: 1px solid var(--tt365-lgray);
  border-top: 3px solid var(--tt365-blue);
  border-radius: 0 0 6px 6px;
  padding: 1.1rem;
}
.tt365-hp-cat--ai    { border-top-color: #00a3e0; }
.tt365-hp-cat--cloud { border-top-color: #009CA6; }
.tt365-hp-cat--cyber { border-top-color: #ef3340; }
.tt365-hp-cat--data  { border-top-color: #00a867; }
.tt365-hp-cat--it    { border-top-color: #FF6600; }
.tt365-hp-cat-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--tt365-black);
  margin-bottom: 0.4rem;
}
.tt365-hp-cat-body {
  font-size: 0.8rem;
  color: var(--tt365-text-muted);
  line-height: 1.6;
}

/* Buttons */
.tt365-btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.tt365-btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.tt365-btn--primary { background: var(--tt365-red); color: var(--tt365-white); }
.tt365-btn--primary:hover { background: #c82030; color: var(--tt365-white); text-decoration: none; }
.tt365-btn--red { background: var(--tt365-red); color: var(--tt365-white); border: 2px solid var(--tt365-red); }
.tt365-btn--red:hover { background: #c82030; border-color: #c82030; color: var(--tt365-white); text-decoration: none; }
.tt365-btn--blue { background: var(--tt365-blue); color: var(--tt365-white); border: 2px solid var(--tt365-blue); }
.tt365-btn--blue:hover { background: #0090c8; border-color: #0090c8; color: var(--tt365-white); text-decoration: none; }
.tt365-btn--outline { background: transparent; color: var(--tt365-blue); border: 2px solid var(--tt365-blue); }
.tt365-btn--outline:hover { background: var(--tt365-blue); color: var(--tt365-white); text-decoration: none; }
.tt365-btn--outline-white { background: transparent; color: var(--tt365-white); border: 2px solid var(--tt365-white); }
.tt365-btn--outline-white:hover { background: var(--tt365-white); color: var(--tt365-black); text-decoration: none; }

/* Training solutions */
.tt365-hp-solutions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.tt365-hp-sol {
  background: var(--tt365-white);
  border: 1px solid var(--tt365-lgray);
  border-radius: 6px;
  padding: 1.5rem;
}
.tt365-hp-sol-icon { color: var(--tt365-blue); margin-bottom: 1rem; }
.tt365-hp-sol-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tt365-black);
  margin: 0 0 0.6rem;
}
.tt365-hp-sol-body {
  font-size: 0.875rem;
  color: var(--tt365-text-muted);
  line-height: 1.7;
  margin: 0 0 1.1rem;
}
.tt365-hp-sol-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tt365-blue);
  text-decoration: none;
}
.tt365-hp-sol-link:hover { color: var(--tt365-slate); text-decoration: none; }

/* Why grid */
.tt365-hp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.tt365-hp-why {
  border: 1px solid var(--tt365-lgray);
  border-radius: 6px;
  padding: 1.25rem;
  background: var(--tt365-white);
}
.tt365-hp-why-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tt365-black);
  margin: 0 0 0.4rem;
}
.tt365-hp-why-body {
  font-size: 0.85rem;
  color: var(--tt365-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Closing CTA */
.tt365-hp-section--cta {
  background: var(--tt365-white);
  border-bottom: none;
}
.tt365-hp-2col--cta {
  align-items: center;
  grid-template-columns: 3fr 2fr;
}
.tt365-hp-cta-graphic {
  text-align: right;
}
.tt365-hp-cta-graphic img {
  width: 400px;
  height: auto;
  display: block;
  margin-left: auto;
}

/* Responsive */

/* Intro two-col with graphic */
.tt365-hp-2col--intro {
  align-items: center;
  grid-template-columns: 3fr 2fr;
}
.tt365-hp-intro-graphic {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.tt365-hp-intro-graphic img {
  width: 100%;
  max-width: 280px;
  height: auto;
}

/* Why cards — colored top borders */
.tt365-hp-why:nth-child(1) { border-top: 3px solid #ef3340; }
.tt365-hp-why:nth-child(2) { border-top: 3px solid #00a3e0; }
.tt365-hp-why:nth-child(3) { border-top: 3px solid #009CA6; }
.tt365-hp-why:nth-child(4) { border-top: 3px solid #FF6600; }
.tt365-hp-why:nth-child(5) { border-top: 3px solid #00a867; }
.tt365-hp-why:nth-child(6) { border-top: 3px solid #FFD100; }

/* ============================================================
   SINGLE COURSE — two-column layout
   ============================================================ */
.tt365-course-single__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}
.tt365-course-single__content {
  min-width: 0;
}

/* Pricing card */
.tt365-pricing-card {
  float: right;
  width: 280px;
  margin: 0 0 2rem 2rem;
  background: var(--tt365-white);
  border: 1px solid var(--tt365-lgray);
  border-top: 4px solid var(--tt365-blue);
  border-radius: 0 0 6px 6px;
  padding: 1.25rem;
}
.tt365-pricing-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}
.tt365-pricing-card__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tt365-text-muted);
}
.tt365-pricing-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tt365-text);
}
.tt365-pricing-card__price--featured {
  font-size: 1.75rem;
}
.tt365-pricing-card__price--strike {
  text-decoration: line-through;
  color: var(--tt365-text-muted);
  font-weight: 500;
}
.tt365-pricing-card__comparison {
  font-size: 0.8rem;
  color: var(--tt365-text-muted);
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--tt365-lgray);
  border-radius: 4px;
}
.tt365-pricing-card__divider {
  border-top: 1px solid var(--tt365-lgray);
  margin: 1rem 0;
}
.tt365-pricing-card__btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tt365-white);
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.15s;
  margin-bottom: 1rem;
}
.tt365-pricing-card__btn:hover {
  opacity: 0.85;
  color: var(--tt365-white);
  text-decoration: none;
}
.tt365-pricing-card__note {
  font-size: 0.78rem;
  color: var(--tt365-text-muted);
  line-height: 1.5;
  margin: 0;
}


/* ============================================================
   PRICING BAR — between description and objectives
   ============================================================ */
.tt365-pricing-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--tt365-lgray);
  border-left: 4px solid var(--tt365-blue);
  border-radius: 0 6px 6px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.tt365-pricing-bar__prices {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.tt365-pricing-bar__item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.tt365-pricing-bar__item--comp {
  padding-left: 2.5rem;
  border-left: 1px solid var(--tt365-dgray);
}
.tt365-pricing-bar__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--tt365-text-muted);
}
.tt365-pricing-bar__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tt365-text);
}
.tt365-pricing-bar__price--featured {
  font-size: 1rem;
}
.tt365-pricing-bar__price--strike {
  text-decoration: line-through;
  color: var(--tt365-text-muted);
  font-weight: 700;
}
.tt365-pricing-bar__price--comp {
  color: var(--tt365-text-muted);
}
.tt365-pricing-bar__btn {
  display: inline-block;
  flex-shrink: 0;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tt365-white);
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.tt365-pricing-bar__btn:hover {
  opacity: 0.85;
  color: var(--tt365-white);
  text-decoration: none;
}


/* ============================================================
   CATALOG SEARCH BAR
   ============================================================ */
.tt365-catalog-search {
  position: relative;
  margin-bottom: 1.5rem;
}
.tt365-catalog-search input[type="search"] {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--tt365-text);
  background: var(--tt365-white);
  border: 2px solid var(--tt365-blue);
  border-radius: 6px;
  outline: none;
  transition: box-shadow 0.15s;
}
.tt365-catalog-search input[type="search"]:focus {
  box-shadow: 0 0 0 3px rgba(0,163,224,.15);
}
.tt365-catalog-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.tt365-catalog-search__clear {
  display: none;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--tt365-text-muted);
  font-size: 0.9rem;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.tt365-catalog-search__clear:hover { color: var(--tt365-red); }
.tt365-search-no-results {
  color: var(--tt365-text-muted);
  font-size: 1rem;
  padding: 2rem 0;
}

/* ============================================================
   COURSE INFO CARD (single course page sidebar)
   ============================================================ */
.tt365-course-info-card {
  float: right;
  width: 300px;
  margin: 0 0 2rem 2rem;
  background: var(--tt365-white);
  border: 1px solid var(--tt365-lgray);
  border-radius: 6px;
  overflow: hidden;
}
.tt365-course-info-card__meta {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--tt365-lgray);
  display: flex;
  justify-content: center;
}
.tt365-course-info-card__meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
}
.tt365-course-info-card__meta-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tt365-black);
}
.tt365-course-info-card__pricing {
  padding: 1rem 1.25rem 0.5rem;
  text-align: center;
}
.tt365-course-info-card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
}
.tt365-course-info-card__price {
  font-size: 1.5rem;
  font-weight: 700;
  display: inline;
}
.tt365-course-info-card__price--strike {
  font-size: 1rem;
  font-weight: 700;
  text-decoration: line-through;
  color: var(--tt365-text-muted);
}
.tt365-course-info-card__comp {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tt365-text-muted);
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--tt365-lgray);
  border-radius: 4px;
  text-align: center;
}
.tt365-course-info-card .tt365-pricing-card__divider { margin: 0.75rem 1.25rem; }
.tt365-course-info-card .tt365-pricing-card__note {
  padding: 0 1.25rem;
  margin-bottom: 0.75rem;
}
.tt365-course-info-card .tt365-course-card__btn {
  margin: 0 1.25rem 1.25rem;
  display: block;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border-radius: 4px;
}


/* Course info card header content */
.tt365-course-info-card__header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.tt365-course-info-card__icon {
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.tt365-course-info-card__icon svg {
  width: 56px;
  height: 56px;
}
.tt365-course-info-card__delivery {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.tt365-course-info-card__value-prop {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tt365-black);
  text-align: center;
  margin: 0.5rem 0 0;
  letter-spacing: 0.04em;
}


.tt365-pricing-card__note--team {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--tt365-black);
  text-align: center;
  margin: 0.4rem 0 1rem !important;
  padding: 0 0.5rem !important;
}
.tt365-pricing-card__note--individual {
  text-align: center;
  font-size: 0.75rem;
  color: var(--tt365-text-muted);
  margin: 0.35rem 0 0 !important;
  padding: 0 !important;
}

.tt365-pricing-card__note--team-header {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tt365-black);
  text-align: center;
  margin: 0 !important;
  padding: 0 !important;
}

/* ============================================================
   BLOCKQUOTE
   ============================================================ */

.tt365-search-all-link {
  font-weight: 600;
  color: var(--tt365-blue);
  text-decoration: none;
  white-space: nowrap;
}
.tt365-search-all-link:hover {
  text-decoration: underline;
}

.tt365-search-fallback {
  font-size: 1.1rem;
  color: var(--tt365-text);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
.tt365-nav-overlay {
  display: none !important;
}

.tt365-mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--tt365-black);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.tt365-mobile-nav.is-open {
  transform: translateX(0);
}

.tt365-mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 1.25rem;
  flex-shrink: 0;
}

.tt365-mobile-nav__close {
  background: none;
  border: none;
  color: var(--tt365-white);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt365-mobile-nav__body {
  padding: 0.5rem 0;
  flex: 1;
}

.tt365-mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tt365-mobile-menu__item {
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.tt365-mobile-menu__link,
.tt365-mobile-menu__parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.1rem 1.5rem;
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
}
.tt365-mobile-menu__link:hover,
.tt365-mobile-menu__parent:hover {
  color: var(--tt365-blue);
  background: none;
  text-decoration: none;
}
.tt365-mobile-menu__chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.tt365-mobile-menu__parent[aria-expanded="true"] .tt365-mobile-menu__chevron {
  transform: rotate(180deg);
}

.tt365-mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  background: rgba(0,0,0,.25);
  border-top: 2px solid var(--tt365-blue);
}
.tt365-mobile-submenu.is-open {
  display: block;
}
.tt365-mobile-submenu .tt365-mobile-menu__item {
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.tt365-mobile-submenu .tt365-mobile-menu__link {
  padding-left: 2.25rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,.75);
}
.tt365-mobile-submenu .tt365-mobile-menu__link:hover {
  color: var(--tt365-blue);
}

/* Hide mobile nav on desktop */
@media ( min-width: 769px ) {
  .tt365-mobile-nav,
  .tt365-nav-overlay { display: none !important; }
}

/* Work With Us — two-column form section */
.tt365-wwu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}
.tt365-wwu-grid h2:first-child {
  margin-top: 0;
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media ( max-width: 768px ) {
  .tt365-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .tt365-mvv-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tt365-team-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 160px));
    justify-content: center;
  }

  .tt365-cf7-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Collapse inline-grid blocks in page content (e.g. Work With Us) */
  .entry-content [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Work With Us form grid */
  .tt365-wwu-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* CF7 turnstile + submit — stack vertically, clip fixed-width iframe */
  .wpcf7 .wpcf7-turnstile-submit-row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .wpcf7 .wpcf7-turnstile-left {
    width: 100%;
    overflow: hidden;
  }
  .wpcf7 .wpcf7-turnstile-left iframe {
    max-width: 100% !important;
    width: 100% !important;
  }
  .wpcf7 .wpcf7-turnstile-right {
    margin-top: 0.75rem;
    width: 100%;
  }
  .wpcf7 input[type="submit"] {
    width: 100%;
  }

  :root { --header-height: 60px; }
  .tt365-menu-toggle { display: flex !important; }
  #primary-navigation { display: none !important; }
  .tt365-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .tt365-footer-bottom { flex-direction: column; text-align: center; }

  /* Hero */
  #hero {
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    min-height: auto;
  }
  #hero .tt365-container {
    padding-top: calc(var(--header-height) + 1.25rem);
    padding-bottom: 5rem;
  }

  /* Intro section — hide target graphic, full-width text */
  .tt365-hp-intro-graphic { display: none; }
  .tt365-hp-2col--intro { grid-template-columns: 1fr; }

  /* CTA section — hide goals graphic */
  .tt365-hp-cta-graphic { display: none; }
  .tt365-hp-2col--cta { grid-template-columns: 1fr; }

  /* Hero buttons — pull out of absolute positioning, flow below hero */
  .tt365-hero-buttons {
    position: static;
    transform: none;
    justify-content: center;
    padding: 1.25rem var(--gutter);
    background: var(--tt365-white);
  }

  .tt365-hp-2col { grid-template-columns: 1fr; gap: 1.5rem; }
  .tt365-hp-solutions { grid-template-columns: 1fr; }
  .tt365-hp-why-grid { grid-template-columns: 1fr; }
  .tt365-hp-h2 { font-size: 1.4rem; }

  .tt365-pricing-card {
    float: none;
    width: 100%;
    margin: 0 0 2rem 0;
  }

  .tt365-pricing-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .tt365-pricing-bar__btn { width: 100%; text-align: center; }

  .tt365-course-info-card {
    float: none;
    width: 100%;
    margin: 0 0 2rem 0;
  }
}

@media ( max-width: 600px ) {
  .tt365-cat-grid { grid-template-columns: 1fr; }

  .tt365-course-grid { grid-template-columns: 1fr; }
  .tt365-course-single__meta { gap: 1rem; }
}
