* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html,
body {
   width: 1080px;
   margin: 0 auto;
   font-family: 'SolaimanLipi', 'Hind Siliguri', sans-serif;
   background: linear-gradient(135deg, #003366, #000c1f);
   color: #ffffff;
}

.news-wrapper {
   width: 1080px;
   background: #1b294f;
   box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
   margin: 20px auto;
   display: flex;
   flex-direction: column;
   align-items: center;
}

.news-card {
   position: relative;
   width: 1080px;
   height: 1080px;
   display: flex;
   flex-direction: column;
   background: linear-gradient(135deg, #11172c, #1b294f);
}

.image-section {
   position: relative;
   height: 680px;
   background: #222;
   overflow: hidden;
}

.image-section img.top-image {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.no-image-placeholder {
   background: #333;
   width: 100%;
   height: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
}

.no-image-placeholder span {
   color: #fff;
   font-size: 24px;
}

.site-icon {
   position: absolute;
   top: 20px;
   left: 20px;
   /* background: rgba(255, 255, 255, 0.9); */
   padding: 5px 10px;
   max-width: 200px;
   max-height: 60px;
}

.site-icon img {
   width: 100%;
}

.date-badge {
   position: absolute;
   top: 20px;
   right: 20px;
   background: #1e73be;
   color: white;
   padding: 10px 20px;
   font-size: 22px;
   font-weight: bold;
   border-radius: 30px;
   box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.headline-section {
   padding: 20px 50px 10px;
   text-align: center;
   flex: 1;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   position: relative;
}

.headline {
   color: #ffd700;
   font-weight: 800;
   line-height: 1.35;
   text-shadow: 2px 2px 10px #000;
   font-size: 54px;
   word-break: break-word;
   transition: font-size 0.15s ease, transform 0.15s ease, line-height 0.15s ease;
   outline: none;
}

.read-more {
   color: #ffffff;
   font-size: 26px;
   font-weight: 600;
   margin-top: 10px;
}

.down-arrow {
   color: #fff;
   font-size: 36px;
   margin-top: 10px;
}

.footer {
   background: #c1121f;
   color: white;
   font-size: 24px;
   font-weight: 600;
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 10px 30px;
}

.footer .qr {
   height: 60px;
}

.footer .center-text {
   flex: 1;
   text-align: center;
   font-weight: 800;
   color: #fff;
   font-size: 26px;
   position: relative;
}

.footer .center-text::before,
.footer .center-text::after {
   content: '';
   position: absolute;
   height: 4px;
   width: 80%;
   left: 10%;
   bottom: -8px;
   background: #ffd700;
   border-radius: 2px;
}

.footer .socials {
   display: flex;
   gap: 10px;
   align-items: center;
}

.footer .socials i {
   font-size: 22px;
   color: white;
}

.footer .socials span {
   color: #fff;
   font-size: 20px;
}

.download-button {
   margin: 25px 0 10px;
   text-align: center;
}

.download-button button,
.btn-download-main {
   padding: 16px 40px;
   font-size: 22px;
   font-weight: bold;
   color: white;
   background: linear-gradient(135deg, #10b981, #059669);
   border: none;
   border-radius: 12px;
   cursor: pointer;
   box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
   transition: all 0.25s ease;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
}

.download-button button:hover,
.btn-download-main:hover {
   background: linear-gradient(135deg, #059669, #047857);
   transform: translateY(-2px);
   box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

@media print {
   .download-button,
   .photocard-controls {
      display: none !important;
   }
}

.banner_ads {
   width: 100%;
}

.banner_ads img {
   width: 100%;
   max-width: 1080px;
   display: block;
   margin: 0 auto;
}

/* ========================================================
   Photocard Controls Panel Styling (Under the card)
   ======================================================== */
.photocard-controls {
   width: 92%;
   max-width: 560px;
   margin: 20px auto 35px;
   background: #ffffff;
   color: #1f2937;
   border-radius: 14px;
   padding: 16px 20px 18px;
   box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.15);
   font-family: 'Hind Siliguri', 'SolaimanLipi', Arial, sans-serif;
   box-sizing: border-box;
   text-align: center;
}

.controls-header {
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
   padding-bottom: 10px;
   margin-bottom: 15px;
   border-bottom: 1px solid #f1f5f9;
   width: 100%;
}

.controls-title {
   font-size: 16px;
   font-weight: 700;
   color: #1e293b;
   text-align: center;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 6px;
   margin: 0 auto;
}

.btn-reset {
   position: absolute;
   right: 0;
   top: 50%;
   transform: translateY(-50%);
   background: #fef2f2;
   color: #ef4444;
   border: 1px solid #fecaca;
   padding: 4px 10px;
   border-radius: 6px;
   font-size: 12px;
   font-weight: 600;
   cursor: pointer;
   display: inline-flex;
   align-items: center;
   gap: 4px;
   transition: all 0.2s ease;
}

.btn-reset:hover {
   background: #ef4444;
   color: #ffffff;
}

.controls-grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 12px;
   margin-bottom: 16px;
   text-align: left;
}

.control-card {
   background: #f8fafc;
   border: 1px solid #e2e8f0;
   border-radius: 10px;
   padding: 10px 14px;
   display: flex;
   flex-direction: column;
   gap: 8px;
}

.control-label {
   display: flex;
   justify-content: space-between;
   align-items: center;
   font-size: 13.5px;
   font-weight: 700;
   color: #334155;
}

.value-badge {
   background: #e0e7ff;
   color: #4338ca;
   font-weight: 700;
   padding: 2px 8px;
   border-radius: 12px;
   font-size: 12.5px;
   min-width: 46px;
   text-align: center;
}

.control-row {
   display: flex;
   align-items: center;
   gap: 8px;
}

.btn-ctrl {
   background: #2563eb;
   color: #ffffff;
   border: none;
   width: 30px;
   height: 30px;
   min-width: 30px;
   border-radius: 6px;
   font-size: 15px;
   font-weight: bold;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.2s ease;
   user-select: none;
   padding: 0;
}

.btn-ctrl:hover {
   background: #1d4ed8;
   transform: scale(1.05);
}

.btn-ctrl:active {
   transform: scale(0.95);
}

.ctrl-slider {
   flex: 1;
   height: 6px;
   border-radius: 3px;
   background: #cbd5e1;
   outline: none;
   cursor: pointer;
   accent-color: #2563eb;
}

.download-section {
   text-align: center;
   padding-top: 12px;
   border-top: 1px solid #f1f5f9;
}

.btn-download-main {
   padding: 10px 28px;
   font-size: 16px;
   font-weight: 700;
   color: white;
   background: linear-gradient(135deg, #10b981, #059669);
   border: none;
   border-radius: 8px;
   cursor: pointer;
   box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
   transition: all 0.25s ease;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
}

.btn-download-main:hover {
   background: linear-gradient(135deg, #059669, #047857);
   transform: translateY(-2px);
   box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
}

.download-hint {
   margin-top: 8px;
   font-size: 12px;
   color: #64748b;
}

@media (max-width: 600px) {
   .photocard-controls {
      max-width: 95%;
      padding: 14px 16px;
      margin: 15px auto 25px;
   }

   .controls-header {
      flex-direction: column;
      gap: 6px;
   }

   .controls-title {
      font-size: 15px;
   }

   .btn-reset {
      position: static;
      transform: none;
      align-self: center;
   }

   .controls-grid {
      grid-template-columns: 1fr;
      gap: 10px;
   }
}

/* ========================================================
   Admin Download Overlay: Hides photocard from human eyes
   Only shows clean direct download card
   ======================================================== */
.admin-download-overlay {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   width: 100vw;
   height: 100vh;
   background: linear-gradient(135deg, #09122c, #131c38);
   z-index: 999999;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 20px;
   box-sizing: border-box;
   font-family: 'Hind Siliguri', 'SolaimanLipi', Arial, sans-serif;
}

.admin-download-card {
   background: #ffffff;
   color: #1e293b;
   border-radius: 16px;
   padding: 35px 28px;
   max-width: 520px;
   width: 90%;
   text-align: center;
   box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
   box-sizing: border-box;
   border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-download-badge {
   display: inline-block;
   background: #e0e7ff;
   color: #3730a3;
   font-weight: 700;
   font-size: 13px;
   padding: 4px 14px;
   border-radius: 20px;
   margin-bottom: 15px;
}

.admin-download-title {
   font-size: 18px;
   font-weight: 700;
   color: #0f172a;
   line-height: 1.5;
   margin: 0 0 22px;
   border-bottom: 1px solid #f1f5f9;
   padding-bottom: 16px;
}

.admin-download-actions {
   margin-bottom: 15px;
}

.admin-download-note {
   font-size: 13px;
   color: #64748b;
   margin: 0;
}