/*
 * Custom CSS for Aikido Buikukai Panama
 * Extracted from Inspinia v2.8 style.css + custom additions
 * Used alongside Inspinia v4.8 (vendors.min.css + app.min.css)
 */

/* Homepage CTA cards */
.cta-card {
  display: block;
  background: transparent;
  color: #ed5565;
  border: 2px solid #ed5565;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  font-size: .9rem;
  padding: 10px 8px;
  border-radius: 6px;
  transition: all .15s ease;
}
.cta-card:hover {
  background: #ed5565;
  color: #fff;
  transform: translateY(-2px);
}
.cta-card i {
  margin-right: 4px;
}

/* Pricing cards */
.pricing-card {
  border-width: 2px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.pricing-card--featured {
  border-width: 2px;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .75rem;
  padding: 3px 12px;
  border-radius: 20px;
}
.pricing-amount {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}
.pricing-period {
  font-size: 1rem;
  font-weight: 400;
}

/* Skip-to-content link (accessibility) */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
}
.skip-to-content:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 10px 20px;
  background: #ed5565;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* ==========================================================================
   1A. Sidebar Brand Colors + 1B. Logo Sizing
   ========================================================================== */
:root,
[data-menu-color="dark"] {
  --ins-sidenav-bg: #2f4050;
  --ins-sidenav-border-color: #2f4050;
  --ins-sidenav-item-color: #a7b1c2;
  --ins-sidenav-item-hover-color: #ffffff;
  --ins-sidenav-item-hover-bg: #293846;
  --ins-sidenav-item-active-color: #ffffff;
  --ins-sidenav-item-active-bg: #293846;
  --ins-logo-lg-height: 45px;
  --ins-logo-sm-height: 50px;
}

/* ==========================================================================
   4B. Typography Refinements
   ========================================================================== */
body {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

/* ==========================================================================
   Bootstrap 4 → 5 Utility Shims
   Avoids mass HTML find-replace for old Inspinia utility classes
   ========================================================================== */
.m-t-lg { margin-top: 1.5rem !important; }
.m-b-lg { margin-bottom: 1.5rem !important; }
.m-b-md { margin-bottom: 1rem !important; }
.m-r-sm { margin-right: 0.5rem !important; }
.m-t { margin-top: 15px !important; }
.m-b { margin-bottom: 15px !important; }
.m-l { margin-left: 15px !important; }
.m-r { margin-right: 15px !important; }
.m-t-md { margin-top: 1rem !important; }
.m-t-sm { margin-top: 0.5rem !important; }
.m-b-sm { margin-bottom: 0.5rem !important; }
.m-l-sm { margin-left: 0.5rem !important; }
.m-b-xs { margin-bottom: 0.25rem !important; }
.m-t-xs { margin-top: 0.25rem !important; }
.m-t-xl { margin-top: 2rem !important; }
.m-b-xl { margin-bottom: 2rem !important; }
.p-lg { padding: 1.5rem !important; }
.p-md { padding: 1rem !important; }
.p-sm { padding: 0.5rem !important; }
.p-xs { padding: 0.25rem !important; }
.p-xl { padding: 2rem !important; }
.gray-bg { background-color: #f3f3f4; }
.white-bg { background-color: #fff; }
.page-heading { padding: 10px 20px; }
.font-bold { font-weight: 700 !important; }
.no-margins { margin: 0 !important; }
.text-color { color: #676a6c; }
.text-navy { color: #1ab394; }

/* ==========================================================================
   1C. Content-Page Spacing
   ========================================================================== */
/* Removed padding-top:15px — v4.8's .page-title-head handles spacing */

/* ==========================================================================
   ibox - old Inspinia component
   ========================================================================== */
.ibox {
  clear: both;
  margin-bottom: 25px;
}

/* 1F. ibox Component Shims */
.ibox-title {
  background-color: #fff;
  border-color: #e7eaec;
  border-style: solid solid none;
  border-width: 2px 0 0;
  padding: 15px 15px 8px;
  min-height: 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ibox-title h5 {
  display: inline-block;
  font-size: 14px;
  margin: 0 0 7px;
}
.ibox-tools {
  display: flex;
  gap: 8px;
}
.ibox-tools a {
  cursor: pointer;
  color: #888;
}
.ibox-tools a:hover {
  color: #1ab394;
}
.ibox-content {
  background-color: #fff;
  padding: 15px 20px 20px;
  border-color: #e7eaec;
  border-style: solid solid none;
  border-width: 1px 0;
  clear: both;
}
.ibox-content.no-padding {
  padding: 0;
}
.ibox-heading {
  background-color: #f3f6fb;
  border-bottom: none;
}
.ibox-heading h3 {
  font-weight: 200;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}
.ibox-footer {
  border-top: 1px solid #e7eaec;
  font-size: 90%;
  background: #fff;
  padding: 10px 15px;
}

/* Profile image constraint (page header icons) — float left like v2.8 */
.profile-image {
  float: left;
  max-width: 80px;
  margin-right: 15px;
  margin-bottom: 10px;
}
.profile-image img {
  max-width: 100%;
  height: auto;
}

/* Profile widget header background */
.widget-head-color-box {
  background: #eee;
}

/* Profile content shim (maestro profile cards) */
.profile-content {
  padding: 15px;
}
.border-left-right {
  border-left: 1px solid #e7eaec;
  border-right: 1px solid #e7eaec;
}


/* btn-outline shim */
.btn-outline {
  border: 1px solid;
  background: transparent;
}

/* 1I. Button Consistency */
.btn-outline.btn-primary { color: #0d6efd; border-color: #0d6efd; }
.btn-outline.btn-primary:hover { background: #0d6efd; color: #fff; }
.btn-outline.btn-danger { color: #ed5565; border-color: #ed5565; }
.btn-outline.btn-danger:hover { background: #ed5565; color: #fff; }
.btn-outline.btn-success { color: #1ab394; border-color: #1ab394; }
.btn-outline.btn-success:hover { background: #1ab394; color: #fff; }
.btn-outline.btn-info { color: #23c6c8; border-color: #23c6c8; }
.btn-outline.btn-info:hover { background: #23c6c8; color: #fff; }
.btn-outline.btn-warning { color: #f8ac59; border-color: #f8ac59; }
.btn-outline.btn-warning:hover { background: #f8ac59; color: #fff; }

/* btn-circle */
.btn-circle {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 6px 0;
  text-align: center;
}
.btn-circle.btn-lg {
  width: 50px;
  height: 50px;
  padding: 10px 0;
  font-size: 14px;
}


/* ==========================================================================
   Partner / Sponsor Styles
   ========================================================================== */
.partner {
  background-color: #f8f8f8;
}
.partner .partner-box {
  display: block;
  opacity: 0.6;
  height: 110px;
  width: 130px;
  margin: 10px auto;
  padding: 10px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-origin: content-box;
  transition: opacity 0.3s ease;
}
.partner .partner-box:hover {
  opacity: 1;
}
.partner .partner-box-1 {
  background: url(../img/sponsors/1200px-Radisson_Hotel_Logo.svg.png) no-repeat center center/contain;
}
.partner .partner-box-2 {
  background: url(../img/sponsors/Logo_TransparenteColor.png) no-repeat center center/contain;
}
.partner .partner-box-3 {
  background: url(../img/sponsors/link_industria_logo_small.jpg) no-repeat center center/contain;
}
.partner .partner-box-4 {
  background: url(../img/sponsors/lombardo_svcFlake.png) no-repeat center center/contain;
}
.partner .partner-box-5 {
  background: url(../img/sponsors/logoNelson.png) no-repeat center center/contain;
}
.partner .partner-box-6 {
  background: url(../img/sponsors/PlusPymes-V2.png) no-repeat center center/contain;
}
.partner .partner-box-7 {
  background: url(../img/sponsors/restPencas.png) no-repeat center center/contain;
}
.partner .partner-box-8 {
  background: url(../img/sponsors/Logo-3G-Solution-Consulting-Final.png) no-repeat center center/contain;
}
.partner .partner-box-9 {
  background: url(../img/sponsors/bustnpartners_logo.jpeg) no-repeat center center/contain;
}

/* ==========================================================================
   Special Sidebar Links (remapped to new sidebar classes)
   ========================================================================== */
.special_link .side-nav-link {
  background: #1ab394;
  color: white !important;
}
.special_link .side-nav-link:hover {
  background: #17987e !important;
  color: white !important;
}
.special_link .side-nav-link .label {
  background: #fff;
  color: #1ab394;
}

.special_link_danger .side-nav-link {
  background: #ed5565;
  color: white !important;
}
.special_link_danger .side-nav-link:hover {
  background: #983641 !important;
  color: white !important;
}
.special_link_danger .side-nav-link .label {
  background: #fff;
  color: #ed5565;
}

/* ==========================================================================
   1H. Widget / Profile Components
   ========================================================================== */
.widget-head-color-box {
  border-radius: 6px 6px 0 0;
  margin-top: 10px;
  padding: 20px;
  text-align: center;
}

img.circle-border {
  border: 6px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: transform 0.3s ease;
}
img.circle-border:hover {
  transform: scale(1.05);
}

.profile-widget {
  margin-bottom: 20px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.profile-widget .widget-head-color-box {
  margin-top: 0;
}
.profile-widget-footer {
  display: block;
  background: #ed5565;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}
.profile-widget-footer:hover {
  background: #d64353;
  color: #fff;
}

/* ==========================================================================
   Landing Page Sections
   ========================================================================== */
.landing-page button:focus-visible {
  outline: 2px solid #1ab394;
  outline-offset: 2px;
}
.landing-page .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}
.landing-page span.navy {
  color: #1ab394;
}
.landing-page p.text-color {
  color: #676a6c;
}
.landing-page section p {
  color: #777;
  font-size: 13px;
}
.landing-page address {
  font-size: 13px;
}
.landing-page h1 {
  margin-top: 10px;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 200;
}
.landing-page .navy-line {
  width: 60px;
  height: 1px;
  margin: 60px auto 0;
  border-bottom: 2px solid #1ab394;
}
.landing-page .danger-line {
  width: 60px;
  height: 1px;
  margin: 60px auto 0;
  border-bottom: 2px solid #ed5565;
}
.landing-page .gray-section {
  background: transparent;
  margin-top: 60px;
}
.landing-page > .col-lg-12 > .ibox {
  background: transparent;
  border: none;
  box-shadow: none;
  margin-bottom: 0;
}
.landing-page .contact {
  background-image: url("../img/landing/word_map.png");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 60px;
  padding-bottom: 40px;
}
.landing-page .symbol {
  background-image: url("../img/landing/symbol-aikido.png");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 60px;
}
.landing-page .team-member {
  text-align: center;
}
.landing-page .team-member img {
  margin: auto;
}

.landing-page .pricing-plan {
  margin: 20px 30px 0 30px;
  border-radius: 4px;
}
.landing-page .pricing-plan.selected {
  transform: scale(1.1);
  background: #f4f4f4;
}
.landing-page .pricing-plan li {
  padding: 10px 16px;
  border-top: 1px solid #e7eaec;
  text-align: center;
  color: #aeaeae;
}
.landing-page .pricing-plan .pricing-price span {
  font-weight: 700;
  color: #1ab394;
}
.landing-page li.pricing-desc {
  font-size: 13px;
  border-top: none;
  padding: 20px 16px;
}
.landing-page li.pricing-title {
  background: #ed5565;
  color: #fff;
  padding: 10px;
  border-radius: 4px 4px 0 0;
  font-size: 22px;
  font-weight: 600;
}

/* Landing page buttons */
.landing-page .btn-primary.btn-outline:hover,
.landing-page .btn-success.btn-outline:hover,
.landing-page .btn-info.btn-outline:hover,
.landing-page .btn-warning.btn-outline:hover,
.landing-page .btn-danger.btn-outline:hover {
  color: #fff;
}

/* ==========================================================================
   Carousel Hover-Zoom
   ========================================================================== */
.outer-div {
  height: auto;
  overflow: hidden;
}
.inner-div {
  height: auto;
  width: 100%;
  background-size: cover;
  background-position: center;
}

/* Carousel images — fluid height, capped on large screens */
.carousel-item {
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.carousel-item::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: inherit;
  filter: blur(25px) brightness(.6);
  z-index: 0;
}
.carousel-item img {
  position: relative;
  z-index: 1;
  max-height: 420px;
  width: 100%;
  object-fit: contain;
  object-position: center;
}

/* ==========================================================================
   2B. Carousel Control Styling
   ========================================================================== */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.4);
  border-radius: 50%;
  padding: 20px;
  background-size: 50%;
}


/* Panel shims removed — all pages migrated to .card / .card-header / .card-body */

/* ==========================================================================
   Page-specific overrides for v4.8 sidebar
   ========================================================================== */

/* Ensure sub-menus with country flags render properly */
.side-nav .sub-menu img {
  vertical-align: middle;
}

/* 1J. Topbar search styling for Tipue
   v4.8 provides: .app-search { position:relative }
                   .app-search .form-control { padding-left:40px }
                   .app-search .app-search-icon { position:absolute; top:50%; transform:translateY(-50%);
                                                   width:40px; display:flex; justify-content:center; z-index:5 }
   TipueSearch's #tipue_search_input sets padding:9px 0 10px 18px which overrides
   v4.8's padding-left:40px (ID beats class). We fix it here with matching specificity. */
#tipue_search_input.form-control {
  padding-left: 40px;
  border: 1px solid var(--ins-topbar-search-border, #e7e9eb);
  background: var(--ins-topbar-search-bg, transparent);
  color: var(--ins-topbar-item-color, #6c757d);
  border-radius: 4px;
  font-size: 13px;
  height: auto;
  width: 220px;
  float: none;
}
#tipue_search_input.form-control::placeholder {
  color: var(--ins-topbar-item-color, #999);
  opacity: 0.6;
}
.app-topbar .app-search .app-search-icon {
  left: 0;
  color: var(--ins-topbar-item-color, #999);
  font-size: 14px;
  pointer-events: none;
}
/* Make form inside app-search position-relative so icon anchors to it */
.app-search form {
  position: relative;
}

/* ==========================================================================
   1D. Sticky Footer
   ========================================================================== */
.footer {
  margin-top: auto;
  text-align: center;
  padding: 10px 30px;
  border-top: 1px solid #e7eaec;
  background-color: #fff;
}

/* Danger section for content areas */
.danger-section {
  padding: 40px 0;
}

/* ==========================================================================
   1E. Page Title Bar
   ========================================================================== */
/* Override app.min.css — compact breadcrumb bar */
.page-title-head {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: auto;
  margin-bottom: 0.5rem;
}

/* Welcome message in topbar — push to far right */
.topbar-menu > .d-flex {
  width: 100%;
}
.welcome-message {
  font-size: 13px;
  font-weight: 600;
  color: var(--ins-topbar-item-color, #676a6c);
  white-space: nowrap;
}

/* ==========================================================================
   4A. Subtle Animations
   ========================================================================== */
.side-nav-link {
  transition: background 0.2s ease, color 0.2s ease;
}

/* ==========================================================================
   4C. Responsive Sidebar
   ========================================================================== */
@media (max-width: 767.98px) {
  .welcome-message { display: none; }
  .landing-page .gray-section,
  .landing-page .contact,
  .landing-page .symbol { margin-top: 20px; }
  .landing-page .danger-line { margin-top: 20px; }
}

/* ==========================================================================
   Modern Design Enhancements
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

/* Focus-visible for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #1ab394;
  outline-offset: 2px;
}

/* Images default to responsive behavior */
img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
  .sidenav-menu,
  .app-topbar,
  .footer,
  .page-title-head,
  .breadcrumb,
  .btn,
  .carousel-control-prev,
  .carousel-control-next,
  .carousel-indicators {
    display: none !important;
  }
  .content-page {
    margin: 0 !important;
    padding: 0 !important;
  }
  .wrapper {
    display: block !important;
  }
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 80%;
    color: #666;
  }
  .ibox, .card {
    box-shadow: none !important;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
}

/* ==========================================================================
   BS5 Removals — classes removed/renamed in Bootstrap 5
   ========================================================================== */

/* .btn-block removed in BS5; used on 24 pages */
.btn-block {
  display: block;
  width: 100%;
}

/* .btn-white — Inspinia button variant; used on 25 pages */
.btn-white {
  color: inherit;
  background: white;
  border: 1px solid #e7eaec;
}
.btn-white:hover,
.btn-white:focus,
.btn-white:active,
.btn-white.active {
  color: inherit;
  border: 1px solid #d2d2d2;
}
.btn-white:active,
.btn-white.active {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) inset;
}
.btn-white.disabled,
.btn-white[disabled] {
  color: #cacaca;
}

/* .btn-xs — removed in BS5 */
.btn-xs {
  font-size: 0.7rem;
  padding: 0.2rem 0.4rem;
}

/* .btn-md — custom mid-size button */
.btn-md {
  padding: 0.5rem 1rem;
}

/* .close — BS4 modal close button; BS5 uses .btn-close */
.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  opacity: 0.5;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.close:hover {
  opacity: 0.75;
}

/* .sr-only — screen-reader only; BS5 renamed to .visually-hidden */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* .form-group — removed in BS5 */
.form-group {
  margin-bottom: 1rem;
}

/* .embed-responsive — BS4 responsive embeds; BS5 uses ratio classes */
.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}
.embed-responsive::before {
  display: block;
  content: "";
}
.embed-responsive-16by9::before {
  padding-top: 56.25%;
}
.embed-responsive-4by3::before {
  padding-top: 75%;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* .text-right shim removed — all pages migrated to .text-end */


/* ==========================================================================
   Inspinia v2.8 Components — never existed in Bootstrap
   ========================================================================== */

/* Profile info block (18 pages) */
.profile-info {
  margin-left: 120px;
}

/* LightBox Gallery (certifications) */
.lightBoxGallery .image-popup {
  display: block;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.2s, transform 0.2s;
}
.lightBoxGallery .image-popup:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.lightBoxGallery .image-popup img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: opacity 0.2s;
}
.lightBoxGallery .image-popup:hover img {
  opacity: 0.9;
}

/* Vertical Timeline (2 pages) */
.vertical-container {
  width: 90%;
  max-width: 1170px;
  margin: 0 auto;
}
.vertical-container::after {
  content: "";
  display: table;
  clear: both;
}
#vertical-timeline {
  position: relative;
  padding: 0;
  margin-top: 2em;
  margin-bottom: 2em;
}
#vertical-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  height: 100%;
  width: 4px;
  background: #f1f1f1;
}
#vertical-timeline.light-timeline:before {
  background: #e7eaec;
}
.vertical-timeline-block {
  position: relative;
  margin: 2em 0;
}
.vertical-timeline-block:after {
  content: "";
  display: table;
  clear: both;
}
.vertical-timeline-block:first-child {
  margin-top: 0;
}
.vertical-timeline-block:last-child {
  margin-bottom: 0;
}
.vertical-timeline-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  border: 3px solid #f1f1f1;
  text-align: center;
}
.vertical-timeline-icon i {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
  left: 50%;
  top: 50%;
  margin-left: -12px;
  margin-top: -9px;
}
.vertical-timeline-content {
  position: relative;
  margin-left: 60px;
  background: white;
  border-radius: 0.25em;
  padding: 1em;
}
.vertical-timeline-content:after {
  content: "";
  display: table;
  clear: both;
}
.vertical-timeline-content h2 {
  font-weight: 400;
  margin-top: 4px;
}
.vertical-timeline-content p {
  margin: 1em 0;
  line-height: 1.6;
}
.vertical-timeline-content .btn {
  float: right;
}
.vertical-timeline-content .vertical-date {
  float: left;
  font-weight: 500;
}
.vertical-date small {
  color: #1ab394;
  font-weight: 400;
}
.vertical-timeline-content::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-right: 7px solid white;
}
.dark-timeline .vertical-timeline-content:before {
  border-color: transparent #f5f5f5 transparent transparent;
}
.dark-timeline .vertical-timeline-content {
  background: #f5f5f5;
}

@media only screen and (min-width: 768px) {
  .vertical-timeline-content h2 { font-size: 18px; }
  .vertical-timeline-content p { font-size: 13px; }
}

/* Chat components (10 pages) */
.chat-discussion {
  background: #eee;
  padding: 15px;
  overflow-y: auto;
}
.chat-message {
  padding: 10px 20px;
}
.message {
  background-color: #fff;
  border: 1px solid #e7eaec;
  text-align: left;
  display: block;
  padding: 10px 20px;
  position: relative;
  border-radius: 4px;
}
.chat-discussion .chat-message.left .message-date {
  float: right;
}
.chat-discussion .chat-message.right .message-date {
  float: left;
}
.chat-discussion .chat-message.left .message {
  text-align: left;
  margin-left: 55px;
}
.chat-discussion .chat-message.right .message {
  text-align: right;
  margin-right: 55px;
}
.message-date {
  font-size: 10px;
  color: #888888;
}
.message-content {
  display: block;
}

/* Blog thumbnail sizing */
.product-imitation img.blog-thumb {
  width: 50%;
}

/* Product / E-commerce (2 pages) */
.product-imitation {
  text-align: center;
  padding: 0;
  background-color: #f8f8f9;
  color: #bebec3;
  font-weight: 600;
}
.product-imitation.xl {
  padding: 120px 0;
}
.product-detail .ibox-content {
  padding: 30px 30px 50px 30px;
}
.product-name {
  font-size: 16px;
  font-weight: 600;
  color: #676a6c;
  display: block;
  margin: 2px 0 5px 0;
}
.product-name:hover,
.product-name:focus {
  color: #1ab394;
}
.product-price {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background-color: #1ab394;
  padding: 6px 12px;
  position: absolute;
  top: -32px;
  right: 0;
}
.product-main-price small {
  font-size: 10px;
}
.product-images {
  margin: 0 20px;
}

/* FAQ (1 page) */
.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid #e7eaec;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1ab394;
  display: block;
}
.faq-question:hover {
  color: #179d82;
}
.faq-answer {
  margin-top: 10px;
  background: #f8f9fa;
  border: 1px solid #e7eaec;
  border-radius: 4px;
  padding: 16px;
}
.faq-item .tag-item {
  background: #e9ecef;
  padding: 3px 8px;
  font-size: 0.7rem;
  text-transform: uppercase;
  border-radius: 3px;
  letter-spacing: 0.03em;
}

/* Search results (1 page) */
.search-result h3 {
  margin-bottom: 0;
  color: #1e0fbe;
}
.search-result .search-link {
  color: #006621;
}
.search-result p {
  font-size: 12px;
  margin-top: 5px;
}
.search-form {
  margin-top: 10px;
}
.hr-line-dashed {
  border-top: 1px dashed #e7eaec;
  color: #ffffff;
  background-color: #ffffff;
  height: 1px;
  margin: 20px 0;
}

/* Widget (4 pages) */
.widget {
  border-radius: 5px;
  padding: 15px 20px;
  margin-bottom: 10px;
  margin-top: 10px;
}
.widget.style1 h2 {
  font-size: 30px;
}
.widget h2,
.widget h3 {
  margin-top: 5px;
  margin-bottom: 0;
}

/* Background colors (4 pages) */
.navy-bg {
  background-color: #1ab394 !important;
  color: #ffffff;
}
.red-bg {
  background-color: #ed5565 !important;
  color: #ffffff;
}
.default-bg {
  background-color: #c2c2c2 !important;
  color: #ffffff;
}

/* Panel variant shims removed — all pages migrated to .card */

/* Spacing (1 page) */
.m-xs {
  margin: 5px;
}

/* Animation shim (35 pages) — ensures content visible without animation library */
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}
.fadeInRight {
  opacity: 1;
}

/* ==========================================================================
   QA Round 5 — Visual/Layout Fixes
   ========================================================================== */

/* Image size utility classes */
.img-sm {
  width: 32px;
  height: 32px;
}
.img-small {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

/* QA-1: Force perfect circles on non-square lineage images (quienes_somos.html) */
.vertical-timeline-icon {
  overflow: hidden;
}
.vertical-timeline-icon img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  display: block;
}

/* BS3 .media object (removed in BS5) — used by forum posts, chat, feeds */
.media {
  display: flex;
  align-items: flex-start;
}
.media-body {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* Forum component styles (from Inspinia v2.8 style.css) */
.forum-avatar {
  float: left;
  margin-right: 20px;
  text-align: center;
  width: 110px;
}
.forum-avatar .rounded-circle {
  width: 48px !important;
  height: 48px !important;
  max-width: none;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}
.author-info {
  color: #676a6c;
  font-size: 11px;
  margin-top: 5px;
  text-align: center;
}
.forum-post-container .media {
  margin: 10px;
  padding: 20px 10px;
  border-bottom: 1px solid #f1f1f1;
}

/* ibox carousel inherits standard .carousel-item img height */

/* QA-4: Center tic-tac-do game board */
#game {
  margin: 0 auto;
  text-align: center;
}

/* QA-6: Blog article title — stack date/author spans for centering */
.article-title .text-muted {
  display: block;
}

/* Glossary: let DataTables native search/length/info controls render */

/* Glossary: category badges inside term column */
#tableGlossary .badge { vertical-align: middle; }

/* Glossary: A–Z letter index bar */
#glossary-alpha .btn { margin: 2px; min-width: 30px; }
#glossary-alpha .btn.active { background: #ed5565; color: #fff; border-color: #ed5565; }

/* Yudansha table — row grouping by Dan rank */
#tableYudansha .group-header {
  cursor: pointer;
}
#tableYudansha .group-header td {
  background-color: #f8f9fa !important;
  font-weight: 600;
  border-bottom: 2px solid #e7eaec;
}
#tableYudansha .group-header:hover td {
  background-color: #eef2f7 !important;
}

/* Profile timeline — vertically center year badges with text */
.table-timeline td {
  vertical-align: middle;
}
.table-timeline p,
.table-timeline ul {
  margin-bottom: 0;
}

/* ==========================================================================
   Blog Sidebar (article pages in hemeroteca)
   ========================================================================== */
.blog-sidebar h6 { font-size: 0.75rem; letter-spacing: 0.05em; }
.blog-sidebar .list-unstyled a:hover { color: #ed5565 !important; }

/* PDF canvas — constrain to col-lg-8 container */
.pdfcanvas { max-width: 100%; height: auto; }
.pdf-toolbar .btn-group { flex-wrap: wrap; justify-content: center; }

/* Per-dojo hero banner (index.html satellite homepages) */
.dojo-hero {
  overflow: hidden;
  border-radius: 4px;
}
.dojo-hero img {
  transition: transform 3s ease;
}
.dojo-hero:hover img {
  transform: scale(1.05);
}

/* DataTables pagination: wrap on narrow screens instead of overflowing
   the viewport (found in mobile audit: glossary page at 390px) */
.dt-paging .pagination {
  flex-wrap: wrap;
  justify-content: center;
}

/* ==========================================================================
   Design elevation — 2026-07
   Language borrowed from Inspinia v5.1 tokens: quiet shadows
   (0 1px 4px rgba(130,143,163,.15)), restrained radii, .25s ease-in-out.
   Brand red #ed5565 stays the single accent.
   ========================================================================== */
:root {
  --site-radius: 0.4rem;
  --site-radius-lg: 0.75rem;
  --site-shadow: 0 1px 4px rgba(130, 143, 163, 0.15);
  --site-shadow-hover: 0 0.5rem 1.25rem rgba(130, 143, 163, 0.28);
  --site-transition: all 0.25s ease-in-out;
}

/* Hero: soft frame on the carousel / dojo banner itself.
   NOT on .outer-div/.inner-div — those wrap the CTA row too, so styling
   them drew a phantom edge through the gap below the hero and clipped
   the CTA cards' hover shadows. */
#carouselControls,
.dojo-hero {
  border-radius: var(--site-radius-lg);
  overflow: hidden;
  box-shadow: var(--site-shadow);
}

/* CTA cards: elevated, confident */
.cta-card {
  background: #fff;
  border: 1px solid rgba(237, 85, 101, 0.25);
  border-radius: var(--site-radius);
  padding: 14px 10px;
  box-shadow: var(--site-shadow);
  transition: var(--site-transition);
}
.cta-card i {
  font-size: 1.05rem;
  margin-right: 6px;
}
.cta-card:hover {
  background: #ed5565;
  border-color: #ed5565;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--site-shadow-hover);
}

/* Misión / Visión / Valores: soft cards, icon chips */
.value-cards .card {
  border: 1px solid #eef0f4;
  border-radius: var(--site-radius);
  box-shadow: var(--site-shadow);
  transition: var(--site-transition);
  height: 100%;
}
.value-cards .card:hover {
  transform: translateY(-3px);
  box-shadow: var(--site-shadow-hover);
}
.value-cards .card-header {
  background: transparent;
  border-bottom: 1px dashed #e7eaec;
  font-weight: 600;
  color: #23303c;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.value-cards .card-header i {
  color: #ed5565;
  background: rgba(237, 85, 101, 0.1);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* Maestro cards: lift the flat gray boxes */
.profile-widget {
  border-radius: var(--site-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--site-shadow);
  transition: var(--site-transition);
}
.profile-widget:hover {
  transform: translateY(-4px);
  box-shadow: var(--site-shadow-hover);
}
.profile-widget .widget-head-color-box {
  background: linear-gradient(180deg, #f7f9fb 0%, #ffffff 100%);
  margin-top: 0;
}
.profile-widget img.rounded-circle {
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), var(--site-shadow);
}
.profile-widget-footer {
  transition: var(--site-transition);
}
.profile-widget-footer:hover {
  filter: brightness(0.92);
}

/* Section headings: a touch more presence */
.danger-section h1 {
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Design elevation, sitewide: the ibox joins the token language.
   Old look: flat white slab with a 2px gray top bar. New: soft card. */
.ibox {
  background: #fff;
  border-radius: var(--site-radius);
  box-shadow: var(--site-shadow);
  overflow: hidden;
}
.ibox-title {
  border: none;
  border-bottom: 1px dashed #e7eaec;
  padding: 15px 20px 10px;
}
.ibox-title h5 {
  font-weight: 600;
  color: #23303c;
  font-size: 0.9rem;
}
.ibox-content {
  border: none;
}
.ibox-tools a:hover {
  color: #ed5565; /* brand red, was template teal */
}

/* Hemeroteca cards: clickable, so they respond */
#blog-sections .ibox {
  transition: var(--site-transition);
  height: calc(100% - 25px);
}
#blog-sections .ibox:hover {
  transform: translateY(-3px);
  box-shadow: var(--site-shadow-hover);
}
