/*
Theme Name: Amod Puranik — GeneratePress Child
Theme URI: https://amodpuranik.com/
Description: A personalized editorial and executive personal-brand theme built as a child theme for GeneratePress.
Author: Amod Puranik
Author URI: https://amodpuranik.com/
Template: generatepress
Version: 1.0.0
Text Domain: amod-puranik
*/

/* Design tokens and base */
:root {
  --ap-ink: #17212b;
  --ap-muted: #5d6873;
  --ap-paper: #fbfaf7;
  --ap-white: #ffffff;
  --ap-soft: #f1f3f4;
  --ap-line: #dfe4e7;
  --ap-accent: #b66b42;
  --ap-accent-dark: #8e4e2e;
  --ap-navy: #172b3a;
  --ap-width: 1160px;
  --ap-radius: 3px;
  --ap-shadow: 0 18px 55px rgba(18, 32, 44, .08);
}
html { scroll-behavior: smooth; }
body {
  background: var(--ap-paper);
  color: var(--ap-ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ap-accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus { color: var(--ap-ink); }
h1,h2,h3,h4,h5,h6 {
  color: var(--ap-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2.05rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.site { max-width: none; }
.site-content, .inside-header, .inside-navigation, .inside-footer-widgets, .inside-site-info {
  max-width: var(--ap-width);
}
.grid-container { max-width: var(--ap-width); }
.site-header { background: var(--ap-paper); }
.site-branding { padding: 20px 0; }
.site-title a { color: var(--ap-ink); font-family: Georgia, serif; font-size: 1.5rem; letter-spacing: -.03em; }
.site-description { color: var(--ap-muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.main-navigation { background: var(--ap-paper); }
.main-navigation .main-nav ul li a {
  color: var(--ap-ink); font-size: .82rem; font-weight: 650; letter-spacing: .055em;
  text-transform: uppercase; padding: 14px 17px;
}
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a { color: var(--ap-accent-dark); background: transparent; }
.main-navigation .menu-toggle { background: var(--ap-navy); }
.separate-containers .inside-article, .separate-containers .comments-area,
.separate-containers .page-header, .one-container .container, .separate-containers .paging-navigation {
  background: transparent;
}
.site-content { padding-top: 5px; padding-bottom: 5px; } /*padding-top: 42px; padding-bottom: 72px; */
.content-area { width: 100%; }
.site-main { margin: 0; }
.entry-header { margin-bottom: 28px; }
.entry-title { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.entry-content { margin-top: 0; }
.entry-content > * { max-width: 790px; }
.entry-content > .alignwide { max-width: 1000px; }
.entry-content > .alignfull { max-width: none; }
.entry-content p, .entry-content ul, .entry-content ol { color: #35414b; }
.entry-meta, .entry-footer { color: var(--ap-muted); font-size: .82rem; }
.site-footer { background: var(--ap-navy); color: rgba(255,255,255,.78); }
.site-footer a { color: #fff; }
.footer-widgets { padding: 58px 0 30px; }
.site-info { background: #10212d; color: rgba(255,255,255,.65); font-size: .8rem; }
button, input[type="button"], input[type="submit"], .button {
  border-radius: 2px; background: var(--ap-accent); color: #fff; border: 1px solid var(--ap-accent);
  padding: 13px 22px; font-weight: 650; letter-spacing: .02em;
}
button:hover, input[type="button"]:hover, input[type="submit"]:hover, .button:hover {
  background: var(--ap-accent-dark); color: #fff;
}
input[type="text"], input[type="email"], input[type="url"], textarea {
  border: 1px solid var(--ap-line); background: #fff; padding: 13px 15px; border-radius: 2px; width: 100%;
}
.ap-wrap { width: min(var(--ap-width), calc(100% - 48px)); margin-inline: auto; }
.ap-eyebrow { color: var(--ap-accent-dark); font-size: .75rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.ap-lede { color: var(--ap-muted); font-size: clamp(1.08rem, 1.8vw, 1.3rem); max-width: 760px; }
.ap-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 21px; background: var(--ap-accent); color: #fff !important;
  border: 1px solid var(--ap-accent); text-decoration: none; font-size: .84rem;
  font-weight: 700; letter-spacing: .045em; text-transform: uppercase;
}
.ap-button:hover { background: var(--ap-accent-dark); border-color: var(--ap-accent-dark); }
.ap-button--outline { background: transparent; color: var(--ap-ink) !important; border-color: rgba(23,33,43,.35); }
.ap-button--outline:hover { background: var(--ap-ink); color: #fff !important; }
.ap-hero { padding: clamp(65px, 10vw, 125px) 0 88px; background: var(--ap-paper); }
.ap-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: clamp(35px, 7vw, 90px); align-items: center; }
.ap-hero h1 { max-width: 790px; margin: 17px 0 24px; }
.ap-hero__photo { min-height: 460px; background: #e5e7e7; position: relative; overflow: hidden; }
.ap-hero__photo img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; display: block; }
.ap-photo-placeholder { min-height: 460px; display: grid; place-items: center; padding: 25px; color: #65717a; text-align: center; background: linear-gradient(145deg,#e9e9e5,#d6dcdd); font-family: Georgia,serif; font-size: 1.3rem; }
.ap-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ap-section { padding: 82px 0; }
.ap-section--white { background: #fff; }
.ap-section--soft { background: var(--ap-soft); }
.ap-section__head { max-width: 760px; margin-bottom: 38px; }
.ap-section__head h2 { margin: 12px 0 15px; }
.ap-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(35px, 7vw, 90px); align-items: start; }
.ap-split__aside { border-top: 2px solid var(--ap-accent); padding-top: 20px; }
.ap-split__aside p { color: var(--ap-muted); font-size: .94rem; }
.ap-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.ap-card { background: #fff; border: 1px solid var(--ap-line); padding: 28px; min-height: 100%; }
.ap-card__number { color: var(--ap-accent-dark); font-size: .75rem; font-weight: 750; letter-spacing: .12em; }
.ap-card h3 { margin: 15px 0 12px; }
.ap-card p { color: var(--ap-muted); font-size: .95rem; }
.ap-card a { font-weight: 700; font-size: .86rem; text-decoration: none; }
.ap-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.ap-feature__visual { min-height: 330px; background: linear-gradient(145deg,#dce1e2,#f0eee8); display: grid; place-items: center; color: #68747a; font-family: Georgia,serif; text-align: center; padding: 25px; }
.ap-post-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.ap-post-card { background: #fff; border: 1px solid var(--ap-line); }
.ap-post-card__body { padding: 24px 26px 28px; }
.ap-post-card h3 { margin: 8px 0 12px; }
.ap-post-card p { color: var(--ap-muted); font-size: .94rem; }
.ap-post-card__meta { color: var(--ap-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.ap-post-card__image img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ap-post-card__placeholder { aspect-ratio: 16/9; background: linear-gradient(145deg,#e7e9e8,#d7dddf); }
.ap-cta { background: var(--ap-navy); color: #fff; padding: 66px 0; }
.ap-cta h2 { color: #fff; }
.ap-cta p { color: rgba(255,255,255,.75); max-width: 650px; }
.ap-cta .ap-button--outline { color: #fff !important; border-color: rgba(255,255,255,.55); }
.ap-page-hero { padding: 72px 0 55px; border-bottom: 1px solid var(--ap-line); }
.ap-page-hero h1 { margin: 12px 0 18px; }
.ap-inner-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 70px; }
.ap-sidebar { border-top: 2px solid var(--ap-accent); padding-top: 20px; font-size: .9rem; }
.ap-sidebar h3 { font-size: 1.25rem; }
.ap-socials { display: flex; gap: 12px; flex-wrap: wrap; }
.ap-socials a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-size: .85rem; font-weight: 700; }
.ap-socials a:hover { color: var(--ap-accent); }
.ap-contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; }
.ap-contact-panel { background: #fff; border: 1px solid var(--ap-line); padding: 30px; }
.ap-contact-panel label { display: block; font-size: .85rem; font-weight: 700; margin: 0 0 7px; }
.ap-contact-panel input, .ap-contact-panel textarea { width: 100%; padding: 12px; border: 1px solid var(--ap-line); margin-bottom: 17px; }
.ap-contact-panel textarea { min-height: 150px; }
.ap-pagination { margin-top: 40px; }
.ap-pagination .page-numbers { display: inline-block; padding: 8px 13px; border: 1px solid var(--ap-line); margin-right: 5px; text-decoration: none; }
.ap-pagination .current { background: var(--ap-navy); color: #fff; }
@media (max-width: 800px) {
  .ap-hero__grid, .ap-split, .ap-feature, .ap-contact-grid, .ap-inner-layout { grid-template-columns: 1fr; }
  .ap-hero__photo, .ap-hero__photo img, .ap-photo-placeholder { min-height: 330px; }
  .ap-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ap-inner-layout { gap: 38px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .ap-wrap { width: min(var(--ap-width), calc(100% - 32px)); }
  .ap-section { padding: 58px 0; }
  .ap-hero { padding: 55px 0 58px; }
  .ap-card-grid, .ap-post-grid { grid-template-columns: 1fr; }
  .site-content { padding-top: 24px; }
}
