/* =============================================================================
   ADHDity — 07-about-footer.css
   Sections: 20. About / WHW · 21. Method Block · 22. SEO Copy
             23. Proof Line · 24. Footer (in-app) · 26. Global Footer
   ============================================================================= */


/* 20. About / What-Why-How Section
   ============================================================================= */

.adhdity-recipes .ar-whw-section,
.adhdity-recipes .ar-whw-section * { font-family: inherit !important; box-sizing: border-box; }

.adhdity-recipes .ar-whw-section { margin: 46px 0 34px; padding: 0; text-align: center; color: var(--ink, #111827); }
.adhdity-recipes .ar-whw-section__title { margin: 0 0 10px !important; font-size: clamp(26px, 4.8vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; color: #2F2F2F; }
.adhdity-recipes .ar-whw-section__sub { margin: 0 auto 22px !important; max-width: 760px; font-size: 15px; font-weight: 600; line-height: 1.65; color: rgba(17,24,39,.65); }

.adhdity-recipes .ar-whw-section__cred {
  display: inline-block; margin-left: 6px; padding: 2px 10px;
  border-radius: 999px; border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.6); color: rgba(17,24,39,.55);
  font-weight: 700; font-size: 13px; white-space: nowrap;
}

.adhdity-recipes .ar-whw { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 900px) { .adhdity-recipes .ar-whw { grid-template-columns: repeat(3, 1fr); } }

.adhdity-recipes .ar-whw__item {
  background: #FFFFFF; border: none; border-radius: 24px; padding: 22px 22px;
  text-align: left; box-shadow: 0 10px 30px rgba(15,23,42,0.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.adhdity-recipes .ar-whw__item:hover { transform: translateY(-1px); box-shadow: 0 14px 38px rgba(15,23,42,0.10); }

.adhdity-recipes .ar-whw__top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.adhdity-recipes .ar-whw__icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 18px; background: #F1F5F9; border: 1px solid rgba(15,23,42,0.08); }
.adhdity-recipes .ar-whw__label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(17,24,39,.55); }
.adhdity-recipes .ar-whw__text { margin: 0 !important; font-size: 15px; font-weight: 600; line-height: 1.6; color: rgba(17,24,39,.78); }

/* Standalone WHW section (about page) */
.ar-whw-section { max-width: 1100px; margin: 0 auto; padding: 20px 10px; }
.ar-whw-section__head { text-align: center; max-width: 720px; margin: 0 auto 60px auto; }
.ar-whw-section__title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.2; text-align: center; margin-bottom: 20px; color: #111827; }
.ar-whw-section__sub { font-size: 17px; line-height: 1.7; color: #374151; }
.ar-whw-section__cred { display: inline-block; margin-top: 10px; font-weight: 600; color: #111827; }

.ar-whw { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-bottom: 70px; }
.ar-whw__item { background: #ffffff; border: 1px solid #E5E7EB; border-radius: 16px; padding: 28px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.ar-whw__item:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.ar-whw__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ar-whw__icon { font-size: 22px; }
.ar-whw__label { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #6B7280; }
.ar-whw__text { font-size: 16px; line-height: 1.6; color: #374151; }

/* Story block */
.ar-whw-section__story { max-width: 700px; margin: 0 auto; padding-top: 40px; border-top: 1px solid #E5E7EB; }
.ar-whw-section__story p { font-size: 17px; line-height: 1.8; margin-bottom: 18px; color: #374151; }
.ar-whw-section__story p:first-child { font-weight: 600; color: #111827; }

.ar-story-intro { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.ar-story-intro__img { width: 190px; height: auto; flex-shrink: 0; }
.ar-story-intro__title { margin: 0; font-size: 14px; line-height: 1.4; color: #111827; }

@media (max-width: 600px) {
  .ar-story-intro { flex-direction: column; align-items: flex-start; }
  .ar-story-intro__img { width: 70px; }
}

.ar-backlink__a { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-size: 16px; }
.ar-backlink__a:hover, .ar-backlink__a:focus-visible { text-decoration: none !important; }


/* 21. About Page Method Block
   ============================================================================= */

.ar-whw-method { margin: 34px auto 0; max-width: 980px; text-align: center; }
.ar-whw-method__title { margin: 0 0 8px; font-size: 24px; font-weight: 700; color: #2F2F2F; letter-spacing: -0.02em; }
.ar-whw-method__sub { margin: 0 auto 18px; max-width: 760px; font-size: 15px; font-weight: 600; line-height: 1.65; color: rgba(17,24,39,.65); }

.ar-whw-method__grid { display: grid; gap: 14px; margin-top: 14px; text-align: left; }
@media (min-width: 900px) { .ar-whw-method__grid { grid-template-columns: repeat(3, 1fr); } }

.ar-whw-method__card { background: #FFFFFF; border-radius: 24px; padding: 18px 18px; box-shadow: 0 10px 30px rgba(15,23,42,0.08); }
.ar-whw-method__head { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #111827; margin-bottom: 10px; }
.ar-whw-method__dot { width: 10px; height: 10px; border-radius: 999px; display: inline-block; }

.ar-dot--shutdown   { background: #E05252; }
.ar-dot--fumes      { background: #E07C00; }
.ar-dot--functional { background: #2F9E44; }

.ar-whw-method__list { margin: 0; padding-left: 18px; }
.ar-whw-method__list li { margin: 8px 0; font-size: 15px; font-weight: 600; line-height: 1.6; color: rgba(17,24,39,.78); }
.ar-whw-method__fine { margin: 18px auto 0; max-width: 760px; font-size: 14px; font-weight: 600; line-height: 1.65; color: rgba(17,24,39,.55); }


/* 22. SEO Copy (hidden)
   ============================================================================= */

.adhdity-recipes .ar-seo-h1 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.adhdity-recipes .ar-seo-copy { max-width: 900px; margin: 56px auto 0; padding: 0 16px; color: #374151; }
.adhdity-recipes .ar-seo-copy h2 { margin: 18px 0 8px; font-size: 18px; color: #111827; }
.adhdity-recipes .ar-seo-copy h3 { margin: 12px 0 6px; font-size: 16px; color: #111827; }
#adhdityRecipesV2 .ar-seo-copy { display: none !important; }


/* 23. Proof Line
   ============================================================================= */

.adhdity-recipes .ar-proof {
  margin: 10px auto 0; max-width: 760px; font-size: 14px;
  line-height: 1.4; color: #5F6B7A; text-align: center; letter-spacing: 0.01em;
}

.adhdity-recipes .ar-proof::before { content: "\2726"; display: inline-block; margin-right: 8px; opacity: 0.55; transform: translateY(-1px); }

@media (max-width: 520px) { .adhdity-recipes .ar-proof { font-size: 13px; padding: 0 14px; } }


/* 24. Footer (in-app)
   ============================================================================= */

.adhdity-recipes .ar-footer { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 40px; padding: 28px 20px 34px; text-align: center; }
.adhdity-recipes .ar-footer-link { display: inline-block; font-size: 14px; font-weight: 500; color: rgba(17,24,39,.55); text-decoration: none; }
.adhdity-recipes .ar-footer-link:hover { color: rgba(17,24,39,.85); text-decoration: underline; text-underline-offset: 4px; }

.adhdity-recipes .ar-footer-contact { position: relative; display: inline-flex; align-items: center; }
.adhdity-recipes .ar-footer-trigger { font-size: 14px; font-weight: 500; color: rgba(17,24,39,.55); cursor: pointer; text-decoration: none; }
.adhdity-recipes .ar-footer-contact:hover .ar-footer-trigger,
.adhdity-recipes .ar-footer-contact:focus-within .ar-footer-trigger { color: rgba(17,24,39,.85); text-decoration: underline; text-underline-offset: 4px; }

.adhdity-recipes .ar-footer-email {
  position: absolute; left: 0; top: 140%; white-space: nowrap;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  background: #fff; border: 1px solid #E5E7EB; border-radius: 8px;
  padding: 6px 10px; font-size: 14px; font-weight: 600; color: #111827;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: opacity .2s ease, transform .2s ease; z-index: 50;
}

.adhdity-recipes .ar-footer-contact:hover .ar-footer-email,
.adhdity-recipes .ar-footer-contact:focus-within .ar-footer-email { opacity: 1; transform: translateY(0); pointer-events: auto; }


/* 26. Global Footer (.adhdity-footer)
   ============================================================================= */

.adhdity-footer { margin-top: 40px; padding: 28px 20px 34px; text-align: center; }
.adhdity-footer__nav { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; }
.adhdity-footer__link { display: inline-block; font-size: 14px; font-weight: 500; color: rgba(17,24,39,.55); text-decoration: none; }
.adhdity-footer__link:hover { color: rgba(17,24,39,.85); text-decoration: underline; text-underline-offset: 4px; }

.adhdity-footer__contact { position: relative; display: inline-flex; align-items: center; }
.adhdity-footer__trigger { font-size: 14px; font-weight: 500; color: rgba(17,24,39,.55); cursor: pointer; text-decoration: none; }
.adhdity-footer__contact:hover .adhdity-footer__trigger,
.adhdity-footer__contact:focus-within .adhdity-footer__trigger { color: rgba(17,24,39,.85); text-decoration: underline; text-underline-offset: 4px; }

.adhdity-footer__email {
  position: absolute; left: 0; top: 140%; white-space: nowrap;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  background: #fff; border: 1px solid #E5E7EB; border-radius: 8px;
  padding: 6px 10px; font-size: 14px; font-weight: 600; color: #111827;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: opacity .2s ease, transform .2s ease; z-index: 9999;
}

.adhdity-footer__contact:hover .adhdity-footer__email,
.adhdity-footer__contact:focus-within .adhdity-footer__email { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* =========================================================
   ADHDity Global Footer
   ========================================================= */

.adhdity-footer{
  margin-top:10px;
  background:#f5f5f4;
  border-top:1px solid #e7e5e4;
  border-radius:16px;
  padding:12px 20px 36px;
  text-align:center;
}

.adhdity-footer__nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:32px;
  flex-wrap:wrap;
}

/* links */

.adhdity-footer__link,
.adhdity-footer__trigger{
  font-size:16px;
  font-weight:500;
  color:#44403c;
  text-decoration:none;
}

.adhdity-footer__link:hover,
.adhdity-footer__contact:hover .adhdity-footer__trigger,
.adhdity-footer__contact:focus-within .adhdity-footer__trigger{
  color:#111827;
  text-decoration:underline;
  text-underline-offset:4px;
}

/* contact */

.adhdity-footer__contact{
  position:relative;
  display:inline-flex;
  align-items:center;
}

.adhdity-footer__email{
  position:absolute;
  left:0;
  top:140%;
  white-space:nowrap;

  opacity:0;
  transform:translateY(-6px);
  pointer-events:none;

  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:8px 12px;

  font-size:14px;
  font-weight:600;
  color:#111827;

  box-shadow:0 4px 12px rgba(0,0,0,0.08);
  transition:opacity .2s ease, transform .2s ease;

  z-index:9999;
}

.adhdity-footer__contact:hover .adhdity-footer__email,
.adhdity-footer__contact:focus-within .adhdity-footer__email{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

/* =========================================================
   Share section
   ========================================================= */

.adhdity-footer__share{
  margin-top:18px;
  margin-bottom:18px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.adhdity-footer__share-label{
  font-size:14px;
  font-weight:500;
  color:#78716c;
}

/* unified buttons */

.adhdity-footer__share-link,
button.adhdity-footer__share-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  height:36px;
  padding:0 12px;

  font-family:inherit;
  font-size:14px;
  font-weight:500;
  line-height:1;

  border-radius:10px;
  border:1px solid #e7e5e4;
  background:#ffffff;

  color:#44403c;
  text-decoration:none;
  cursor:pointer;

  box-sizing:border-box;

  appearance:none;
  -webkit-appearance:none;

  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    transform .12s ease,
    box-shadow .18s ease;
}

/* normalize button */

button.adhdity-footer__share-link{
  margin:0;
}

/* icons */

.adhdity-footer__share-link svg{
  width:14px;
  height:14px;
  flex:0 0 14px;
  display:block;
  fill:currentColor;
  opacity:0.8;
}

/* text alignment fix */

.adhdity-footer__share-link span{
  display:inline-flex;
  align-items:center;
  line-height:1;
}

/* tiny optical alignment fix ONLY for button */

button.adhdity-footer__share-link span{
  transform:translateY(-0.5px);
}

button.adhdity-footer__share-link svg{
  transform:translateY(-0.5px);
}

/* hover */

.adhdity-footer__share-link:hover{
  background:#f5f5f4;
  border-color:#d6d3d1;
  transform:translateY(-1px);
  box-shadow:0 3px 10px rgba(0,0,0,0.05);
}

/* copied state */

.adhdity-footer__share-link.copied{
  background:#16a34a;
  border-color:#16a34a;
  color:#ffffff;
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width:640px){

  .adhdity-footer{
    border-radius:12px;
    padding:28px 16px;
  }

  .adhdity-footer__nav{
    gap:20px;
  }

  .adhdity-footer__share{
    gap:8px;
  }

  .adhdity-footer__share-link,
  button.adhdity-footer__share-link{
    height:34px;
    padding:0 10px;
    font-size:13px;
  }

  .adhdity-footer__share-link svg{
    width:13px;
    height:13px;
    flex-basis:13px;
  }
}
/* force full-width breakout */

.adhdity-footer{
  width:100vw;
  position:relative;
  left:50%;
  right:50%;
  margin-left:-50vw;
  margin-right:-50vw;
}
body{
  overflow-x:hidden;
}