/* ============================================================
   pub-edition-cat.ftl — UNIFIED STYLESHEET
   Single font, consistent spacing, unified color palette
   
   Color palette:
   --primary:     #c8380a  (brand red-orange)
   --text-dark:   #1a1a1a
   --text-body:   #444444
   --text-muted:  #666666
   --text-light:  #888780
   --border:      #e2e0d8
   --bg-light:    #f5f4f0
   --bg-white:    #ffffff
   --green:       #1a7a3c
   --green-light: #e4f7ea
   --blue:        #1a56c4
   --blue-light:  #e8f0fe
   
   Font: 'Segoe UI', system-ui, sans-serif — applied globally
   ============================================================ */

/* ── Global base ── */
*, ::after, ::before { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Scroll-to-top button ── */
#scrollTopBtn {
  display: none; position: fixed; bottom: 20px; left: 20px; z-index: 99;
  border: none; outline: none; background-color: rgba(0,0,0,0.5);
  color: #fff; cursor: pointer; padding: 10px 15px;
  border-radius: 4px; font-size: 16px;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
#scrollTopBtn::before { content: "\2191"; }

/* ── Responsive utility ── */
@media (max-width: 767px) {
  .hidden-xs { display: none !important; }
}

/* ── Ad type toggle ── */
#classifieddisplayprice { display: none; }

/* ── Cityrate table (existing classified rates table) ── */
.cityrate {
  width: 100%; border-collapse: collapse;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.cityrate td, .cityrate th {
  border: 1px solid #e2e0d8; padding: 8px;
  text-align: left; color: #c8380a;
  font-size: 13px;
}
.cityrate th { background-color: #f5f4f0; font-weight: 600; color: #1a1a1a; }
@media (max-width: 767px) {
  .cityrate thead { display: none; }
  .cityrate tr { display: block; margin-bottom: 10px; border: 1px solid #e2e0d8; }
  .cityrate td { display: block; border: none; position: relative; }
  .break { margin-bottom: 30px; }
  .cityrate td:before {
    position: absolute; top: 6px; left: 6px;
    width: 45%; padding-right: 10px; white-space: nowrap;
    content: attr(data-label); font-weight: 700;
  }
}

/* ══════════════════════════════════════════════════════════
   PEC RATES SECTION (publication-edition-category cards)
   ══════════════════════════════════════════════════════════ */
.pec-wrap {
  font-family: 'Segoe UI', system-ui, sans-serif;
  max-width: 980px; margin: 0 auto; padding: 1.25rem 1rem;
}
.pec-heading { border-left: 4px solid #c8380a; padding-left: 12px; margin-bottom: 6px; }
.pec-heading h2 { font-size: 21px; font-weight: 700; color: #1a1a1a; line-height: 1.35; margin: 0; }
.pec-circulation { font-size: 14px; font-weight: 400; color: #444; margin-bottom: 1.4rem; padding-left: 16px; }
.pec-circulation strong { font-weight: 600; color: #c8380a; }
.pec-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.pec-card { border: 2px solid #c8380a; border-radius: 10px; background: #fff; overflow: hidden; }
.pec-card-inner { display: flex; align-items: stretch; }
.pec-card-img {
  width: 115px; min-width: 115px; background: #fdf5f0;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 12px; border-right: 1px solid #f5e8e2;
}
.pec-card-img img { width: 88px; height: 78px; object-fit: contain; display: block; }
.pec-card-body { padding: 14px 16px; flex: 1; }
.pec-card-title {
  font-size: 17px; font-weight: 700; color: #1a1a1a;
  line-height: 1.35; margin-bottom: 10px;
  text-transform: uppercase; border-bottom: 2px solid #c8380a; padding-bottom: 6px;
}
.pec-card-line { font-size: 13px; color: #444; font-weight: 400; line-height: 1.9; margin: 0; }
.pec-card-line strong { font-weight: 600; color: #1a1a1a; }
.pec-promo-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  background: #fff3e0; color: #c8380a; border: 1px solid #ffcc80;
  border-radius: 4px; padding: 1px 6px; margin-left: 6px;
  vertical-align: middle; text-transform: uppercase; letter-spacing: .04em;
}
.pec-bottom-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 8px; }
.pec-schemes { background: #f0faf2; border: 1px solid #cde8d4; border-radius: 10px; padding: 14px 16px; }
.pec-schemes-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pec-schemes-icon {
  width: 28px; height: 28px; background: #e4f7ea; border: 1px solid #a8d9b4;
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #1a7a3c; font-weight: 700; flex-shrink: 0;
}
.pec-schemes-title { font-size: 12px; font-weight: 700; color: #1a7a3c; text-transform: uppercase; letter-spacing: .06em; }
.pec-schemes-sub { font-size: 11px; color: #666; font-weight: 400; margin-top: 1px; }
.pec-schemes-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pec-scheme-badge { background: #1a7a3c; color: #fff; font-size: 13px; font-weight: 600; padding: 6px 18px; border-radius: 20px; white-space: nowrap; }
.pec-days-panel { background: #f5f8ff; border: 1px solid #cdd8f0; border-radius: 10px; padding: 14px 16px; }
.pec-days-title { font-size: 13px; font-weight: 600; color: #1a1a1a; margin-bottom: 10px; line-height: 1.4; }
.pec-days-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pec-day-pill { font-size: 12px; font-weight: 600; padding: 4px 13px; border-radius: 16px; background: #e8f0fe; color: #1a56c4; border: 1px solid #a8c0f0; }

/* ══════════════════════════════════════════════════════════
   FAQ SECTION
   ══════════════════════════════════════════════════════════ */
.faq-wrap {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #f5f4f0; color: #1a1a1a;
  padding: 1.5rem 1rem; margin: 0 auto;
}
.faq-header { text-align: center; margin-bottom: 2rem; }
.faq-header h2 { font-size: 22px; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
.faq-header p { font-size: 14px; color: #666; }
.faq-item { border: 1px solid #e2e0d8; border-radius: 10px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq-item.open { border-color: rgba(0,0,0,.22); }
.faq-btn { display: flex; align-items: center; gap: 12px; padding: 1rem 1.25rem; cursor: pointer; background: #fff; }
.faq-btn:hover { background: #fafaf9; }
.faq-num { font-size: 12px; font-weight: 600; border-radius: 6px; padding: 2px 8px; min-width: 32px; text-align: center; flex-shrink: 0; background: #e8f0fe; color: #1a56c4; }
.faq-question { font-weight: 500; font-size: 14px; color: #1a1a1a; flex: 1; line-height: 1.4; }
.faq-icon { font-size: 22px; color: #666; flex-shrink: 0; transition: transform .3s, color .2s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(180deg); color: #1a56c4; }
.faq-body { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s, opacity .3s; }
.faq-content { padding: 0 1.25rem 1.25rem calc(1.25rem + 44px); font-size: 13px; color: #444; line-height: 1.75; }
.faq-content strong { font-weight: 600; color: #1a1a1a; }
.faq-content p { margin-bottom: .75rem; }
.faq-content p:last-child { margin-bottom: 0; }
.faq-content ol { padding-left: 1.25rem; margin-top: .5rem; }
.faq-content ol li { margin-bottom: .5rem; }
.faq-content .note {
  border-left: 3px solid #c8380a; border-radius: 0 8px 8px 0;
  padding: 10px 14px; margin-top: .75rem; font-size: 13px;
  display: flex; gap: 8px; align-items: flex-start;
  background: #fdf5f0; color: #444;
}
.faq-content .note i { margin-top: 2px; flex-shrink: 0; }
.faq-content .format-box {
  background: #f5f4f0; border: 1px solid #e2e0d8; border-radius: 8px;
  padding: 12px 14px; margin-top: .75rem; font-size: 13px;
  font-style: italic; line-height: 1.7; color: #1a1a1a;
}
.tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 600; margin-right: 4px; margin-bottom: 6px; }
.tag-green { background: #e4f7ea; color: #1a7a3c; }
@media (max-width: 600px) {
  .faq-content { padding-left: 1.25rem; }
  .faq-header h2 { font-size: 18px; }
}

/* ══════════════════════════════════════════════════════════
   TOI / NEWSPAPER CONTENT SECTION
   ══════════════════════════════════════════════════════════ */
.toi-wrap { max-width: 860px; margin: 0 auto; padding: 1.5rem 1.25rem; font-family: 'Segoe UI', system-ui, sans-serif; }
.toi-hero { background: #fff; border-radius: 10px; padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid #e2e0d8; }
.toi-hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .09em; color: #888780; text-transform: uppercase; margin-bottom: .5rem; }
.toi-hero-title { font-size: 22px; font-weight: 700; color: #1a1a1a; margin-bottom: .75rem; line-height: 1.35; }
.toi-hero-body { font-size: 14px; color: #444; line-height: 1.75; margin-bottom: 1.25rem; }
.toi-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 1.5rem; }
.toi-stat { background: #f5f4f0; border: 1px solid #e2e0d8; border-radius: 8px; padding: .85rem 1rem; }
.toi-stat-num { font-size: 20px; font-weight: 700; color: #1a1a1a; margin-bottom: 2px; }
.toi-stat-label { font-size: 12px; color: #888780; font-weight: 400; }
.city-label { font-size: 13px; font-weight: 500; color: #444; margin-bottom: .4rem; }
.city-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.city-tags span { background: #f5f4f0; border: 1px solid #e2e0d8; border-radius: 6px; padding: 3px 10px; font-size: 12px; color: #444; }
.toi-section { margin-bottom: 2rem; }
.section-title { font-size: 17px; font-weight: 700; color: #1a1a1a; margin-bottom: 1rem; }
.divider { border: none; border-top: 1px solid #e2e0d8; margin: 0 0 2rem; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.why-card { background: #fff; border: 1px solid #e2e0d8; border-radius: 10px; padding: 1rem; }
.why-icon { font-size: 22px; margin-bottom: 10px; }
.why-card-title { font-size: 14px; font-weight: 600; color: #1a1a1a; margin-bottom: 5px; }
.why-card-body { font-size: 13px; color: #444; line-height: 1.6; }
.ads-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.ad-card { background: #fff; border: 1px solid #e2e0d8; border-radius: 10px; padding: 1.25rem; }
.ad-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 6px; margin-bottom: .75rem; }
.badge-classified { background: #e4f7ea; color: #1a7a3c; }
.badge-display { background: #e8f0fe; color: #1a56c4; }
.ad-card-title { font-size: 15px; font-weight: 600; color: #1a1a1a; margin-bottom: 6px; }
.ad-card-desc { font-size: 13px; color: #444; line-height: 1.65; margin-bottom: 1rem; }
.ad-sub { background: #f5f4f0; border-radius: 8px; padding: .7rem .9rem; margin-bottom: 8px; }
.ad-sub:last-of-type { margin-bottom: 0; }
.ad-sub-title { font-size: 13px; font-weight: 600; color: #1a1a1a; margin-bottom: 3px; }
.ad-sub-desc { font-size: 12px; color: #444; line-height: 1.55; }
.ad-price { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 6px; padding: 4px 12px; margin-top: .75rem; }
.price-green { background: #e4f7ea; color: #1a7a3c; }
.price-blue { background: #e8f0fe; color: #1a56c4; }
.biz-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px; }
.biz-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #444; line-height: 1.6; background: #fff; border: 1px solid #e2e0d8; border-radius: 8px; padding: .7rem .9rem; }
.biz-list li .check { color: #1a7a3c; font-size: 15px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.affordable-box { background: #fff; border: 1px solid #e2e0d8; border-radius: 10px; padding: 1.25rem 1.5rem; display: flex; gap: 1.25rem; align-items: flex-start; }
.affordable-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.affordable-body { font-size: 13px; color: #444; line-height: 1.75; }

/* ══════════════════════════════════════════════════════════
   RECENTLY PUBLISHED ADS SLIDER
   ══════════════════════════════════════════════════════════ */
.slider-container-a { margin: -10px 0 0 0; position: relative; max-width: 1200px; background: #fff; padding: 10px; font-family: 'Segoe UI', system-ui, sans-serif; }
.slider-viewport-a { overflow: hidden; }
.slider-track-a { display: flex; transition: transform .5s ease; }
.box-a {
  flex: 0 0 25%; height: 300px; overflow-y: auto; padding: 10px;
  background: #fff; margin-right: 10px; border: 1px solid #e2e0d8;
  border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.box-a:last-child { margin-right: 0; }
.box-a i.quote { font-size: 20px; color: #1a56c4; }
.box-a .info .name { font-weight: 600; font-size: 14px; color: #c8380a; }
.box-a .info .job { font-size: 13px; font-weight: 600; color: #c8380a; }
@media (max-width: 600px) {
  .box-a { flex: 0 0 100%; margin-right: 0; }
}

/* ══════════════════════════════════════════════════════════
   ACCORDION (inline FAQ buttons)
   ══════════════════════════════════════════════════════════ */
button.accordion {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background-color: #f5f4f0; color: #1a1a1a; cursor: pointer;
  padding: 10px 14px; width: 100%; border: none; text-align: left;
  outline: none; font-size: 15px; font-weight: 600; transition: .4s;
  border-radius: 6px; margin-bottom: 4px;
}
button.accordion.active, button.accordion:hover { background-color: #e2e0d8; }
button.accordion:after { content: '\002B'; color: #666; font-weight: bold; float: right; margin-left: 5px; }
button.accordion.active:after { content: "\2212"; }
div.panel { padding: 0 14px; background-color: #fff; max-height: 0; overflow: hidden; transition: max-height .2s ease-out; font-family: 'Segoe UI', system-ui, sans-serif; font-size: 13px; color: #444; line-height: 1.7; }

/* ══════════════════════════════════════════════════════════
   GENERAL PAGE TYPOGRAPHY (h2, h3, p, ul, li)
   ══════════════════════════════════════════════════════════ */
.circulated.section4 { font-family: 'Segoe UI', system-ui, sans-serif; }
.circulated.section4 h2 { font-size: 18px; font-weight: 700; color: #1a1a1a; margin: 1.2rem 0 .6rem; line-height: 1.35; }
.circulated.section4 h3 { font-size: 16px; font-weight: 600; color: #1a1a1a; margin: 1rem 0 .5rem; }
.circulated.section4 p { font-size: 14px; color: #444; line-height: 1.75; margin-bottom: .75rem; }
.circulated.section4 ul.list { padding-left: 1.25rem; margin-bottom: 1rem; }
.circulated.section4 ul.list li { font-size: 13px; color: #444; line-height: 1.8; }
.circulated.section4 ul.list li a { color: #1a56c4; text-decoration: none; }
.circulated.section4 ul.list li a:hover { text-decoration: underline; }
.circulated.section4 ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.circulated.section4 ol li { font-size: 14px; color: #444; line-height: 1.75; margin-bottom: .4rem; }
.circulated.section4 strong { font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — global
   ══════════════════════════════════════════════════════════ */
@media (max-width: 700px) {
  .pec-cards-row, .pec-bottom-row { grid-template-columns: 1fr; }
  .pec-card-img { width: 90px; min-width: 90px; padding: 10px 8px; }
  .pec-card-img img { width: 72px; height: 64px; }
  .pec-card-title { font-size: 15px; }
  .pec-card-line { font-size: 12px; }
  .pec-heading h2 { font-size: 17px; }
  .toi-hero-title { font-size: 18px; }
  .section-title { font-size: 15px; }
}
@media (max-width: 400px) {
  .pec-card-inner { flex-direction: column; }
  .pec-card-img { width: 100%; border-right: none; border-bottom: 1px solid #f5e8e2; padding: 10px 14px; justify-content: flex-start; }
}

/* ══════════════════════════════════════════════════════════
   PACKAGE LIST ITEMS (classified rates & display rates)
   ══════════════════════════════════════════════════════════ */
.pkg-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid #e2e0d8;
  border-radius: 10px; padding: 1rem 1.1rem;
  margin-bottom: 10px;
  transition: border-color .2s;
}
.pkg-item:hover { border-color: #c8380a; }
.pkg-num {
  width: 34px; height: 34px; flex-shrink: 0;
  background: #c8380a; color: #fff;
  border-radius: 8px; display: flex;
  align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; margin-top: 2px;
}
.pkg-num.blue { background: #1a56c4; }
.pkg-content { flex: 1; }
.pkg-list { list-style: none; margin-bottom: 1.25rem; }
.pkg-section-title {
  font-size: 15px; font-weight: 700; color: #1a1a1a;
  margin-bottom: .9rem; padding-bottom: 6px;
  border-bottom: 1px solid #e2e0d8;
}
.pkg-price-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700;
  border-radius: 6px; padding: 3px 10px; margin-top: 6px;
}
.adtype-chooser {
  background: #fff; border: 1px solid #e2e0d8;
  border-radius: 10px; padding: 1rem 1.25rem;
  margin-bottom: 1.25rem; display: flex;
  flex-wrap: wrap; gap: 12px; align-items: center;
}
.adtype-chooser .type-label {
  font-size: 13px; font-weight: 700; color: #1a1a1a;
  text-transform: uppercase; letter-spacing: .05em; flex-shrink: 0;
}
.adtype-box {
  display: flex; align-items: center; gap: 10px;
  background: #f5f4f0; border: 1px solid #e2e0d8;
  border-radius: 8px; padding: 8px 14px; cursor: pointer;
  transition: border-color .2s, background .2s; flex: 1; min-width: 190px;
}
.adtype-box:hover { border-color: #c8380a; background: #fdf5f0; }
.adtype-box img { width: 52px; height: 38px; object-fit: contain; flex-shrink: 0; }
.adtype-box label {
  cursor: pointer; font-size: 13px; font-weight: 600;
  color: #1a1a1a; line-height: 1.35;
}
.adtype-box label em {
  font-size: 11px; font-weight: 400; color: #666;
  font-style: normal; display: block; margin-top: 2px;
}
.adtype-box input[type="radio"] { accent-color: #c8380a; width: 15px; height: 15px; flex-shrink: 0; }
.normal-rate-box {
  background: #fff; border: 1px solid #e2e0d8;
  border-radius: 10px; overflow: hidden; margin-bottom: 1.25rem;
}
.normal-rate-header {
  display: flex; align-items: center; gap: 10px;
  padding: .75rem 1.1rem; background: #fdf5f0;
  border-bottom: 1px solid #f5e8e2;
}
.normal-rate-icon {
  width: 30px; height: 30px; background: #c8380a;
  border-radius: 6px; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 14px;
  font-weight: 700; flex-shrink: 0;
}
.normal-rate-body { padding: 1rem 1.1rem; }
.normal-rate-row {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: 10px; background: #f5f4f0; border-radius: 8px;
  padding: .65rem .9rem; margin-bottom: .65rem;
}
.normal-rate-city { font-size: 15px; font-weight: 700; color: #1a1a1a; }
.normal-rate-cost { font-size: 13px; color: #444; font-weight: 500; }
.normal-rate-cost strong { color: #c8380a; font-weight: 700; }
.normal-rate-note { font-size: 12px; color: #666; line-height: 1.6; }
@media (max-width: 600px) {
  .adtype-chooser { flex-direction: column; }
  .adtype-box { min-width: unset; width: 100%; }
  .normal-rate-row { flex-direction: column; align-items: flex-start; }
  .pkg-num { width: 28px; height: 28px; font-size: 12px; }
}

/* ── Cityrate td alignment ── */
.cityrate-td-top { vertical-align: top; }
.cityrate-td-mid { vertical-align: middle; }

/* ══════════════════════════════════════════════════════════
   PACKAGE LIST — TARGETED FIXES (9 items)
   ══════════════════════════════════════════════════════════ */

/* Fix 1: Package heading different colour */
.pkg-section-title {
  font-size: 15px; font-weight: 700;
  color: #146b9a !important;
  margin-bottom: .9rem; padding-bottom: 6px;
  border-bottom: 1px solid #e2e0d8;
  font-family: 'Segoe UI', system-ui, sans-serif;
  text-transform: uppercase;
}

/* Fix 2: Package description smaller font */
.ad-card-desc {
  font-size: 11px !important;
  color: #444;
  line-height: 1.55;
  font-weight: 400 !important;
  font-family: 'Segoe UI', system-ui, sans-serif;
  margin-bottom: 4px;
}

/* Fix 3: Price tag — only price value in red, rest normal weight */
.pkg-price-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 400 !important;
  border-radius: 6px; padding: 4px 10px; margin-top: 6px;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.pkg-price-tag .price-value {
  color: #c8380a;
  font-weight: 700;
}

/* Fix 4: Select / Book Now button */
a.book {
  display: inline-block;
  background: #146b9a;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  font-family: 'Segoe UI', system-ui, sans-serif;
  transition: background .2s;
}
a.book:hover { background: #0f5278; }

/* Fix 5: Mobile full width for pkg-item */
@media (max-width: 600px) {
  .pkg-item {
    padding: .75rem .75rem;
    gap: 10px;
  }
  .pkg-content { min-width: 0; width: 100%; }
  .ad-card-title { font-size: 12px; }
}

/* Fix 6: pkg-item font family and weight reset */
.pkg-item {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
}
.ad-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  font-family: 'Segoe UI', system-ui, sans-serif;
  margin-bottom: 4px;
}

/* Fix 9: Cityrate table — modern look, uppercase th */
.cityrate {
  width: 100%; border-collapse: collapse;
  font-family: 'Segoe UI', system-ui, sans-serif;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  margin-bottom: 1.25rem;
}
.cityrate thead tr {
  background: #146b9a;
}
.cityrate th {
  background: #146b9a !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 12px 10px;
  border: none !important;
}
.cityrate td {
  border: none !important;
  border-bottom: 1px solid #e2e0d8 !important;
  padding: 10px;
  font-size: 13px;
  color: #444 !important;
  font-weight: 400;
}
.cityrate tbody tr:last-child td { border-bottom: none !important; }
.cityrate tbody tr:hover { background: #f5f4f0; }

/* ══════════════════════════════════════════════════════════
   MOBILE FIX — pkg-item layout override
   Bootstrap col-sm-8/col-sm-4 conflicts with flex on mobile
   ══════════════════════════════════════════════════════════ */
.pkg-item {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: .85rem .9rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Override Bootstrap col widths inside pkg-item on ALL screens */
.pkg-item .col-sm-8,
.pkg-item .col-sm-4 {
  width: auto !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* pkg-content takes all available space */
.pkg-item .pkg-content {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  word-break: break-word !important;
}

/* Button column stays compact */
.pkg-item .col-sm-4 {
  flex-shrink: 0 !important;
  width: auto !important;
}

/* Title should not break word by word */
.ad-card-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  line-height: 1.4 !important;
  margin-bottom: 4px !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  font-family: 'Segoe UI', system-ui, sans-serif !important;
}

/* Price tag must stay on one line */
.pkg-price-tag {
  display: inline-block !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
  margin-top: 6px !important;
  line-height: 1.4 !important;
  font-family: 'Segoe UI', system-ui, sans-serif !important;
}

.pkg-price-tag .price-value {
  color: #c8380a !important;
  font-weight: 700 !important;
}

/* Normal rate table fixes on mobile */
.cityrate-td-top,
.cityrate-td-mid {
  display: block !important;
  width: 100% !important;
}

.normal-rate-city {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-bottom: 4px !important;
}

.normal-rate-cost {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #444 !important;
  line-height: 1.6 !important;
}

.normal-rate-cost .price-value {
  color: #c8380a !important;
  font-weight: 700 !important;
}

@media (max-width: 767px) {
  .pkg-item {
    flex-wrap: nowrap !important;
  }
  .pkg-item .col-sm-8 {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .pkg-item .col-sm-4 {
    flex-shrink: 0 !important;
  }
  .pkg-num {
    flex-shrink: 0 !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }
  a.book {
    font-size: 11px !important;
    padding: 5px 10px !important;
    white-space: nowrap !important;
  }
}

/* ══════════════════════════════════════════════════════════
   CITYRATE TABLE — MOBILE FIX
   Override old inline style that hides thead and blocks td
   ══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* Table renders as normal table not block on mobile */
  .cityrate { display: table !important; width: 100% !important; }
  .cityrate thead { display: table-header-group !important; }
  .cityrate tbody { display: table-row-group !important; }
  .cityrate tr { display: table-row !important; border: none !important; margin: 0 !important; }
  .cityrate td { display: table-cell !important; border-bottom: 1px solid #e2e0d8 !important; padding: 10px 8px !important; font-size: 12px !important; vertical-align: top !important; }
  .cityrate th { padding: 10px 8px !important; font-size: 11px !important; }

  /* Remove the pseudo-element label added by old inline style */
  .cityrate td:before { display: none !important; content: none !important; }

  /* Normal rate city and cost */
  .normal-rate-city { font-size: 13px !important; margin-bottom: 4px !important; }
  .normal-rate-cost { font-size: 12px !important; line-height: 1.5 !important; }
  .normal-rate-note { font-size: 11px !important; }

  /* ── Display edition normal rate pkg-item (no pkg-num) ── */
  .pkg-item.no-num {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    padding: .75rem .85rem !important;
  }
  .pkg-item.no-num .pkg-content {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .pkg-item.no-num .col-sm-8 {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
  }
  .pkg-item.no-num .col-sm-4 {
    flex-shrink: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
  }

  /* pkg-section-title h2/h3 wrapping on mobile */
  .pkg-section-title {
    font-size: 13px !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
  }
}

/* ══════════════════════════════════════════════════════════
   WHY BOOK SECTION
   ══════════════════════════════════════════════════════════ */
.why-book-wrap {
  font-family: 'Segoe UI', system-ui, sans-serif;
  max-width: 980px; margin: 0 auto; padding: 1.25rem 1rem;
}

/* Official Partner Banner */
.official-partner-banner {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #146b9a 0%, #1a56c4 100%);
  border-radius: 10px; padding: 14px 18px; margin-bottom: 1.25rem;
}
.official-partner-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 8px; display: flex;
  align-items: center; justify-content: center;
  font-size: 18px; color: #fff;
}
.official-partner-text { flex: 1; }
.official-partner-text strong {
  display: block; font-size: 14px; font-weight: 700;
  color: #fff; line-height: 1.4;
}
.official-partner-text span {
  font-size: 12px; color: rgba(255,255,255,0.85);
  font-weight: 400;
}
.official-partner-badge {
  flex-shrink: 0; background: #fff;
  color: #146b9a; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  white-space: nowrap; letter-spacing: .03em;
}

/* Stats row */
.why-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 1.25rem;
}
.why-stat-box {
  background: #fff; border: 1px solid #e2e0d8;
  border-radius: 10px; padding: .9rem 1rem; text-align: center;
}
.why-stat-num {
  font-size: 20px; font-weight: 800; color: #c8380a;
  line-height: 1.2; margin-bottom: 3px;
}
.why-stat-label {
  font-size: 11px; color: #666; font-weight: 400; line-height: 1.4;
}

/* Why choose list */
.why-choose-box {
  background: #fff; border: 1px solid #e2e0d8;
  border-radius: 10px; padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
}
.why-choose-title {
  font-size: 15px; font-weight: 700; color: #1a1a1a;
  margin-bottom: .85rem; padding-bottom: 8px;
  border-bottom: 1px solid #e2e0d8;
}
.why-choose-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.why-choose-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: #444; line-height: 1.6;
}
.why-choose-check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: #e4f7ea; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #1a7a3c; font-size: 12px; font-weight: 700;
  margin-top: 1px;
}
.why-choose-item strong { font-weight: 600; color: #1a1a1a; }

/* CTA line */
.why-cta-line {
  font-size: 13px; color: #444; line-height: 1.6;
  padding: .75rem 1rem; background: #f5f4f0;
  border-radius: 8px; margin-bottom: 1.25rem;
}
.why-cta-line strong { font-weight: 600; color: #1a1a1a; }

/* Contact box */
.contact-box {
  background: #fff; border: 1px solid #e2e0d8;
  border-radius: 10px; padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  display: flex; align-items: flex-start;
  gap: 12px; flex-wrap: wrap;
}
.contact-box-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: #fdf5f0; border: 1px solid #f5e8e2;
  border-radius: 8px; display: flex;
  align-items: center; justify-content: center;
  font-size: 18px; color: #c8380a;
}
.contact-box-body { flex: 1; min-width: 0; }
.contact-box-title {
  font-size: 14px; font-weight: 700; color: #1a1a1a;
  margin-bottom: 4px;
}
.contact-box-text { font-size: 13px; color: #444; line-height: 1.6; }
.contact-box-text a { color: #146b9a; font-weight: 600; text-decoration: none; }
.contact-box-text a:hover { text-decoration: underline; }
.contact-phone {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 700; color: #146b9a;
  background: #e8f0fe; border: 1px solid #a8c0f0;
  border-radius: 8px; padding: 5px 14px; margin-top: 6px;
  text-decoration: none;
}
.contact-phone:hover { background: #d0e3fc; }

/* Other newspapers section */
.other-news-wrap {
  background: #fff; border: 1px solid #e2e0d8;
  border-radius: 10px; padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
}
.other-news-title {
  font-size: 15px; font-weight: 700; color: #1a1a1a;
  margin-bottom: .5rem; padding-bottom: 8px;
  border-bottom: 1px solid #e2e0d8;
}
.other-news-sub {
  font-size: 12px; color: #666; margin-bottom: .85rem;
}
.other-news-sub a { color: #146b9a; font-weight: 600; text-decoration: none; }
.other-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}
.other-news-item {
  display: flex; align-items: center; gap: 8px;
  background: #f5f4f0; border: 1px solid #e2e0d8;
  border-radius: 8px; padding: 7px 10px;
  text-decoration: none; transition: border-color .2s, background .2s;
}
.other-news-item:hover {
  border-color: #146b9a; background: #e8f0fe;
}
.other-news-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #c8380a; flex-shrink: 0;
}
.other-news-name {
  font-size: 12px; font-weight: 600; color: #1a1a1a;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .why-stats-row { grid-template-columns: 1fr 1fr; }
  .why-stat-num { font-size: 17px; }
  .official-partner-badge { display: none; }
  .other-news-grid { grid-template-columns: 1fr 1fr; }
  .contact-box { flex-direction: column; gap: 8px; }
}