/* ============================================================
   Cologne By Phone – Inner Page Stylesheet
   Loaded ONLY on inner pages (header.php checks segment 1).
   Reuses the CSS variables already declared in style.css's :root
   (--rose, --rose-dk, --violet, --ink, --ivory, --border, etc.)
   ============================================================ */

/* ── INNER BANNER (hero for every inner page) ─────────────────── */
.inner-banner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  padding-top: 60px;
}
.inner-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,.88) 0%, rgba(59,16,96,.82) 45%, rgba(123,47,190,.7) 80%, rgba(255,32,81,.55) 100%);
}
.inner-banner-content {
  position: relative; z-index: 2;
  padding: 40px 0 56px;
  width: 100%;
}
.inner-banner-edge {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 4px;
  background: linear-gradient(90deg, var(--rose), var(--violet));
}

/* Breadcrumb */
.inner-breadcrumb ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0; margin: 0 0 18px;
}
.inner-breadcrumb li {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; letter-spacing: .05em; color: rgba(255,255,255,.75);
}
.inner-breadcrumb a {
  color: rgba(255,255,255,.85); text-decoration: none; display: flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.inner-breadcrumb a:hover { color: #fff; }
.inner-breadcrumb li.active span { color: #ffb3c1; font-weight: 600; }
.inner-breadcrumb i { font-size: .7rem; }

/* Title block */
.inner-page-eyebrow {
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; color: #ffb3c1; margin-bottom: 8px;
}
.inner-page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; color: #fff; margin-bottom: 10px; line-height: 1.15;
}
.inner-page-subtitle {
  font-size: 1rem; color: rgba(255,255,255,.85); max-width: 640px; margin: 0;
}

/* ── GENERIC INNER PAGE BODY (rendered from page_description) ──── */
.inner-page-wrap { background: var(--white, #fff); padding: 64px 0 80px; }
.inner-page-content { color: #222; font-size: 1rem; line-height: 1.9; }
.inner-page-content h1,
.inner-page-content h2,
.inner-page-content h3,
.inner-page-content h4,
.inner-page-content h5,
.inner-page-content h6 {
  font-family: 'Playfair Display', serif;
  color: var(--ink); font-weight: 700; margin: 1.4em 0 .6em;
}
.inner-page-content h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.inner-page-content h3 { font-size: 1.3rem; }
.inner-page-content p { margin-bottom: 1.1em; }
.inner-page-content ul,
.inner-page-content ol { margin-bottom: 1.1em; padding-left: 1.4em; }
.inner-page-content li { margin-bottom: .5em; }
.inner-page-content a { color: var(--rose); text-decoration: underline; text-decoration-color: rgba(255,32,81,.35); }
.inner-page-content a:hover { color: var(--rose-dk); }
.inner-page-content blockquote {
  border-left: 4px solid var(--rose);
  background: var(--blush-bg, #fff0f3);
  padding: 18px 24px; margin: 1.6em 0; font-style: italic; color: var(--ink);
  border-radius: 0 8px 8px 0;
}
.inner-page-content table {
  width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .92rem;
}
.inner-page-content th,
.inner-page-content td {
  border: 1px solid var(--border, #e4d8f0); padding: 10px 14px; text-align: left;
}
.inner-page-content th { background: var(--lavender-bg, #f3eeff); color: var(--ink); font-weight: 700; }
.inner-page-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 1em 0; }
.inner-page-content hr { border: none; border-top: 1px solid var(--border, #e4d8f0); margin: 2em 0; }

/* ── CONTACT PAGE ──────────────────────────────────────────────── */
.contact-page-section { background: var(--ivory, #fbf8ff); padding: 20px 0 80px; }

/* Info cards row */
.cp-info-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px; margin: -70px 0 50px; position: relative; z-index: 3;
}
.cp-info-card {
  background: #fff; border-radius: 14px; padding: 30px 26px;
  border: 1px solid var(--border, #e4d8f0); border-top: 4px solid var(--rose);
  box-shadow: 0 16px 40px rgba(123,47,190,.1);
  text-align: center;
}
.cp-info-icon {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--rose), var(--violet));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.cp-info-label {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--soft, #9090a8); margin-bottom: 8px;
}
.cp-info-val { font-size: .95rem; color: var(--ink); line-height: 1.7; font-weight: 500; }
.cp-info-val a { color: var(--ink); text-decoration: none; }
.cp-info-val a:hover { color: var(--rose); }
.cp-info-hours { font-size: .8rem; color: var(--soft, #9090a8); margin-top: 6px; }
.cp-info-link {
  display: inline-block; margin-top: 12px; font-size: .78rem; font-weight: 700;
  color: var(--rose); text-decoration: none; letter-spacing: .04em;
}
.cp-info-link:hover { color: var(--rose-dk); }

/* Form + map row */
.cp-body-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: stretch; }
@media (max-width: 991px) { .cp-body-row { grid-template-columns: 1fr; } }

.cp-form-panel {
  background: #fff; border-radius: 16px; padding: 44px 40px;
  border: 1px solid var(--border, #e4d8f0); box-shadow: 0 16px 50px rgba(123,47,190,.08);
}
@media (max-width: 575px) { .cp-form-panel { padding: 32px 22px; } }
.section-eyebrow {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; color: var(--rose); margin-bottom: 8px;
}
.cp-form-title {
  font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; color: var(--ink); line-height: 1.25; margin-bottom: 12px;
}
.cp-form-title .text-accent { color: var(--rose); font-style: italic; }
.cp-form-intro { color: #444; margin-bottom: 26px; font-size: .93rem; line-height: 1.75; }

.cp-form-panel .form-label {
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: #111; font-weight: 700; margin-bottom: 6px; display: block;
}
.cp-form-panel .custom-input {
  background: var(--ivory, #fbf8ff); border: 1.5px solid var(--border, #e4d8f0);
  border-radius: 8px; padding: 12px 16px; color: #111; font-size: .9rem; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.cp-form-panel .custom-input:focus {
  border-color: var(--rose); box-shadow: 0 0 0 3px rgba(255,32,81,.1); outline: none;
}
.btn-submit-form {
  background: linear-gradient(90deg, var(--rose), var(--violet));
  border: none; color: #fff; padding: 13px 42px; border-radius: 40px;
  font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  cursor: pointer; box-shadow: 0 8px 24px rgba(255,32,81,.3);
  transition: opacity .2s, transform .2s;
}
.btn-submit-form:hover { opacity: .88; transform: translateY(-2px); color: #fff; }
.btn-submit-form:disabled { opacity: .7; cursor: default; transform: none; }

#cf_alert { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; font-size: .88rem; }
#cf_alert.alert-danger { background: #fde8ec; color: #8a0020; border: 1px solid #f5b8c4; }
#cf_alert.alert-success { background: #eafaf0; color: #0f5c2e; border: 1px solid #b7e6c6; }

/* Map panel */
.cp-map-panel { border-radius: 16px; overflow: hidden; min-height: 340px; }
.cp-map-inner { position: relative; height: 100%; min-height: 340px; }
#contact-page-map { position: absolute; inset: 0; z-index: 1; }
.cp-map-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: #fff; border-radius: 12px; padding: 12px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: .85rem;
}
.cp-map-badge i { color: var(--rose); font-size: 1.2rem; }
.cp-map-badge strong { display: block; color: var(--ink); }
.cp-map-badge span { color: var(--soft, #9090a8); font-size: .78rem; }

@media (max-width: 767px) {
  .cp-info-row { margin-top: -40px; }
  .inner-banner { min-height: 260px; }
}

/* ============================================================
   Cologne By Phone – Articles CSS
   Loaded only by articles_listing.php and article_detail.php
   (banner/breadcrumb/content typography already come from inner.css)
   ============================================================ */

.articles-section { background: var(--ivory, #fbf8ff); padding: 60px 0 80px; }

/* ── LISTING GRID ─────────────────────────────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.article-card {
  display: block; text-decoration: none; color: inherit;
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border, #e4d8f0);
  box-shadow: 0 10px 30px rgba(123,47,190,.08);
  transition: transform .25s, box-shadow .25s;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(123,47,190,.16);
  color: inherit;
}
.article-card-img { position: relative; height: 190px; overflow: hidden; background: var(--lavender-bg, #f3eeff); }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card:hover .article-card-img img { transform: scale(1.06); }
.article-card-noimg {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--soft, #9090a8); font-size: 2rem;
}
.article-badge {
  position: absolute; top: 12px; right: 12px;
  background: linear-gradient(90deg, var(--rose), var(--violet));
  color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px; display: flex; align-items: center; gap: 5px;
}
.article-card-body { padding: 22px 24px 26px; }
.article-date {
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--soft, #9090a8); margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}
.article-card-title {
  font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700;
  color: var(--ink); margin-bottom: 10px; line-height: 1.35;
}
.article-excerpt { font-size: .88rem; color: #444; line-height: 1.7; margin-bottom: 14px; }
.article-readmore {
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--rose); display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s;
}
.article-card:hover .article-readmore { gap: 10px; }

/* Pagination */
.article-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.article-pagination a {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: .85rem; font-weight: 600; color: var(--ink);
  border: 1px solid var(--border, #e4d8f0); background: #fff; transition: background .2s, color .2s;
}
.article-pagination a:hover { background: var(--lavender-bg, #f3eeff); }
.article-pagination a.active { background: linear-gradient(135deg, var(--rose), var(--violet)); color: #fff; border-color: transparent; }

/* ── ARTICLE DETAIL ───────────────────────────────────────────── */
.article-detail-meta {
  display: flex; gap: 20px; flex-wrap: wrap; margin-top: 6px;
  font-size: .85rem; color: rgba(255,255,255,.85);
}
.article-detail-meta span { display: flex; align-items: center; gap: 6px; }

.article-detail-wrap { padding-top: 56px; }
.article-detail-content { margin-bottom: 30px; }

.article-back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--rose); text-decoration: none; margin-top: 10px;
}
.article-back-link:hover { color: var(--rose-dk); }

/* Related articles rail */
.article-related-panel {
  background: #fff; border-radius: 14px; border: 1px solid var(--border, #e4d8f0);
  padding: 26px 24px; box-shadow: 0 10px 30px rgba(123,47,190,.06); position: sticky; top: 90px;
}
.article-related-panel h5 {
  font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700;
  color: var(--ink); margin-bottom: 18px;
}
.article-related-item {
  display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit;
  margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border, #e4d8f0);
}
.article-related-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.article-related-item img,
.article-related-noimg {
  width: 64px; height: 52px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
  background: var(--lavender-bg, #f3eeff);
}
.article-related-noimg { display: flex; align-items: center; justify-content: center; color: var(--soft, #9090a8); }
.article-related-title { font-size: .85rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.article-related-date { font-size: .72rem; color: var(--soft, #9090a8); margin-top: 4px; }
.article-related-item:hover .article-related-title { color: var(--rose); }

@media (max-width: 991px) {
  .article-related-panel { position: static; margin-top: 10px; }
}
