/*
 Theme Name:   Oliveira Lawyers Theme
 Theme URI:    
 Description:  Child theme for Oliveira Lawyers Theme
 Author:       SA
 Author URI:   
 Template:     Newspaper
 Version:      1.0.9
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:
 Text Domain:  newspaper
*/

.td-ss-main-content .td-page-header {
    display: none;
}

.entry-crumbs .td-bred-no-url-last {
    color: #181923;
    font-weight: bold;
}

/* Sidebar */
.page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar {
    max-width: 264px;
    margin: 0 auto;
}

.page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar .widget {
    margin-bottom: 15px;
}

.page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar .widget h2 {
    color: #1f1a17;
    margin-bottom: 10px !important;
    font-family: 'Arial', serif !important;
    font-size: 24px;
    font-weight: bold;
    line-height: 110%;
    margin: 35px 0 10px 0;
}

.page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar #block-6 h2, .page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar #block-7, .page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar #block-8, .page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar #block-9 {
    text-align: center;
}

.page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar #block-10 {
    margin-bottom: 0;
}

.page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar .advanced_recent_posts_widget .post-title {
    font-weight: normal;
    font-size: 15px;
    font-family: 'Arial', serif;
}

.page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar p {
    font-size: 13px;
    color: #333332;
    line-height: 145%;
    margin: 10px 0 0;
    font-family: 'Arial', serif;
}

.page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar #block-8 p {
    margin-top: 0;
}

.page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar a {
    color: #333332;
    text-decoration: underline;
}

.page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar #block-9 .wp-block-code {
    background: none;
    padding: 0;
    margin: 0;
}

.page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar #block-9 .wp-block-code code {
    background: none;
}

.page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar p.post-date {
    margin-top: 0;
    padding-top: 0;
    font-size: 11px;
}

.page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar .widget.widget_text.enhanced-text-widget P {
    line-height: 180%;
}

.page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar .widget.widget_text.enhanced-text-widget h2 {
    text-align: right;
    font-weight: 300;
    font-size: 17px;
    font-style: italic;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 20px;
    font-family: 'Arial', serif !important;
}

.page .td-main-sidebar.td-pb-span4 .td-ss-main-sidebar .post-entry a > img {
    margin-bottom: 10px;
}

/* Sidebar CTA layout */
.td-main-sidebar .ol-cta-wrap {
    text-align: center;
    margin: 14px 0 22px;
}

.td-main-sidebar .ol-cta-title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
}

/* Force button styling whether class exists or not */
.td-main-sidebar a.ol-cta-btn,
.td-main-sidebar a[href*="client.oliveiralawyers.com/consulta"] {
    display: inline-block !important;
    padding: 12px 18px !important;
    border-radius: 6px !important;
    background: #c75812 !important; /* dark orange */
    color: #fff !important;
    text-decoration: none !important;
    border: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .20) !important;
    transform: translateY(0);
    transition: background-color .18s ease, box-shadow .2s ease, transform .12s ease;
    font-weight: 600;
    line-height: 1.2;
}

.td-main-sidebar a.ol-cta-btn:hover,
.td-main-sidebar a[href*="client.oliveiralawyers.com/consulta"]:hover {
    background: #ed6611 !important; /* light orange on hover */
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .28) !important;
}

.td-main-sidebar a.ol-cta-btn:active,
.td-main-sidebar a[href*="client.oliveiralawyers.com/consulta"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .22) inset !important;
}

.td-main-sidebar {
    text-align: center;
}

/* Lock default state (prevents theme visited/active overrides) */
.consultation-container .cta-btn,
.consultation-container .cta-btn:link,
.consultation-container .cta-btn:visited,
.consultation-container .cta-btn:focus,
.consultation-container .cta-btn:active {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid transparent !important;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

/* Orange ONLY on hover (keep background dark or make it orange—pick one) */
/* Option A: orange text + border on hover (dark button) */
.consultation-container .cta-btn:hover {
    background: #333 !important;
    color: #d8a26b !important; /* accent */
    border-color: #d8a26b !important;
}

/* Accessibility: visible keyboard focus without changing colors */
.consultation-container .cta-btn:focus-visible {
    outline: 2px solid #d8a26b !important;
    outline-offset: 2px;
}


/* Consultation button: black background + orange text */
.ol-consult-btn .wp-block-button__link {
    background: #000 !important;
    color: #F17C34 !important;
    border: 0 !important;
}

.ol-consult-btn .wp-block-button__link:hover,
.ol-consult-btn .wp-block-button__link:focus,
.ol-consult-btn .wp-block-button__link:active {
    background: #000 !important;
    color: #F17C34 !important;
}

.ol-consult-btn .wp-block-button__link:focus-visible {
    outline: 2px solid #F17C34;
    outline-offset: 2px;
}

/* Contact page Safari fix */
@supports (font: -apple-system-body) {
    .wpb_wrapper .vc_row_inner .sa-safari-large-contact{
        margin-bottom: 250px !important;
    }
}

@supports (-webkit-text-size-adjust:none) and (font: -apple-system-body) {
    .wpb_wrapper .vc_row_inner .sa-safari-large-contact {
        margin-bottom: 250px !important;
    }
}

@supports (not (-webkit-text-size-adjust:none)) and (font: -apple-system-body) {
    .wpb_wrapper .vc_row_inner .sa-safari-large-contact {
        margin-bottom: 250px !important;
    }
}

@media not all and (min-resolution: .001dpcm) {
    @supports (-webkit-appearance:none) and (stroke-color:transparent) {
        .wpb_wrapper .vc_row_inner .sa-safari-large-contact {
            margin-bottom: 250px !important;
        }
    }
}

/* =========================================================
   Luciano Oliveira Profile Page — Final CSS
   Works with the ORIGINAL HTML (td_btn / strong / action-1/2)
   No "all: unset" — buttons stay visible
   Hero: photo fills card, buttons stacked in right column
   CTA: buttons tight, centred
   Fully responsive
========================================================= */

.ol-luciano-profile {
  --ol-orange:      #f17c34;
  --ol-orange-dark: #dd6f2d;
  --ol-heading:     #12233d;
  --ol-text:        #2f343b;
  --ol-muted:       #6b7280;
  --ol-soft:        #f8f1eb;
  --ol-soft-2:      #fcfaf7;
  --ol-border:      #e7dfd5;
  --ol-white:       #ffffff;
  --ol-navy:        #162034;
  --ol-navy-2:      #24324d;
  --ol-shadow:      0 8px 22px rgba(23,24,33,.06);
  --ol-shadow-soft: 0 5px 16px rgba(23,24,33,.05);
  color: var(--ol-text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.72;
}

.ol-luciano-profile *,
.ol-luciano-profile *::before,
.ol-luciano-profile *::after { box-sizing: border-box; }

.ol-luciano-profile img { display: block; max-width: 100%; height: auto; }

.ol-luciano-profile a {
  color: var(--ol-orange);
  text-decoration: none;
  transition: color .2s;
}
.ol-luciano-profile a:hover { color: var(--ol-orange-dark); }

.ol-luciano-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Typography */
.ol-luciano-profile h1,
.ol-luciano-profile h2,
.ol-luciano-profile h3 {
  color: var(--ol-heading);
  line-height: 1.18;
  letter-spacing: -.015em;
  margin-top: 0;
}
.ol-luciano-profile h1 { font-size: clamp(26px,3.6vw,42px); font-weight: 800; margin-bottom: 8px; }
.ol-luciano-profile h2 { font-size: clamp(22px,2.4vw,32px); font-weight: 800; margin-bottom: 14px; }
.ol-luciano-profile h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.ol-luciano-profile p  { margin: 0 0 16px; }

.ol-luciano-section        { margin: 46px 0; }
.ol-luciano-section-narrow { max-width: 920px; margin: 46px auto; }

/* =========================================================
   HERO — 3-row grid
   +----------+-----------+
   |          |  content  |  row 1
   |  media   +-----------+
   |          |  action1  |  row 2  (button 1)
   |          +-----------+
   |          |  action2  |  row 3  (button 2)
   +----------+-----------+
========================================================= */

.ol-luciano-hero,
body .tdb_single_content .ol-luciano-profile .ol-luciano-hero,
body .ol-luciano-profile .ol-luciano-hero {
  display: grid !important;
  grid-template-columns: 38% 1fr !important;
  grid-template-rows: 1fr auto auto !important;
  grid-template-areas:
    "media content"
    "media action1"
    "media action2" !important;
  column-gap: 20px !important;
  row-gap: 0 !important;
  align-items: stretch !important;
  max-width: 820px !important;
  margin: 24px auto 34px !important;
  padding: 16px !important;
  background: #ffffff !important;
  border: 1px solid #e0d8d0 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 18px rgba(23,24,33,.07) !important;
  overflow: hidden !important;
}

/* Photo: spans all 3 rows, fills card height */
.ol-luciano-hero-media,
body .ol-luciano-profile .ol-luciano-hero-media {
  grid-area: media !important;
  grid-row: 1 / 4 !important;
  align-self: stretch !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.ol-luciano-photo-card,
body .ol-luciano-profile .ol-luciano-hero .ol-luciano-photo-card {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  display: block !important;
}

.ol-luciano-photo-card a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.ol-luciano-photo-card img,
body .ol-luciano-profile .ol-luciano-hero .ol-luciano-photo-card img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
}

/* Content: row 1 right */
.ol-luciano-hero-content,
body .ol-luciano-profile .ol-luciano-hero-content {
  grid-area: content !important;
  align-self: start !important;
  min-width: 0 !important;
  padding: 4px 0 14px !important;
}

.ol-luciano-kicker {
  display: block !important;
  margin: 0 0 10px !important;
  color: #f17c34 !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
}

.ol-luciano-subtitle {
  margin: 0 0 12px !important;
  color: #111 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

.ol-luciano-intro {
  margin: 0 !important;
  color: #3f4650 !important;
  font-size: 13px !important;
  line-height: 1.78 !important;
}

/* Buttons: rows 2 & 3, right column */
.ol-luciano-hero-action-1,
body .ol-luciano-profile .ol-luciano-hero-action-1 {
  grid-area: action1 !important;
  width: 100% !important;
  padding: 0px 0 0 !important;
}

.ol-luciano-hero-action-2,
body .ol-luciano-profile .ol-luciano-hero-action-2 {
  grid-area: action2 !important;
  width: 100% !important;
  padding: 0px 0 0px !important;
  display: block !important;
}

/* Button anchor */
.ol-luciano-hero-btn,
body .ol-luciano-profile .ol-luciano-hero-btn {
  display: block !important;
  width: 100% !important;
  text-decoration: none !important;
}

/* <strong> wrapper (original HTML) — make it a transparent block */
.ol-luciano-hero-btn strong,
.ol-luciano-hero-action-1 strong,
.ol-luciano-hero-action-2 strong {
  display: block !important;
  width: 100% !important;
  font-weight: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* The actual button span — override td_btn/td_btn_lg/td_round_btn
   WITHOUT using "all: unset" (which collapses display) */
.ol-luciano-hero-btn .td_btn,
.ol-luciano-hero-btn .td_btn_lg,
.ol-luciano-hero-btn .td_round_btn,
body .ol-luciano-profile .ol-luciano-hero-btn .td_btn,
body .ol-luciano-profile .ol-luciano-hero-btn .td_btn_lg,
body .ol-luciano-profile .ol-luciano-hero-btn .td_round_btn {
  /* layout */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 38px !important;
  padding: 9px 12px !important;
  margin: 0 !important;
  /* colour */
  background: #f17c34 !important;
  background-image: none !important;
  border: none !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  /* text */
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  /* misc */
  cursor: pointer !important;
  transition: background .18s ease !important;
  vertical-align: top !important;
}

.ol-luciano-hero-btn:hover .td_btn,
.ol-luciano-hero-btn:hover .td_btn_lg,
.ol-luciano-hero-btn:hover .td_round_btn {
  background: #dd6f2d !important;
  color: #ffffff !important;
}

/* =========================================================
   CREDENTIALS
========================================================= */

.ol-luciano-credential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin: 0 0 40px;
}

.ol-luciano-credential {
  background: var(--ol-white);
  border: 1px solid var(--ol-border);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--ol-shadow-soft);
}

.ol-luciano-credential strong {
  display: block;
  color: var(--ol-heading);
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 6px;
}

.ol-luciano-credential span {
  display: block;
  color: var(--ol-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Text sections */

.ol-luciano-lead { font-size: 17px; color: var(--ol-heading); }

.ol-luciano-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 22px;
  align-items: start;
}

.ol-luciano-panel {
  background: var(--ol-soft-2);
  border: 1px solid var(--ol-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--ol-shadow-soft);
}
.ol-luciano-panel.white   { background: var(--ol-white); }
.ol-luciano-panel p:last-child { margin-bottom: 0; }

.ol-luciano-list { list-style: none; padding: 0; margin: 16px 0 0; }
.ol-luciano-list li { position: relative; padding-left: 20px; margin: 10px 0; }
.ol-luciano-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .78em;
  width: 7px; height: 7px;
  background: var(--ol-orange);
  border-radius: 50%;
}

/* Quote */
/* =========================================================
   QUOTE — Professional, non-italic, well-spaced
   Replace your existing .ol-luciano-quote block with this
========================================================= */

.ol-luciano-profile .ol-luciano-quote {
  background: linear-gradient(135deg, #162034 0%, #24324d 100%);
  border-radius: 16px;
  padding: 32px 36px;
  margin: 42px auto;
  max-width: 820px;
  box-shadow: 0 8px 22px rgba(23, 24, 33, 0.12);
  position: relative;
}

/* Opening quotation mark — decorative, not italic */
.ol-luciano-profile .ol-luciano-quote::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  left: 28px;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  color: rgba(241, 124, 52, 0.35);
  font-style: normal;
  font-family: Georgia, serif;
}

/* Quote text */
.ol-luciano-profile .ol-luciano-quote p {
  margin: 0 0 18px;
  padding-left: 8px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 600;
  font-style: normal !important;
  letter-spacing: 0.01em;
  text-transform: none !important;
}

/* Attribution */
.ol-luciano-profile .ol-luciano-quote cite,
.ol-luciano-profile .ol-luciano-quote span {
  display: block;
  padding-left: 8px;
  color: rgba(255, 255, 255, 0.60);
  font-size: 12.5px;
  font-weight: 600;
  font-style: normal !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Mobile */
@media (max-width: 768px) {
  .ol-luciano-profile .ol-luciano-quote {
    padding: 28px 24px;
    margin: 36px 0;
  }

  .ol-luciano-profile .ol-luciano-quote::before {
    font-size: 40px;
    top: 12px;
    left: 20px;
  }

  .ol-luciano-profile .ol-luciano-quote p {
    font-size: 15px;
    padding-left: 4px;
  }

  .ol-luciano-profile .ol-luciano-quote cite,
  .ol-luciano-profile .ol-luciano-quote span {
    font-size: 11.5px;
    padding-left: 4px;
  }
}
/* Timeline */
.ol-luciano-timeline { display: grid; gap: 14px; margin-top: 22px; }
.ol-luciano-timeline-item {
  display: grid;
  grid-template-columns: 95px minmax(0,1fr);
  gap: 16px;
  align-items: start;
  background: var(--ol-white);
  border: 1px solid var(--ol-border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--ol-shadow-soft);
}
.ol-luciano-year { color: var(--ol-orange); font-weight: 900; font-size: 15px; letter-spacing: .02em; }
.ol-luciano-timeline-item p { margin: 0; }

/* Source grid */
.ol-luciano-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.ol-luciano-source {
  background: var(--ol-white);
  border: 1px solid var(--ol-border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--ol-shadow-soft);
}
.ol-luciano-source strong { display: block; color: var(--ol-heading); font-size: 15px; margin-bottom: 6px; }
.ol-luciano-source span   { display: block; color: var(--ol-muted); font-size: 13.5px; line-height: 1.55; margin-bottom: 10px; }

.ol-luciano-note { margin-top: 12px; color: var(--ol-muted); font-size: 13.5px; }

/* =========================================================
   CTA — tight stacked buttons, centred
========================================================= */

.ol-luciano-cta {
  max-width: 720px !important;
  margin: 48px auto 24px !important;
  padding: 32px 28px 28px !important;
  background: #f8f1eb !important;
  border: 1px solid #ecd9ca !important;
  border-radius: 14px !important;
  text-align: center !important;
  box-shadow: 0 6px 18px rgba(23,24,33,.05) !important;
}

.ol-luciano-cta h2 {
  max-width: 520px !important;
  margin: 0 auto 10px !important;
  color: #1b2b45 !important;
  font-size: clamp(22px,2.8vw,36px) !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
}

.ol-luciano-cta p {
  max-width: 560px !important;
  margin: 0 auto 18px !important;
  color: #5b6470 !important;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
}

/* Wrapper */
.ol-luciano-cta .ol-luciano-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 280px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

/* Anchors */
.ol-luciano-cta .ol-luciano-actions a {
  display: block !important;
  width: 100% !important;
  text-decoration: none !important;
}

/* strong wrapper safety */
.ol-luciano-cta .ol-luciano-actions strong {
  display: block !important;
  width: 100% !important;
  font-weight: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* CTA button spans — override td_btn without wiping display */
.ol-luciano-cta .ol-luciano-actions .td_btn,
.ol-luciano-cta .ol-luciano-actions .td_btn_lg,
.ol-luciano-cta .ol-luciano-actions .td_round_btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 40px !important;
  padding: 10px 16px !important;
  margin: 0 !important;
  background: #f17c34 !important;
  background-image: none !important;
  border: none !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  color: #f17c34 !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: background .18s ease !important;
  vertical-align: top !important;
}

.ol-luciano-cta .ol-luciano-actions a:hover .td_btn,
.ol-luciano-cta .ol-luciano-actions a:hover .td_btn_lg,
.ol-luciano-cta .ol-luciano-actions a:hover .td_round_btn {
  background: #dd6f2d !important;
  color: #ffffff !important;
}

#td-outer-wrap .wpb_wrapper .tdb-menu .tdb-normal-menu ul, #td-outer-wrap .wpb_wrapper .td-pulldown-filter-list, .tdi_55 .td-pulldown-filter-list .sub-menu{
	min-width: 195px;
}

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

@media (min-width: 769px) and (max-width: 1100px) {
  .ol-luciano-hero,
  body .ol-luciano-profile .ol-luciano-hero {
    max-width: 680px !important;
    padding: 14px !important;
    column-gap: 16px !important;
  }
  .ol-luciano-credential-grid               { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ol-luciano-two-col, .ol-luciano-source-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {

  .ol-luciano-wrap { padding: 0 14px; }
  .ol-luciano-section, .ol-luciano-section-narrow { margin: 36px 0; }

  .ol-luciano-hero,
  body .tdb_single_content .ol-luciano-profile .ol-luciano-hero,
  body .ol-luciano-profile .ol-luciano-hero {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    grid-template-areas:
      "media"
      "content"
      "action1"
      "action2" !important;
    max-width: 460px !important;
    margin: 18px auto 28px !important;
    padding: 14px !important;
    column-gap: 0 !important;
  }

  .ol-luciano-hero-media,
  body .ol-luciano-profile .ol-luciano-hero-media {
    grid-row: auto !important;
    max-width: 260px !important;
    margin: 0 auto 4px !important;
  }

  .ol-luciano-photo-card,
  body .ol-luciano-profile .ol-luciano-hero .ol-luciano-photo-card { height: auto !important; }

  .ol-luciano-photo-card img,
  body .ol-luciano-profile .ol-luciano-hero .ol-luciano-photo-card img {
    height: auto !important;
    object-fit: contain !important;
  }

  .ol-luciano-hero-content,
  body .ol-luciano-profile .ol-luciano-hero-content { padding: 8px 0 12px !important; }

  .ol-luciano-hero-action-1,
  body .ol-luciano-profile .ol-luciano-hero-action-1 {
    grid-area: action1 !important;
    width: 100% !important;
    padding: 2px 0 !important;
  }

  .ol-luciano-hero-action-2,
  body .ol-luciano-profile .ol-luciano-hero-action-2 {
    grid-area: action2 !important;
    width: 100% !important;
    padding: 2px 0 4px !important;
  }

  .ol-luciano-hero-btn .td_btn,
  .ol-luciano-hero-btn .td_btn_lg,
  .ol-luciano-hero-btn .td_round_btn {
    white-space: normal !important;
    min-height: 40px !important;
  }

  .ol-luciano-credential-grid               { grid-template-columns: 1fr; }
  .ol-luciano-two-col, .ol-luciano-source-grid { grid-template-columns: 1fr; }
  .ol-luciano-panel, .ol-luciano-quote      { padding: 20px; }
  .ol-luciano-timeline-item                 { grid-template-columns: 1fr; gap: 6px; }

  .ol-luciano-cta { padding: 24px 18px 22px !important; }
  .ol-luciano-cta .ol-luciano-actions { width: 100% !important; }
}

@media (max-width: 420px) {
  .ol-luciano-profile    { font-size: 15px; }
  .ol-luciano-profile h1 { font-size: 22px !important; }
  .ol-luciano-kicker     { font-size: 9.5px !important; }
  .ol-luciano-intro      { font-size: 12.5px !important; line-height: 1.75 !important; }

  .ol-luciano-hero-media,
  body .ol-luciano-profile .ol-luciano-hero-media { max-width: 220px !important; }

  .ol-luciano-quote p    { font-size: 15px; }
  .ol-luciano-cta h2     { font-size: 20px !important; }
  .ol-luciano-cta p      { font-size: 13px !important; }
}