/*
Theme Name: Welcome to My Office Astra
Template: astra
Version: 1.1.3
Description: Custom Astra child theme for Welcome to My Office.
*/

:root {
  --wto-rose: #b49190;
  --wto-red: #a73732;
  --wto-cream: #faf6ef;
  --wto-ink: #24211f;
}

* { box-sizing: border-box; }

body.home {
  margin: 0;
  color: var(--wto-ink);
  background: var(--wto-cream);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.wto-landing {
  min-height: 100vh;
  background: url("https://welcometomyoffice.com/wp-content/uploads/2026/05/ChatGPT-Image-May-14-2026-09_58_34-AM.png") center/cover fixed;
}

.wto-hero {
  width: min(1540px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(390px, 45%) 1fr;
}

.wto-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 42px clamp(34px, 5vw, 78px) 52px;
  background: rgba(8, 8, 8, .60);
  color: #fff;
}

.wto-logo {
  display: block;
  width: min(100%, 460px);
  margin: 0 auto 28px;
  border: 14px solid rgba(49, 39, 31, .83);
  border-radius: 25px;
  background: #fff;
}

.wto-title {
  margin: 0 0 22px;
  color: #fff;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(42px, 4vw, 66px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -.045em;
  text-align: center;
}

.wto-copy {
  width: 100%;
  margin: 0 0 18px;
  font-size: clamp(19px, 1.7vw, 27px);
  line-height: 1.38;
}

.wto-copy strong { font-weight: 800; }

.wto-prompt {
  width: min(100%, 430px);
  margin: 6px 0 18px;
  padding: 17px 22px;
  border: 2px solid #2b2725;
  border-radius: 12px;
  background: var(--wto-rose);
  color: #fff;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
}

.wto-action-area {
  position: relative;
  width: min(100%, 460px);
}

.wto-action-area .wto-prompt { margin-left: auto; margin-right: auto; }

.wto-arrow-right {
  position: absolute;
  z-index: 3;
  top: 45px;
  left: calc(100% - 10px);
  width: 95px;
  height: 200px;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.45));
}

.wto-arrow-right path {
  fill: none;
  stroke: #fff;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wto-signup-box {
  width: min(100%, 460px);
  padding: 20px;
  border: 6px dashed #bc4a47;
  border-radius: 14px;
  background: #fff;
  color: #211e1c;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.wto-note {
  margin: 0 0 15px;
  font-size: 14px;
  line-height: 1.38;
}

.wto-form { width: 100%; }

.wto-login {
  margin: 24px 0 0;
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.wto-login a { color: #9dc9f5; }

.wto-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 100vh;
  padding: 44px clamp(30px, 6vw, 110px);
}

.wto-more {
  width: min(100%, 560px);
  padding: clamp(25px, 3vw, 42px);
  border-radius: 15px;
  background: rgba(10, 10, 10, .60);
  color: #fff;
  text-align: center;
}

.wto-more h2 {
  margin: 0 0 18px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(29px, 3vw, 46px);
  line-height: 1.08;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -.04em;
}

.wto-more a { color: #fff; text-decoration: none; }
.wto-more > a { font-size: clamp(16px, 1.4vw, 21px); line-height: 1.55; }
.wto-more a:hover, .wto-more a:focus { color: #fff; text-decoration: underline; }

.wto-footer {
  padding: 16px clamp(18px, 4vw, 70px);
  background: var(--wto-cream);
  color: #1f1e1c;
}

.wto-footer-inner {
  width: min(1540px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 245px minmax(310px, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.wto-footer-logo { width: 225px; max-width: 100%; display: block; }
.wto-footer-brand { margin: 5px 0 0; font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 13px; font-style: italic; font-weight: 600; letter-spacing: .035em; }
.wto-footer-copy { margin: 0; padding-left: clamp(20px, 3vw, 48px); justify-self: center; font-size: 14px; text-align: center; white-space: nowrap; }
.wto-footer-links { display: flex; flex-wrap: nowrap; gap: clamp(12px, 1.5vw, 24px); }
.wto-footer-links a { color: #1f1e1c; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.wto-footer-links a:hover, .wto-footer-links a:focus { color: var(--wto-red); text-decoration: underline; }

/* Blog */
body.wto-blog-page { margin: 0; background: #fff; color: #292725; font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.wto-blog-header { padding: 28px clamp(24px, 7vw, 130px); background: var(--wto-cream); }
.wto-blog-header-inner { width: min(1580px, 100%); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.wto-blog-brand img { display: block; width: min(310px, 28vw); }
.wto-blog-nav { display: flex; align-items: center; gap: clamp(28px, 4vw, 68px); }
.wto-blog-nav a { color: #1e1d1c; font-size: 17px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.wto-blog-nav a:hover, .wto-blog-nav a:focus, .wto-blog-nav .is-current { color: var(--wto-red); }
.wto-blog-nav .wto-blog-signin { padding: 16px 23px; border: 1px solid #ce524c; background: #f7e9e6; color: #a82e2c; }

.wto-blog-shell { width: min(1580px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0 72px; display: grid; grid-template-columns: minmax(290px, 370px) minmax(0, 1fr); align-items: start; gap: clamp(46px, 6vw, 95px); }
.wto-blog-sidebar { display: grid; gap: 34px; }
.wto-author-card { padding: 18px 18px 28px; border: 1px solid #978b84; background: #fff; }
.wto-author-portrait { padding: 14px; background: var(--wto-cream); }
.wto-author-portrait img { display: block; width: min(100%, 265px); margin: 0 auto; aspect-ratio: 1; object-fit: cover; object-position: center 36%; border: 3px solid #3e3935; border-radius: 50%; }
.wto-author-card h1 { margin: 28px 0 6px; color: #292725; font-size: clamp(35px, 3.2vw, 49px); line-height: 1.05; font-weight: 800; letter-spacing: -.045em; }
.wto-author-card p { margin: 0 0 22px; font-size: 17px; line-height: 1.72; }

.wto-sidebar-optin { padding: 24px 16px 20px; border-radius: 16px; background: #929292; color: #fff; }
.wto-sidebar-optin > h2 { margin: 0 0 16px; color: #fff4a0; font-size: 34px; line-height: 1.12; font-weight: 800; letter-spacing: -.04em; text-align: center; text-shadow: 0 2px 2px rgba(0,0,0,.55); }
.wto-sidebar-optin > p { margin: 0 0 17px; font-size: 16px; line-height: 1.55; }
.wto-sidebar-form { padding: 22px 18px; border: 5px dashed #c43a36; border-radius: 13px; background: #fff; color: #211e1d; text-align: center; }
.wto-sidebar-form h3 { margin: 0 0 20px; font-size: 17px; line-height: 1.42; }
.wto-sidebar-note { margin: 18px 0 0; font-size: 12px; line-height: 1.4; font-weight: 700; }
.wto-dedicated-optin .bwfac_form_field_first_name { display: none !important; }
.wto-dedicated-optin .wfop-form-label,
.wto-dedicated-optin label { display: none !important; }
.wto-dedicated-optin .bwfac_form_sec { width: 100% !important; margin: 0 0 14px !important; }
.wto-dedicated-optin .wffn-optin-input { width: 100% !important; min-height: 56px; padding: 13px 16px !important; border: 1px solid #c9c4c0 !important; border-radius: 3px !important; background: #fff !important; color: #292725 !important; font: 16px/1.3 "Plus Jakarta Sans", system-ui, sans-serif !important; }
.wto-dedicated-optin .wfop_submit_btn { width: 100% !important; min-height: 58px; border: 0 !important; border-radius: 5px !important; background: var(--wto-red) !important; color: #fff !important; box-shadow: none !important; }
.wto-dedicated-optin .wfop_submit_btn:hover, .wto-dedicated-optin .wfop_submit_btn:focus { background: #972522 !important; }
.wto-dedicated-optin .wfop_submit_btn .bwf_heading { color: #fff !important; font: 800 20px/1.2 "Plus Jakarta Sans", system-ui, sans-serif !important; }
.wto-dedicated-optin .bwf_subheading { display: none !important; }

.wto-blog-posts { min-width: 0; display: grid; gap: 28px; }
.wto-blog-featured { min-height: 440px; display: flex; align-items: flex-end; background: #7c7773 center/cover no-repeat; }
.wto-blog-featured.has-no-image { background: linear-gradient(135deg, #48433f, #b49190); }
.wto-blog-featured-card { width: min(610px, 72%); padding: 30px; background: rgba(17,16,15,.78); color: #fff; }
.wto-blog-newest { display: inline-block; margin-bottom: 12px; padding: 5px 9px; border-radius: 4px; background: var(--wto-red); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.wto-blog-featured time, .wto-blog-card time { display: block; margin-bottom: 10px; color: #ddd4ce; font-size: 13px; }
.wto-blog-featured h2, .wto-blog-card h2 { margin: 0 0 12px; font-size: clamp(25px, 2.5vw, 38px); line-height: 1.14; letter-spacing: -.035em; }
.wto-blog-featured h2 { color: #fff; }
.wto-blog-featured h2 a, .wto-blog-card h2 a { color: inherit; text-decoration: none; }
.wto-blog-featured p { margin: 0 0 18px; font-size: 16px; line-height: 1.55; }
.wto-blog-more { color: #f4c3bd; font-weight: 700; text-decoration: none; }
.wto-blog-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.wto-blog-card { border: 1px solid #ded7d1; background: #fff; box-shadow: 0 8px 22px rgba(48,36,28,.07); }
.wto-blog-card-image { min-height: 210px; display: grid; place-items: center; overflow: hidden; background: #b49190; color: #fff; font-size: 22px; font-weight: 800; text-decoration: none; }
.wto-blog-card-image img { width: 100%; height: 220px; display: block; object-fit: cover; }
.wto-blog-card-copy { padding: 22px; }
.wto-blog-card time { color: #786f69; }
.wto-blog-card h2 { color: #292725; font-size: 23px; }
.wto-blog-card p { margin: 0 0 15px; font-size: 14px; line-height: 1.55; }
.wto-blog-card .wto-blog-more { color: var(--wto-red); }
.wto-blog-empty { padding: 90px 25px; text-align: center; }

.wto-blog-cta { padding: 65px 24px 72px; background: #ba9292; color: #fff; }
.wto-blog-cta-inner { width: min(900px, 100%); margin: 0 auto; text-align: center; }
.wto-blog-cta h2 { margin: 0 0 20px; color: #fff; font-size: clamp(35px, 4vw, 54px); line-height: 1.08; font-weight: 800; letter-spacing: -.045em; }
.wto-blog-cta p { margin: 0 auto 16px; max-width: 760px; font-size: 17px; line-height: 1.65; text-align: left; }
.wto-blog-cta-form { width: min(700px, 100%); margin: 34px auto 0; }

@media (max-width: 900px) {
  .wto-blog-header-inner { flex-direction: column; gap: 24px; }
  .wto-blog-brand img { width: min(320px, 80vw); }
  .wto-blog-nav { flex-wrap: wrap; justify-content: center; gap: 18px 28px; }
  .wto-blog-shell { grid-template-columns: 1fr; width: min(760px, calc(100% - 36px)); }
  .wto-blog-posts { order: 1; }
  .wto-blog-sidebar { order: 2; }
  .wto-author-card, .wto-sidebar-optin { max-width: 480px; margin-inline: auto; }
}

@media (max-width: 620px) {
  .wto-blog-header { padding: 22px 18px; }
  .wto-blog-nav a { font-size: 14px; }
  .wto-blog-nav .wto-blog-signin { padding: 11px 15px; }
  .wto-blog-shell { padding-top: 28px; }
  .wto-blog-list { grid-template-columns: 1fr; }
  .wto-blog-featured { min-height: 390px; }
  .wto-blog-featured-card { width: 100%; padding: 24px; }
  .wto-blog-cta { padding: 48px 20px 55px; }
}

/* Compact laptop treatment: keep the complete opt-in visible in one viewport. */
@media (min-width: 721px) and (max-height: 950px) {
  .wto-panel { padding-top: 10px; padding-bottom: 12px; }
  .wto-logo { width: min(100%, 230px); margin-bottom: 8px; border-width: 8px; border-radius: 15px; }
  .wto-title { margin-bottom: 6px; font-size: clamp(31px, 2.85vw, 40px); line-height: 1.02; }
  .wto-copy { margin-bottom: 8px; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.29; }
  .wto-prompt { margin: 1px 0 8px; padding: 10px 15px; font-size: 15px; line-height: 1.3; }
  .wto-signup-box { padding: 15px; }
  .wto-note { margin-bottom: 10px; font-size: 13px; line-height: 1.28; }
  .wto-form .bwfac_form_field_email { margin-bottom: 12px !important; }
  .wto-form .wffn-optin-input { height: 42px !important; min-height: 42px !important; padding-top: 7px !important; padding-bottom: 7px !important; }
  .wto-form .submit_button,
  .wto-form .bwf-custom-button,
  .wto-form .wfop_submit_btn { height: 50px !important; min-height: 50px !important; }
  .wto-form .wfop_submit_btn { padding-top: 10px !important; padding-bottom: 10px !important; }
  .wto-login { margin-top: 14px; font-size: 15px; line-height: 1.3; }
  .wto-more { width: min(100%, 480px); padding: 25px; }
  .wto-more h2 { margin-bottom: 12px; font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -.025em; }
  .wto-more > a { font-size: 14px; line-height: 1.45; }
}

@media (max-width: 960px) {
  .wto-landing { background-attachment: scroll; background-position: 54% center; }
  .wto-hero { grid-template-columns: minmax(320px, 48%) 1fr; }
  .wto-panel { padding: 32px 38px 42px; }
  .wto-footer-inner { grid-template-columns: 210px 1fr; }
  .wto-footer-links { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 720px) {
  .wto-hero { display: block; }
  .wto-panel { min-height: auto; padding: 30px 36px 44px; background: rgba(8,8,8,.65); }
  .wto-logo { width: min(100%, 350px); border-width: 10px; border-radius: 20px; }
  .wto-title { font-size: clamp(39px, 12vw, 54px); }
  .wto-copy { font-size: 22px; }
  .wto-visual { min-height: 620px; padding: 55px 34px; }
  .wto-more { max-width: 390px; }
  .wto-arrow-right { display: none; }
  .wto-footer-inner { display: flex; flex-direction: column; text-align: center; }
  .wto-footer-copy { padding-left: 0; white-space: normal; }
  .wto-footer-links { flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
}

@media (max-width: 420px) {
  .wto-panel { padding-inline: 22px; }
  .wto-copy { font-size: 19px; }
  .wto-signup-box { padding: 16px; }
  .wto-visual { min-height: 500px; padding-inline: 22px; }
}
