/* ── Ar-Rahman Publications & Islamic Knowledge Hub Styles ── */

.arh-publications-page {
   width: 100%;
   background: #FDFCF8;
   color: #2D3748;
   font-family: "Hind Siliguri", "Barlow", -apple-system, BlinkMacSystemFont, sans-serif;
   line-height: 1.6;
}

/* ── Hero Section ── */
.arh-pub-hero {
   background: linear-gradient(135deg, #122C24 0%, #1A3E33 100%);
   color: #ffffff;
   padding: 44px 20px 48px;
   position: relative;
   overflow: hidden;
   border-bottom: 3px solid var(--arh-primary, #BAA35D);
}

.arh-pub-hero::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: radial-gradient(circle at 80% 20%, rgba(186, 163, 93, 0.15) 0%, transparent 60%);
   pointer-events: none;
}

.arh-pub-hero__container {
   max-width: 1160px;
   margin: 0 auto;
   position: relative;
   z-index: 1;
}

.arh-pub-hero__content {
   text-align: center;
   max-width: 800px;
   margin: 0 auto;
}

.arh-pub-hero__eyebrow {
   display: inline-block;
   background: rgba(186, 163, 93, 0.18);
   color: #E2CF88;
   border: 1px solid rgba(186, 163, 93, 0.4);
   padding: 4px 14px;
   border-radius: 20px;
   font-size: 13px;
   font-weight: 600;
   margin-bottom: 14px;
   letter-spacing: 0.03em;
}

.arh-pub-hero__title {
   font-family: "Prata", "Hind Siliguri", Georgia, serif;
   font-size: clamp(24px, 4.5vw, 36px);
   color: #ffffff;
   margin: 0 0 14px;
   line-height: 1.3;
   font-weight: 700;
}

.arh-pub-hero__subtitle {
   font-size: clamp(14px, 2vw, 16.5px);
   color: #D1DCD5;
   margin: 0 auto 28px;
   max-width: 720px;
   line-height: 1.65;
}

.arh-pub-hero__stats {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 16px;
   flex-wrap: wrap;
   background: rgba(255, 255, 255, 0.06);
   border: 1px solid rgba(255, 255, 255, 0.12);
   padding: 12px 20px;
   border-radius: 12px;
   max-width: 600px;
   margin: 0 auto;
}

.arh-pub-stat {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 2px;
}

.arh-pub-stat__num {
   font-family: "Barlow", "Hind Siliguri", sans-serif;
   font-size: 20px;
   font-weight: 700;
   color: var(--arh-primary, #BAA35D);
   line-height: 1.1;
}

.arh-pub-stat__label {
   font-size: 12px;
   color: #E2ECE5;
}

.arh-pub-stat__sep {
   width: 1px;
   height: 28px;
   background: rgba(255, 255, 255, 0.15);
}

/* ── Main Section ── */
.arh-pub-main-section {
   padding: 40px 20px 60px;
   max-width: 1200px;
   margin: 0 auto;
}

/* ── Featured Publication Card ── */
.arh-pub-featured-card {
   display: grid;
   grid-template-columns: 1fr;
   gap: 24px;
   background: #ffffff;
   border: 1.5px solid #E6DEC9;
   border-radius: 16px;
   padding: 24px;
   margin-bottom: 40px;
   box-shadow: 0 10px 30px rgba(18, 44, 36, 0.06);
   align-items: center;
}

@media(min-width: 768px) {
   .arh-pub-featured-card {
      grid-template-columns: 240px 1fr;
      padding: 30px;
      gap: 32px;
   }
}

.arh-pub-book-cover {
   width: 100%;
   max-width: 220px;
   aspect-ratio: 3/4;
   background: linear-gradient(135deg, #122C24 0%, #1c4538 100%);
   border: 2px solid var(--arh-primary, #BAA35D);
   border-radius: 12px;
   box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), inset 4px 0 0 rgba(255, 255, 255, 0.15);
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto;
   padding: 16px;
   box-sizing: border-box;
   position: relative;
}

.arh-pub-book-cover__inner {
   border: 1px dashed rgba(186, 163, 93, 0.45);
   border-radius: 8px;
   width: 100%;
   height: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   padding: 12px 8px;
   text-align: center;
   color: #ffffff;
}

.arh-pub-book-cover__icon {
   font-size: 28px;
   margin-bottom: 6px;
}

.arh-pub-book-cover__title {
   font-family: "Hind Siliguri", "Prata", serif;
   font-size: 13.5px;
   font-weight: 700;
   color: #E2CF88;
   line-height: 1.35;
   margin: 0 0 6px;
}

.arh-pub-book-cover__author {
   font-size: 10.5px;
   color: #D1DCD5;
   opacity: 0.85;
}

.arh-pub-book-cover__stamp {
   display: inline-block;
   margin-top: 8px;
   font-size: 9.5px;
   background: rgba(186, 163, 93, 0.25);
   color: #ffffff;
   padding: 1px 6px;
   border-radius: 4px;
}

.arh-pub-card__meta-top {
   display: flex;
   align-items: center;
   gap: 10px;
   margin-bottom: 10px;
   flex-wrap: wrap;
}

.arh-pub-badge {
   font-size: 11.5px;
   font-weight: 700;
   padding: 3px 10px;
   border-radius: 6px;
   text-transform: uppercase;
   letter-spacing: 0.03em;
}

.arh-pub-badge--featured {
   background: var(--arh-primary, #BAA35D);
   color: #ffffff;
}

.arh-pub-badge--pdf {
   background: #FEE2E2;
   color: #991B1B;
   border: 1px solid #FECACA;
}

.arh-pub-badge--article {
   background: #FEF3C7;
   color: #92400E;
   border: 1px solid #FDE68A;
}

.arh-pub-badge--journal {
   background: #D1FAE5;
   color: #065F46;
   border: 1px solid #A7F3D0;
}

.arh-pub-meta-chip {
   font-size: 12px;
   color: #64748B;
   background: #F1F5F9;
   padding: 2px 8px;
   border-radius: 4px;
}

.arh-pub-featured-card__title {
   font-family: "Prata", "Hind Siliguri", serif;
   font-size: clamp(18px, 3vw, 24px);
   color: var(--arh-secondary, #122C24);
   margin: 0 0 10px;
   line-height: 1.35;
}

.arh-pub-card__author {
   display: flex;
   align-items: center;
   gap: 6px;
   font-size: 13.5px;
   color: #4A5568;
   margin: 0 0 12px;
   font-weight: 600;
}

.arh-pub-card__author svg {
   color: var(--arh-primary, #BAA35D);
   flex-shrink: 0;
}

.arh-pub-featured-card__desc {
   font-size: 14.5px;
   color: #4A5568;
   margin: 0 0 20px;
   line-height: 1.65;
}

.arh-pub-featured-card__actions {
   display: flex;
   gap: 12px;
   flex-wrap: wrap;
}

/* ── Buttons ── */
.arh-pub-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   padding: 10px 20px;
   font-size: 14px;
   font-weight: 700;
   border-radius: 8px;
   cursor: pointer;
   text-decoration: none;
   transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
   border: 1.5px solid transparent;
   font-family: "Hind Siliguri", "Barlow", sans-serif;
}

.arh-pub-btn--primary {
   background: var(--arh-secondary, #122C24);
   color: #ffffff;
   border-color: var(--arh-secondary, #122C24);
}

.arh-pub-btn--primary:hover {
   background: var(--arh-primary, #BAA35D);
   border-color: var(--arh-primary, #BAA35D);
   color: #ffffff;
   transform: translateY(-2px);
   box-shadow: 0 6px 16px rgba(18, 44, 36, 0.2);
}

.arh-pub-btn--outline {
   background: transparent;
   color: var(--arh-secondary, #122C24);
   border-color: #CBD5E1;
}

.arh-pub-btn--outline:hover {
   background: #F8FAFC;
   border-color: var(--arh-secondary, #122C24);
   color: var(--arh-secondary, #122C24);
}

.arh-pub-btn--whatsapp {
   background: #25D366;
   color: #ffffff;
   border-color: #25D366;
}

.arh-pub-btn--whatsapp:hover {
   background: #1EBE5D;
   color: #ffffff;
   transform: translateY(-2px);
   box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.arh-pub-btn--contact {
   background: #ffffff;
   color: var(--arh-secondary, #122C24);
   border-color: #CBD5E1;
}

.arh-pub-btn--contact:hover {
   background: #FAF8F3;
   border-color: var(--arh-primary, #BAA35D);
   color: var(--arh-primary, #BAA35D);
}

/* ── Filter Controls & Search ── */
.arh-pub-controls {
   display: flex;
   flex-direction: column;
   gap: 16px;
   margin-bottom: 32px;
}

@media(min-width: 860px) {
   .arh-pub-controls {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
   }
}

.arh-pub-filters {
   display: flex;
   gap: 8px;
   overflow-x: auto;
   padding-bottom: 6px;
   scrollbar-width: thin;
   -webkit-overflow-scrolling: touch;
}

.arh-pub-filter-btn {
   background: #ffffff;
   border: 1.5px solid #E2E8F0;
   color: #475569;
   padding: 8px 16px;
   border-radius: 20px;
   font-size: 13.5px;
   font-weight: 600;
   cursor: pointer;
   white-space: nowrap;
   transition: all 0.2s ease;
   font-family: inherit;
}

.arh-pub-filter-btn:hover {
   border-color: var(--arh-primary, #BAA35D);
   color: var(--arh-secondary, #122C24);
}

.arh-pub-filter-btn.is-active {
   background: var(--arh-secondary, #122C24);
   border-color: var(--arh-secondary, #122C24);
   color: #ffffff;
   box-shadow: 0 4px 12px rgba(18, 44, 36, 0.15);
}

.arh-pub-search {
   position: relative;
   min-width: 260px;
}

.arh-pub-search__icon {
   position: absolute;
   left: 12px;
   top: 50%;
   transform: translateY(-50%);
   color: #94A3B8;
   pointer-events: none;
}

.arh-pub-search__input {
   width: 100%;
   box-sizing: border-box;
   padding: 9px 36px 9px 38px;
   border: 1.5px solid #E2E8F0;
   border-radius: 20px;
   font-size: 14px;
   font-family: inherit;
   background: #ffffff;
   transition: border-color 0.2s, box-shadow 0.2s;
}

.arh-pub-search__input:focus {
   outline: none;
   border-color: var(--arh-primary, #BAA35D);
   box-shadow: 0 0 0 3px rgba(186, 163, 93, 0.15);
}

.arh-pub-search__clear {
   position: absolute;
   right: 12px;
   top: 50%;
   transform: translateY(-50%);
   background: none;
   border: none;
   font-size: 18px;
   color: #94A3B8;
   cursor: pointer;
   line-height: 1;
}

/* ── Publications Grid ── */
.arh-pub-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 24px;
}

@media(min-width: 640px) {
   .arh-pub-grid {
      grid-template-columns: repeat(2, 1fr);
   }
}

@media(min-width: 1024px) {
   .arh-pub-grid {
      grid-template-columns: repeat(3, 1fr);
   }
}

.arh-pub-card {
   background: #ffffff;
   border: 1.5px solid #EAE5D8;
   border-radius: 14px;
   padding: 22px;
   display: flex;
   flex-direction: column;
   transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
   position: relative;
}

.arh-pub-card:hover {
   transform: translateY(-4px);
   box-shadow: 0 12px 28px rgba(18, 44, 36, 0.08);
   border-color: var(--arh-primary, #BAA35D);
}

.arh-pub-card__header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 12px;
}

.arh-pub-card__date {
   font-size: 12px;
   color: #94A3B8;
   font-weight: 500;
}

.arh-pub-card__title {
   font-family: "Hind Siliguri", "Prata", serif;
   font-size: 17px;
   font-weight: 700;
   line-height: 1.4;
   margin: 0 0 8px;
   color: var(--arh-secondary, #122C24);
}

.arh-pub-card__title a {
   color: inherit;
   text-decoration: none;
   transition: color 0.2s;
}

.arh-pub-card__title a:hover {
   color: var(--arh-primary, #BAA35D);
}

.arh-pub-card__desc {
   font-size: 13.5px;
   color: #4A5568;
   line-height: 1.6;
   margin: 0 0 18px;
   flex-grow: 1;
}

.arh-pub-card__footer {
   display: flex;
   align-items: center;
   justify-content: space-between;
   border-top: 1px solid #F1ECE1;
   padding-top: 14px;
   margin-top: auto;
   gap: 8px;
}

.arh-pub-card__meta {
   font-size: 12px;
   color: #64748B;
   font-weight: 500;
}

.arh-pub-card__actions {
   display: flex;
   gap: 6px;
}

.arh-pub-card__action-btn {
   display: inline-flex;
   align-items: center;
   gap: 4px;
   background: #F8FAFC;
   border: 1px solid #E2E8F0;
   color: var(--arh-secondary, #122C24);
   padding: 6px 10px;
   border-radius: 6px;
   font-size: 12px;
   font-weight: 700;
   cursor: pointer;
   text-decoration: none;
   transition: all 0.2s ease;
   font-family: inherit;
}

.arh-pub-card__action-btn:hover {
   background: var(--arh-secondary, #122C24);
   color: #ffffff;
   border-color: var(--arh-secondary, #122C24);
}

.arh-pub-card__action-btn--download:hover {
   background: var(--arh-primary, #BAA35D);
   border-color: var(--arh-primary, #BAA35D);
   color: #ffffff;
}

/* ── No Results State ── */
.arh-pub-no-results {
   text-align: center;
   padding: 60px 20px;
   background: #ffffff;
   border: 1px dashed #CBD5E1;
   border-radius: 12px;
   margin: 20px 0;
}

.arh-pub-no-results__icon {
   font-size: 40px;
   display: block;
   margin-bottom: 12px;
}

.arh-pub-no-results h3 {
   font-size: 18px;
   color: var(--arh-secondary, #122C24);
   margin: 0 0 6px;
}

.arh-pub-no-results p {
   color: #64748B;
   font-size: 14px;
   margin: 0;
}

/* ── Callout Box ── */
.arh-pub-callout {
   background: linear-gradient(135deg, #FAF7EE 0%, #F5EFE0 100%);
   border: 1.5px solid #E5DEC9;
   border-radius: 16px;
   padding: 30px;
   margin-top: 50px;
   display: flex;
   flex-direction: column;
   gap: 20px;
   align-items: flex-start;
}

@media(min-width: 860px) {
   .arh-pub-callout {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
   }
}

.arh-pub-callout__badge {
   display: inline-block;
   background: var(--arh-primary, #BAA35D);
   color: #ffffff;
   font-size: 11.5px;
   font-weight: 700;
   padding: 2px 10px;
   border-radius: 4px;
   margin-bottom: 8px;
}

.arh-pub-callout__title {
   font-size: 20px;
   color: var(--arh-secondary, #122C24);
   margin: 0 0 6px;
   font-family: "Hind Siliguri", "Prata", serif;
}

.arh-pub-callout__desc {
   font-size: 14px;
   color: #4A5568;
   margin: 0;
   max-width: 600px;
}

.arh-pub-callout__actions {
   display: flex;
   gap: 12px;
   flex-wrap: wrap;
}

/* ── Modal Reader ── */
.arh-pub-modal {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   z-index: 99999;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 20px;
   box-sizing: border-box;
}

.arh-pub-modal__overlay {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: rgba(0, 0, 0, 0.65);
   backdrop-filter: blur(4px);
}

.arh-pub-modal__dialog {
   position: relative;
   background: #ffffff;
   border-radius: 16px;
   width: 100%;
   max-width: 680px;
   max-height: 85vh;
   display: flex;
   flex-direction: column;
   box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
   border: 1.5px solid #E6DEC9;
   overflow: hidden;
   animation: arhPubModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes arhPubModalIn {
   from { opacity: 0; transform: scale(0.94) translateY(12px); }
   to { opacity: 1; transform: scale(1) translateY(0); }
}

.arh-pub-modal__header {
   padding: 18px 24px;
   border-bottom: 1px solid #F1EDE2;
   display: flex;
   align-items: center;
   justify-content: space-between;
   background: #FAF8F3;
}

.arh-pub-modal__header-meta {
   display: flex;
   align-items: center;
   gap: 10px;
}

.arh-pub-modal__close {
   background: none;
   border: none;
   font-size: 24px;
   color: #64748B;
   cursor: pointer;
   line-height: 1;
   padding: 4px;
   transition: color 0.2s;
}

.arh-pub-modal__close:hover {
   color: #0F172A;
}

.arh-pub-modal__body {
   padding: 24px;
   overflow-y: auto;
   flex-grow: 1;
}

.arh-pub-modal__title {
   font-family: "Prata", "Hind Siliguri", serif;
   font-size: 22px;
   color: var(--arh-secondary, #122C24);
   margin: 0 0 10px;
   line-height: 1.35;
}

.arh-pub-modal__divider {
   height: 1px;
   background: #EAE5D8;
   margin: 16px 0;
}

.arh-pub-modal__text {
   font-size: 15px;
   color: #334155;
   line-height: 1.8;
}

.arh-pub-modal__text h1,
.arh-pub-modal__text h2,
.arh-pub-modal__text h3,
.arh-pub-modal__text h4,
.arh-pub-modal__text h5,
.arh-pub-modal__text h6 {
   color: var(--arh-secondary, #122C24);
   margin: 1.2em 0 0.5em;
   line-height: 1.35;
   font-family: "Hind Siliguri", "Prata", serif;
   font-weight: 700;
}

.arh-pub-modal__text h1 { font-size: 22px; }
.arh-pub-modal__text h2 { font-size: 19px; }
.arh-pub-modal__text h3 { font-size: 17px; }

.arh-pub-modal__text p {
   margin: 0 0 1em;
   line-height: 1.8;
}

.arh-pub-modal__text ul,
.arh-pub-modal__text ol {
   padding-left: 1.4em;
   margin: 0 0 1em;
}

.arh-pub-modal__text li {
   margin-bottom: 0.4em;
}

.arh-pub-modal__text blockquote {
   border-left: 4px solid var(--arh-primary, #BAA35D);
   margin: 1.2em 0;
   padding: 12px 18px;
   background: #FAF8F3;
   border-radius: 0 8px 8px 0;
   font-style: italic;
}

.arh-pub-modal__text img {
   max-width: 100%;
   height: auto;
   border-radius: 8px;
   margin: 1em 0;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.arh-pub-modal__text .wp-block-buttons {
   display: flex;
   gap: 12px;
   margin: 1.5em 0;
   flex-wrap: wrap;
}

.arh-pub-modal__text .wp-block-button__link {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: var(--arh-secondary, #122C24);
   color: #ffffff;
   padding: 10px 20px;
   border-radius: 8px;
   text-decoration: none;
   font-weight: 700;
   font-size: 14px;
   transition: background 0.2s, transform 0.2s;
}

.arh-pub-modal__text .wp-block-button__link:hover {
   background: var(--arh-primary, #BAA35D);
   color: #ffffff;
   transform: translateY(-1px);
}

.arh-pub-modal__footer {
   padding: 16px 24px;
   border-top: 1px solid #F1EDE2;
   background: #FAF8F3;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 12px;
   flex-wrap: wrap;
}

.arh-pub-modal__actions {
   display: flex;
   gap: 10px;
}

/* ── Book Cover Image Styles ── */
.arh-pub-book-cover--has-img {
   background: transparent !important;
   border: none !important;
   box-shadow: none !important;
   padding: 0 !important;
   overflow: hidden;
}

.arh-pub-book-cover__img {
   width: 100%;
   height: 100%;
   max-height: 280px;
   object-fit: cover;
   border-radius: 10px;
   box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(0, 0, 0, 0.12);
   border: 1px solid rgba(186, 163, 93, 0.35);
   transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
   display: block;
}

.arh-pub-featured-card:hover .arh-pub-book-cover__img {
   transform: translateY(-2px) scale(1.02);
   box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

/* ── Grid Card Cover Thumbnail ── */
.arh-pub-card__cover-thumb {
   width: calc(100% + 44px);
   height: 180px;
   overflow: hidden;
   border-radius: 12px 12px 0 0;
   margin: -22px -22px 16px -22px;
   background: #F1F5F9;
   position: relative;
   border-bottom: 1.5px solid #EAE5D8;
}

.arh-pub-card__cover-thumb a {
   display: block;
   width: 100%;
   height: 100%;
}

.arh-pub-card__cover-img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.arh-pub-card:hover .arh-pub-card__cover-img {
   transform: scale(1.05);
}

/* ── Modal Cover Thumbnail ── */
.arh-pub-modal__cover {
   text-align: center;
   margin-bottom: 18px;
}

.arh-pub-modal__cover-img {
   max-width: 200px;
   max-height: 260px;
   object-fit: cover;
   border-radius: 10px;
   box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
   border: 1px solid rgba(186, 163, 93, 0.3);
}

/* ── Dedicated Shared Full-Width Reader Showcase Styles ── */
.arh-pub-shared-reader {
   width: 100%;
   background: #ffffff;
   border: 2px solid var(--arh-primary, #BAA35D);
   border-radius: 16px;
   padding: 28px 32px;
   margin-bottom: 36px;
   box-shadow: 0 16px 40px rgba(18, 44, 36, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
   box-sizing: border-box;
   animation: arhPubSlideIn 0.35s ease;
}

@keyframes arhPubSlideIn {
   from { opacity: 0; transform: translateY(-10px); }
   to { opacity: 1; transform: translateY(0); }
}

.arh-pub-shared-reader__header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   flex-wrap: wrap;
   gap: 14px;
   padding-bottom: 16px;
   border-bottom: 1px solid #F1EDE2;
   margin-bottom: 24px;
}

.arh-pub-shared-reader__meta {
   display: flex;
   align-items: center;
   gap: 10px;
   flex-wrap: wrap;
}

.arh-pub-shared-reader__tools {
   display: flex;
   align-items: center;
   gap: 12px;
}

.arh-pub-font-scale {
   display: inline-flex;
   background: #F8FAFC;
   border: 1px solid #E2E8F0;
   border-radius: 8px;
   padding: 2px;
}

.arh-pub-font-btn {
   background: transparent;
   border: none;
   color: var(--arh-secondary, #122C24);
   padding: 4px 10px;
   font-size: 13px;
   font-weight: 700;
   cursor: pointer;
   border-radius: 6px;
   transition: background 0.2s, color 0.2s;
}

.arh-pub-font-btn:hover {
   background: var(--arh-secondary, #122C24);
   color: #ffffff;
}

.arh-pub-shared-reader__close {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   background: #FEF2F2;
   border: 1px solid #FCA5A5;
   color: #991B1B;
   padding: 6px 14px;
   border-radius: 8px;
   font-size: 13px;
   font-weight: 700;
   cursor: pointer;
   transition: all 0.2s ease;
   font-family: inherit;
}

.arh-pub-shared-reader__close:hover {
   background: #DC2626;
   border-color: #DC2626;
   color: #ffffff;
}

.arh-pub-shared-reader__title {
   font-family: "Prata", "Hind Siliguri", serif;
   font-size: clamp(20px, 3.5vw, 26px);
   color: var(--arh-secondary, #122C24);
   margin: 0 0 10px;
   line-height: 1.35;
}

.arh-pub-shared-reader__cover {
   margin-bottom: 20px;
   text-align: center;
}

.arh-pub-shared-reader__cover-img {
   max-width: 220px;
   max-height: 280px;
   object-fit: cover;
   border-radius: 12px;
   box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
   border: 1.5px solid rgba(186, 163, 93, 0.4);
}

.arh-pub-shared-reader__divider {
   height: 1px;
   background: #EAE5D8;
   margin: 20px 0;
}

.arh-pub-shared-reader__content {
   font-size: 17px;
   color: #2D3748;
   line-height: 1.85;
   max-width: 820px;
   margin: 0 auto;
   padding: 24px 28px;
   background: #FAF8F3;
   border-radius: 12px;
   border: 1px solid #EAE5D8;
   box-sizing: border-box;
   transition: font-size 0.2s ease;
}

.arh-pub-shared-reader__footer {
   margin-top: 24px;
   padding-top: 18px;
   border-top: 1px solid #F1EDE2;
   display: flex;
   justify-content: flex-end;
}

.arh-pub-shared-reader__actions {
   display: flex;
   gap: 12px;
   flex-wrap: wrap;
}

/* Active card highlight state */
.arh-pub-card.is-reading,
.arh-pub-featured-card.is-reading {
   border-color: var(--arh-primary, #BAA35D) !important;
   box-shadow: 0 0 0 3px rgba(186, 163, 93, 0.3), 0 12px 28px rgba(18, 44, 36, 0.12) !important;
   background: #FAF8F3 !important;
}
