/* ---------- RESET ---------- */
*


{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.book-hero-image img {
  max-width: 320px;   /* change this value */
  width: 100%;
  height: auto;
}
.site-logo {
  height: 90px;      /* since you made it bigger */
  width: auto;
  display: block;    /* removes inline-image baseline issues */
}

@media (max-width: 768px) {
  .site-logo {
    height: 30px;
  }
}

/* ---------- ROOT ---------- */
:root {
  /* TEXT */
  --text-main: #1f1f1f;        /* near-black */
  --text-muted: #5f5f5f;      /* professional grey */

  /* BRAND COLORS */
  --gold: #d4af37;            /* light gold */
  --gold-soft: #f6f1df;       /* soft gold background */
  --maroon: #7a1f2b;          /* deep academic maroon */
  --maroon-dark: #5e1620;

  --accent: #d4af37;          /* GOLD */
  --accent-soft: #F7F1DF;     /* SOFT GOLD BG */

  /* BACKGROUNDS */
  --bg-main: #faf9f6;         /* off-white */
  --bg-card: #ffffff;
  --bg-section: #f3f3f3;

  /* SHADOW */
  --shadow-soft: 0 6px 18px rgba(0,0,0,0.05);

  --border-light: #e8dfaf;    /* GOLD TINT BORDER */
}

/* ---------- BODY ---------- */
body {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.75;
  font-size: 16px;
  letter-spacing: 0.1px;
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: 1000px;
  margin: auto;
  padding: 24px 6px;
}

.publisher-hero .container {
  max-width: 960px;   /* tighter = premium */
}

/* ---------- SITE HEADER ---------- */
.site-header {
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0; 
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: 0.3px;
  line-height: 1;   /* prevents vertical drift */
}


.nav-left {
  display: flex;
  align-items: center;   /* THIS fixes the issue */
  gap: 12px;
}

.nav-right a {
  margin-left: 28px;
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
  position: relative;
}

.nav-right a:hover {
  color: var(--maroon);
}

.nav-right a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.nav-right a:hover::after {
  width: 100%;
}

.nav-btn {
  background: var(--gold-soft);
  color: var(--gold);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-btn:hover {
  background: var(--gold);
  opacity: 0.9;
}

/* TEXT BUTTON (used for View Details) */
.btn-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
  background: var(--gold-soft);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.btn-link:hover {
  border-bottom: 2px solid var(--gold);
  color: var(--maroon-dark);
}

/* ---------- HERO ---------- */

.hero {
  padding: 24px 20px 20px;
  background: linear-gradient(180deg, #f9faff, #FBF7EB; );
  border-bottom: 1px solid var(--border-light);
}

.compact-hero {
  padding: 12px 0 8px;
}

.hero h1 {
  max-width: 820px;
  font-size: 2.7rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero p {
  max-width: 720px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.publisher-hero {
  padding: 20px 0 20px;
  position: relative;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.publisher-hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.publisher-hero p {
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.publisher-hero::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-top: 24px;
}
/* ---------- HEADINGS ---------- */
h2 {
  position: relative;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 42px;
  height: 3px;
  background: var(--gold);
}

h2 {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 14px;
}

/* ---------- TEXT ---------- */
p {
  margin-bottom: 18px;
  color: var(--text-muted);
  max-width: 720px;
 }

/* ---------- LISTS ---------- */
ul {
  margin-left: 22px;
  margin-bottom: 26px;
}

li {
  margin-bottom: 10px;
}

/* ---------- BUTTONS ---------- */

.btn {
  background: var(--gold);
  color: #1f1f1f;
  padding: 7px 13px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background:var(--gold-soft);
  transform: translateY(-1px);
}

.btn.secondary {

  background: var(--maroon);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18)
 
}
.btn.secondary:hover {
  background: var(--gold);
}

.book-link {
  padding: 7px 13px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 10px;
}
.purchase-buttons {
  display: flex;
  flex-direction: column;
  width: 100%;            /* same width, clean column */
  text-align: center;
  gap: 12px;              /* space between buttons */
  margin-top: 16px;
}

.btn {
  width: 100%;            /* same width, clean column */
  text-align: center;
}

  
/* ---------- INFO CARD ---------- */
.info-card {
  border: none;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.info-card h2,
.info-card h3 {
  color: var(--maroon);
}

.info-card .btn {
  width: fit-content;
}
.info-card:last-child {
  background: #faf7ef;
}
.info-card:last-child h3 {
  font-size: 1.15rem;
}

/* ---------- TWO COLUMN GRID ---------- */
.two-column-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ---------- BOOK ENTRY ---------- */
.book-entry {
  padding: 20px 0;
}

.book-entry strong {
  font-size: 1.1rem;
}

.book-entry + .book-entry {
  border-top: 1px solid var(--border-light);
  margin-top: 24px;
  padding-top: 28px;
}
.book-entry em {
  font-style: normal;
  font-weight: 500;
  color: var(--text-main);
}

.book-entry p {
  margin-bottom: 8px;
}
.book-entry .btn {
  margin-top: 14px;
}

/* ---------- BOOK LINK (RIGHT CARD) ---------- */
.book-link {
  margin-bottom: 22px;
}

.book-link strong {
  display: block;
  margin-bottom: 6px;
}

/* ---------- HIGHLIGHT GRID ---------- */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.highlight {
  background: #ffffff;
  border: 1px solid #eee3c6;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.highlight strong {
  color: var(--maroon);
  font-size: 1.1rem;
}

h1, h2 {
  font-weight: 700;
letter-spacing: -0.2px;
}

h3 {
  font-weight: 600;
  color: var(--maroon);
letter-spacing: -0.2px;
}
::selection {
  background: var(--gold);
  color: #1f1f1f;
}



.soft-section {
  padding: 64px 0;
  border-top: 1px solid var(--border-light);
}

/* ---------- SEPARATOR ---------- */
hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 28px 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- FOOTER ---------- */
footer {
  background: #1f1f1f;
  color: #e6e6e6;
  border-top: 3px solid var(--gold);
  width: 100%;
}

footer .container {
  padding: 12px 6px;
  text-align: center;
  max-width: none;
}

footer p {
  margin-bottom: 10px;
  color: #e6e6e6;
  font-size: 0.9rem;
}

footer p:last-child {
  color: var(--gold);
  font-size: 0.85rem;
}
/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .two-column-grid {
    grid-template-columns: 1fr;
  }

.nav-right a {
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 500;
}
.nav-right a.nav-btn {
  background: var(--gold-soft);
  color: var(--maroon);
  border: 1.5px solid var(--maroon);
  font-weight: 600;
}
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 48px;
  height: 3px;
  background: var(--accent);
}






