/*
Theme Name: Developmental Pediatrics AT4K Style
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: Custom WordPress theme styled to match the provided Developmental Pediatrics / AT4K landing page layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: devped-theme
*/

:root {
  --navy: #0c2f4e;
  --blue: #2f5dad;
  --light-bg: #eef1f3;
  --card-bg: #f6f6f6;
  --text: #1a1a1a;
  --muted: #7b7b7b;
  --border-radius: 8px;
  --content-width: 1120px;
  --shadow: 0 1px 2px rgba(0,0,0,0.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--light-bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.site-topbar {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
}
.site-topbar .wrap,
.site-header .wrap,
.site-footer .wrap,
.main-content.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}
.site-topbar .wrap {
  min-height: 26px;
  display: flex;
  align-items: center;
}
.site-topbar a { color: #fff; }

.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e8eb;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}
.branding-title {
  font-size: 36px;
  line-height: 1.1;
  margin: 0;
  font-weight: 400;
}
.branding-tagline {
  margin-top: 4px;
  color: #8c8c8c;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.main-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 24px;
}
.main-navigation a {
  color: #4773b1;
  font-size: 14px;
}

.main-content {
  padding-top: 44px;
  padding-bottom: 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 34px;
  align-items: start;
}
.doctor-photo {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ddd;
}
.doctor-photo.placeholder {
  min-height: 450px;
  background: linear-gradient(180deg, #b7b7b7, #dfdfdf);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 20px;
}

.info-card {
  background: rgba(255,255,255,0.65);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 22px 22px;
}
.info-card-logo img,
.info-card-logo.placeholder {
  max-width: 420px;
}
.info-card-logo.placeholder {
  min-height: 120px;
  border-radius: 4px;
  background: linear-gradient(135deg, #f9e27d, #f9f9f9 45%, #dbe8ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 700;
  color: #2b5dad;
}
.info-card-copy {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.28;
  color: #183a72;
}
.button,
.wp-block-button__link,
input[type="submit"],
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  border: 0;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.button:hover,
.wp-block-button__link:hover {
  filter: brightness(0.95);
  text-decoration: none;
}
.button.button-small {
  padding: 12px 18px;
  font-size: 14px;
}
.info-card .button {
  margin-top: 18px;
}

.center-section {
  text-align: center;
  margin-top: 42px;
}
.center-section h2,
.center-section p.lead {
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}
.center-section h2 {
  font-size: 26px;
  line-height: 1.35;
  margin-bottom: 28px;
}
.form-buttons {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  margin-bottom: 32px;
}
.website-line {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}
.website-line a {
  font-size: 24px;
  font-weight: 700;
}

.site-footer {
  background: transparent;
  padding: 34px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.footer-title {
  font-size: 18px;
  margin: 0 0 10px;
  color: #3b3b3b;
}
.footer-copy,
.footer-location {
  color: #747474;
  font-size: 14px;
}
.footer-box-placeholder {
  min-height: 110px;
  background: #d8d2cb;
}

.content-default {
  background: #fff;
  padding: 28px;
  border-radius: var(--border-radius);
}

@media (max-width: 900px) {
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .branding-title { font-size: 28px; }
  .info-card-copy { font-size: 18px; }
  .center-section h2,
  .website-line { font-size: 20px; }
}

@media (max-width: 640px) {
  .main-navigation ul { gap: 14px; flex-wrap: wrap; }
  .button, .wp-block-button__link { width: 100%; }
  .form-buttons { width: 100%; }
  .form-buttons .button { max-width: 320px; }
}
