/* ============================================================
   DroMeta — Main Stylesheet
   Brand: dark grey + gold (#f9e49d) + monospace + Great Vibes
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
  background: #383838;
  color: #eee;
  font-family: monospace, monospace;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #f9e49d;
  outline-offset: 2px;
}

/* ---- Typography helpers ---- */
.fancy-d {
  font-family: 'Great Vibes', cursive;
  color: #f9e49d;
  font-size: 1.4em;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.fancy-x {
  font-family: 'Great Vibes', cursive;
  color: #f9e49d;
  font-size: 1.3em;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.highlight  { color: #f9e49d; font-weight: 600; }
.highlight-sm { color: #f9e49d; }

/* ---- Fixed Cholanafy logo (top-left) ---- */
.standalone-left-link {
  position: fixed;
  top: 1em;
  left: 1em;
  z-index: 200;
  text-align: center;
  text-decoration: none;
}

.cholanafy-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}

.cholanafy-group:hover { transform: scale(1.05); }

.standalone-left-gif {
  width: 72px;
  height: auto;
}

.cholanafy-script {
  font-family: 'Great Vibes', cursive;
  font-size: 1.4em;
  color: #fff;
  margin-top: 0.15em;
  text-shadow: 1px 1px 4px #222;
}

/* ---- Navigation ---- */
.nav-tabs {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 2px;
  z-index: 100;
}

.nav-tab {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 2px solid #f9e49d;
  color: #fff;
  text-decoration: none;
  padding: 7px 12px;
  font-family: 'Coming Soon', cursive;
  font-size: 12px;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-tab:first-child  { border-radius: 8px 0 0 8px; border-right: 1px solid #f9e49d; }
.nav-tab:last-child   { border-radius: 0 8px 8px 0; border-left:  1px solid #f9e49d; }
.nav-tab:not(:first-child):not(:last-child) {
  border-left: 1px solid #f9e49d;
  border-right: 1px solid #f9e49d;
}

.nav-tab-subscribe {
  background: linear-gradient(135deg, #1a1a1a 0%, #1d2b1d 100%);
  color: #b6ffb6;
}

.nav-tab:hover,
.nav-tab-subscribe:hover {
  background: linear-gradient(135deg, #f9e49d 0%, #ffeb3b 100%);
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 228, 157, 0.35);
}

.nav-tab::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.nav-tab:hover::before { left: 100%; }

/* ---- Header / Hero ---- */
.header-main {
  width: 100%;
  margin-top: 2em;
  text-align: center;
  position: relative;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  width: 100%;
  position: relative;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.site-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.05em;
  font-size: 4em;
  margin: 0 0 0.1em 0;
  line-height: 1;
}

.site-tagline {
  font-family: 'Coming Soon', cursive;
  font-size: 0.85em;
  color: #aaa;
  letter-spacing: 0.06em;
  margin: 0;
}

.header-splash-gif-left {
  position: absolute;
  top: 2em;
  left: 13em;
  width: 70px;
  z-index: 20;
  pointer-events: none;
  opacity: 0.85;
}

/* ---- Welcome / About ---- */
.welcome-section {
  margin-top: 2.5em;
  padding: 1em 1.5em;
  text-align: center;
}

.welcome-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #f9e49d;
  margin: 0 auto 1.5em auto;
  max-width: 820px;
  line-height: 1.35;
}

.welcome-message-wrapper {
  display: flex;
  justify-content: center;
}

.welcome-message {
  line-height: 1.75;
  margin: 0 auto;
  max-width: 820px;
  font-size: 1.05em;
  color: #f2f2f2;
  letter-spacing: 0.02em;
}

/* ---- Feature Row ---- */
.feature-row {
  display: flex;
  justify-content: center;
  gap: 2em;
  margin: 3em auto;
  max-width: 1340px;
  padding: 0 1em;
}

.feature-gif-col {
  display: flex;
  align-items: center;
}

/* Feature card */
.feature-box {
  background: #2d2d2d;
  border-radius: 12px;
  padding: 1.4em 1.2em;
  color: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 370px;
  height: 370px;
  width: 320px;
  max-width: 400px;
  box-sizing: border-box;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.feature-title {
  text-align: center;
  width: 100%;
  font-size: 1.0rem;
  font-weight: bold;
  color: #f9e49d;
  margin: 0 0 0.5em 0;
  line-height: 1.3;
}

.feature-description {
  font-size: 0.88em;
  margin-bottom: 0.7em;
  color: #eee;
  line-height: 1.5;
  text-align: center;
}

.feature-list {
  margin: 0;
  padding: 0;
  color: #b6ffb6;
  font-size: 0.82em;
  line-height: 1.5;
  text-align: left;
  width: 100%;
}

.feature-list li {
  margin-bottom: 0.3em;
  padding-left: 1em;
  position: relative;
}

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #f9e49d;
}

/* Cholanafy black card */
.feature-box-black {
  background: #000;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.feature-box-title {
  position: absolute;
  top: 1em; left: 0;
  width: 100%;
  text-align: center;
  font-size: 1.4em;
  font-weight: bold;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}

.feature-box-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 12px 12px;
  z-index: 1;
}

.coming-soon {
  font-family: 'Coming Soon', cursive;
  font-size: 1.1em;
  color: #fff;
  position: absolute;
  bottom: 1em;
  width: 100%;
  text-align: center;
  z-index: 3;
}

.feature-box-link { text-decoration: none; }

/* Doginal GIF box */
.doginal-gif-box {
  width: 100%;
  max-width: 320px;
  height: 370px;
  border-radius: 12px;
  overflow: hidden;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.doginal-gif {
  width: 100%; height: 100%;
  object-fit: cover;
}

.doginal-text-top {
  position: absolute;
  top: 15px; width: 100%;
  text-align: center;
  font-size: 1.6em; font-weight: bold;
  color: #fff;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
  z-index: 5; pointer-events: none;
}

.doginal-text-bottom {
  position: absolute;
  bottom: 15px; width: 100%;
  text-align: center;
  font-size: 1.6em; font-weight: bold;
  color: #f9e49d;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
  z-index: 5; pointer-events: none;
}

/* LearnMore GIF box */
.learnmore-gif-box {
  width: 100%;
  max-width: 320px;
  height: 370px;
  border-radius: 12px;
  overflow: hidden;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.learnmore-gif {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.learnmore-text-top {
  position: absolute;
  top: 15px; width: 100%;
  text-align: center;
  font-size: 1.6em; font-weight: bold;
  color: #000;
  text-shadow: 0 0 10px rgba(255,255,255,0.8);
  z-index: 5; pointer-events: none;
}

.learnmore-text-bottom-link {
  position: absolute;
  bottom: 15px; width: 100%;
  text-align: center;
  text-decoration: none;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
}

.learnmore-text-bottom {
  font-size: 1.6em; font-weight: bold;
  color: #000;
  text-shadow: 0 0 10px rgba(255,255,255,0.8);
  display: inline-block;
  position: relative;
}

.learnmore-text-bottom::after {
  content: '';
  position: absolute;
  width: 0; height: 2px;
  bottom: 4px; left: 0;
  background-color: #555;
  transition: width 0.3s ease;
}

.learnmore-text-bottom-link:hover .learnmore-text-bottom::after { width: 100%; }

/* ---- Subscribe Section ---- */
.subscribe-section {
  margin: 4em auto;
  text-align: center;
  padding: 3em 1.5em;
  background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
  border-top: 1px solid #444;
  border-bottom: 1px solid #444;
}

.subscribe-inner {
  max-width: 640px;
  margin: 0 auto;
}

.subscribe-eyebrow {
  font-family: 'Coming Soon', cursive;
  font-size: 0.8em;
  color: #b6ffb6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.6em 0;
}

.subscribe-title {
  font-size: 2em;
  font-weight: bold;
  color: #f9e49d;
  margin: 0 0 0.8em 0;
  line-height: 1.2;
}

.subscribe-desc {
  color: #ccc;
  font-size: 1em;
  line-height: 1.7;
  margin: 0 0 1.8em 0;
}

.subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: #2d2d2d;
  color: #fff;
  padding: 0.9em 2em;
  border-radius: 8px;
  font-size: 1.15em;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 18px rgba(249, 228, 157, 0.25);
  border: 1px solid #f9e49d44;
}

.subscribe-btn:hover {
  background: #333;
  box-shadow: 0 0 28px rgba(249, 228, 157, 0.55);
  transform: translateY(-3px);
}

.subscribe-note {
  font-size: 0.8em;
  color: #777;
  margin: 1.2em 0 0 0;
}

/* ---- Blog Preview Section ---- */
.blog-preview-section {
  max-width: 1100px;
  margin: 4em auto;
  padding: 0 1.5em;
}

.section-heading {
  font-size: 1.8em;
  color: #f9e49d;
  text-align: center;
  margin: 0 0 0.3em 0;
}

.section-subheading {
  text-align: center;
  color: #aaa;
  font-size: 0.95em;
  margin: 0 auto 2em auto;
  max-width: 600px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
}

.blog-card {
  background: #2d2d2d;
  border-radius: 12px;
  padding: 1.6em;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #3a3a3a;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.blog-card-tag {
  display: inline-block;
  font-family: 'Coming Soon', cursive;
  font-size: 0.7em;
  color: #b6ffb6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-card-title {
  font-size: 1em;
  font-weight: bold;
  color: #f9e49d;
  margin: 0;
  line-height: 1.4;
}

.blog-card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.blog-card-title a:hover { color: #fff; }

.blog-card-excerpt {
  font-size: 0.87em;
  color: #ccc;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.blog-card-link {
  font-size: 0.85em;
  color: #f9e49d;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: auto;
}

.blog-card-link:hover { color: #fff; }

.blog-preview-cta {
  text-align: center;
  margin-top: 2em;
}

.secondary-btn {
  display: inline-block;
  background: transparent;
  color: #f9e49d;
  border: 1px solid #f9e49d;
  padding: 0.7em 1.6em;
  border-radius: 8px;
  font-size: 0.95em;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: monospace, monospace;
}

.secondary-btn:hover {
  background: #f9e49d;
  color: #1a1a1a;
}

/* ---- Inquiry Form Section ---- */
.inquiry-section {
  background: #2a2a2a;
  border-top: 1px solid #444;
  border-bottom: 1px solid #444;
  padding: 4em 1.5em;
}

.inquiry-inner {
  max-width: 760px;
  margin: 0 auto;
}

.inquiry-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #f9e49d;
  text-align: center;
  margin: 0 0 0.4em 0;
}

.inquiry-subtitle {
  text-align: center;
  color: #aaa;
  font-size: 0.95em;
  margin: 0 0 2em 0;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2em;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.form-group-full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.85em;
  color: #f9e49d;
  font-family: 'Coming Soon', cursive;
  letter-spacing: 0.03em;
}

.form-optional {
  color: #888;
  font-size: 0.9em;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  padding: 0.75em;
  background: #383838;
  border: 1px solid #555;
  border-radius: 6px;
  color: #eee;
  font-family: monospace, monospace;
  font-size: 0.95em;
  transition: border-color 0.2s ease;
  width: 100%;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: #f9e49d;
  outline: none;
  box-shadow: 0 0 0 2px rgba(249, 228, 157, 0.12);
}

.inquiry-form select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f9e49d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8em center;
  padding-right: 2.2em;
}

.inquiry-form option { background: #2d2d2d; }

.submit-btn {
  background: #2d2d2d;
  color: #fff;
  border: none;
  padding: 0.85em 1.8em;
  border-radius: 8px;
  font-size: 1.05em;
  cursor: pointer;
  font-family: monospace, monospace;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(249, 228, 157, 0.2);
  align-self: flex-start;
}

.submit-btn:hover {
  background: #333;
  box-shadow: 0 0 25px rgba(249, 228, 157, 0.5);
  transform: translateY(-2px);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.95em;
  color: #d9d9d9;
}

.form-status--ok {
  color: #9bffb5;
}

.form-status--error {
  color: #ff8c8c;
}

/* ---- Social Section ---- */
.social-section {
  margin: 2em auto;
  text-align: center;
  display: flex;
  justify-content: center;
}

.x-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: #2d2d2d;
  color: #fff;
  padding: 0.8em 1.6em;
  border-radius: 8px;
  font-size: 1.1em;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(249, 228, 157, 0.2);
}

.x-button:hover {
  background: #333;
  box-shadow: 0 0 25px rgba(249, 228, 157, 0.5);
  transform: translateY(-3px);
}

.x-icon {
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* ---- Footer ---- */
footer {
  text-align: center;
  padding: 1.5em 0;
  margin-top: 1em;
  font-size: 0.9em;
  color: #aaa;
  border-top: 1px solid #444;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2em;
  padding: 0 1em;
}

.footer-divider { color: #666; margin: 0 0.3em; }

.footer-link {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover { color: #f9e49d; }

/* ============================================================
   Blog Layout (used on /blog/ and article pages)
   ============================================================ */
.blog-header {
  width: 100%;
  text-align: center;
  padding: 2em 1em 0 1em;
  position: relative;
}

.blog-header .nav-tabs { position: absolute; top: 1.5em; right: 1.5em; }

.blog-nav-home {
  position: absolute;
  top: 1.5em; left: 1.5em;
  font-family: 'Coming Soon', cursive;
  font-size: 0.9em;
  color: #f9e49d;
  text-decoration: none;
  z-index: 100;
}

.blog-nav-home:hover { text-decoration: underline; }

.blog-hero {
  max-width: 860px;
  margin: 2em auto;
  padding: 0 1.5em;
  text-align: center;
}

.blog-hero-tag {
  font-family: 'Coming Soon', cursive;
  font-size: 0.75em;
  color: #b6ffb6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6em;
}

.blog-hero-title {
  font-size: 2.2em;
  font-weight: bold;
  color: #f9e49d;
  line-height: 1.25;
  margin: 0 0 0.6em 0;
}

.blog-hero-meta {
  font-size: 0.82em;
  color: #888;
  margin-bottom: 1.5em;
}

.blog-hero-excerpt {
  font-size: 1.1em;
  color: #ccc;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

/* Article body */
.article-body {
  max-width: 760px;
  margin: 2.5em auto 4em auto;
  padding: 0 1.5em;
}

.article-body h2 {
  color: #f9e49d;
  font-size: 1.4em;
  margin: 2em 0 0.7em 0;
  border-left: 3px solid #f9e49d;
  padding-left: 0.7em;
}

.article-body h3 {
  color: #fff;
  font-size: 1.1em;
  margin: 1.5em 0 0.5em 0;
}

.article-body p {
  color: #ddd;
  line-height: 1.75;
  margin: 0 0 1.2em 0;
}

.article-body strong { color: #f9e49d; }

.article-body ul, .article-body ol {
  margin: 0 0 1.2em 1.5em;
  padding: 0;
  list-style: disc;
}

.article-body ol { list-style: decimal; }

.article-body li {
  color: #ddd;
  line-height: 1.7;
  margin-bottom: 0.4em;
}

.article-body a {
  color: #f9e49d;
  text-decoration: underline;
}

.article-body blockquote {
  border-left: 3px solid #f9e49d;
  margin: 1.5em 0;
  padding: 0.8em 1.2em;
  background: #2d2d2d;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #ccc;
}

/* FAQ section in articles */
.faq-section {
  background: #2d2d2d;
  border-radius: 12px;
  padding: 1.8em;
  margin: 2em 0;
}

.faq-section h2 {
  border: none;
  padding: 0;
  margin-top: 0;
}

.faq-item { margin-bottom: 1.4em; }

.faq-item:last-child { margin-bottom: 0; }

.faq-q {
  font-weight: bold;
  color: #f9e49d;
  margin-bottom: 0.4em;
  font-size: 0.95em;
}

.faq-a {
  color: #ccc;
  line-height: 1.7;
  font-size: 0.92em;
  margin: 0;
}

/* Article CTA box */
.article-cta {
  background: linear-gradient(135deg, #2d2d2d 0%, #1e1e1e 100%);
  border: 1px solid #f9e49d44;
  border-radius: 12px;
  padding: 2em;
  text-align: center;
  margin: 2.5em 0;
}

.article-cta h3 {
  color: #f9e49d;
  margin: 0 0 0.5em 0;
}

.article-cta p {
  color: #ccc;
  margin: 0 0 1.2em 0;
}

/* Blog listing grid */
.blog-listing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2em 1.5em 4em 1.5em;
}

.blog-listing-title {
  font-size: 1.8em;
  color: #f9e49d;
  text-align: center;
  margin: 0 0 0.4em 0;
}

.blog-listing-sub {
  text-align: center;
  color: #aaa;
  margin: 0 0 2.5em 0;
  font-size: 0.95em;
}

/* Author bio strip */
.author-bio {
  display: flex;
  align-items: center;
  gap: 1em;
  background: #2d2d2d;
  border-radius: 10px;
  padding: 1.2em;
  margin-top: 3em;
  border: 1px solid #3a3a3a;
}

.author-bio-text h4 { color: #f9e49d; margin: 0 0 0.25em 0; }
.author-bio-text p  { color: #aaa; font-size: 0.85em; margin: 0; line-height: 1.5; }

/* ============================================================
   Contact Page
   ============================================================ */
.contact-page-header {
  max-width: 600px;
  margin: 2em auto 0 auto;
  text-align: center;
  padding: 0 1em;
}

.contact-page-title {
  font-size: 3.5em;
  margin: 0 0 0.1em 0;
  line-height: 1;
}

.form-container {
  background: #2d2d2d;
  max-width: 640px;
  margin: 1.5em auto 2em auto;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(249, 228, 157, 0.1);
}

.form-title {
  font-size: 1.6em;
  text-align: center;
  margin: 0 0 1.2em 0;
  color: #f9e49d;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1em;
}

.contact-form .form-group label { color: #f9e49d; font-size: 0.85em; }

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.75em;
  background: #383838;
  border: 1px solid #555;
  border-radius: 6px;
  color: #eee;
  font-family: monospace, monospace;
  font-size: 0.95em;
  width: 100%;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #f9e49d;
  outline: none;
}

.back-link {
  display: block;
  text-align: center;
  margin: 0 0 2em 0;
  color: #f9e49d;
  text-decoration: none;
  font-size: 0.9em;
}

.back-link:hover { text-decoration: underline; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .header-splash-gif-left { display: none; }
}

@media (max-width: 900px) {
  .feature-row {
    flex-direction: column;
    align-items: center;
    gap: 2em;
    margin: 1.5em auto;
  }

  .feature-box,
  .doginal-gif-box,
  .learnmore-gif-box {
    width: 90%;
    max-width: 380px;
    margin: 0 auto;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.2em;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .standalone-left-link { display: none; }

  .site-title { font-size: 3.2em; }

  .welcome-title { font-size: 1.25em; }

  .welcome-message { font-size: 0.98em; }

  .subscribe-title { font-size: 1.5em; }

  .inquiry-section { padding: 2.5em 1em; }

  .blog-header .nav-tabs { position: static; justify-content: center; margin-bottom: 1em; }
}

@media (max-width: 600px) {
  .nav-tabs {
    position: static;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0.5em auto 1em auto;
  }

  .nav-tab:first-child,
  .nav-tab:last-child,
  .nav-tab:not(:first-child):not(:last-child) {
    border-radius: 6px;
    border: 2px solid #f9e49d;
  }

  .site-title { font-size: 2.8em; }

  .welcome-title { font-size: 1.1em; }

  .blog-hero-title { font-size: 1.6em; }

  .blog-card { padding: 1.2em; }

  .form-container { padding: 1.4em; }
}
