/* Page reset (optional but helpful) */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;

  background: #f6f9ff;

  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}


/* ===============================
  GRID LAYOUT
  =============================== */
#layout {
  display: grid;

  grid-template-areas:
    "header header"
    "ad1    ad1"
    "main   aside"
    "main   aside-follow-links"
    "ad2    ad2"
    "continue-ad   continue-ad"
    "footer footer";

  grid-template-columns: 8fr 3.5fr;
  align-items: start;

  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}


/* ===============================
  SITE HEADER
  =============================== */
header {
  grid-area: header;
}

#header-logo-nav-holder
{
  display: grid;

  grid-template-areas:
    "header-websitename header-nav header-searchbar";

  grid-template-columns: 1fr 1fr 1fr;
}
.header-box-style{
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
  margin-left: 10px;
}

#header-websitename
{
  grid-area: header-websitename;
}
#header-nav
{
  grid-area: header-nav;

  display: flex;
  place-items: center;
}
#header-searchbar
{
  grid-area: header-searchbar;

  display: grid;
  place-items: center;   /* vertical + horizontal center */

}
/* header logo */
.logo-box {
  width: 40px;
  height: 40px;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* header website name */
#header-websitename {
}
#header-websitename h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;   /* dark readable heading color */
  letter-spacing: 0.3px;
}
#header-websitename p {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;   /* soft muted text */
}

/* header nav */
#header-nav nav
{
  display: flex;
  width: 100%; 
}
#header-nav a{
  flex: 1;
  font-size: 15px;
  color: #0f172a; 
  text-decoration: none;
}
#header-nav a:hover{
  color: #0b5ed7;
}

/* header searchbar input field  */
.header-searchbar-button-wraper
{
  background-color: #459889b1;
  
  display: flex;
  align-items: center;
}
/* Dono ko single box jaisa look do */
.header-searchbar-button-wraper
{
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  background: #fff;
}
.header-searchbar-button-wraper input
{
  border: none;
  outline: none;
  padding: 0px 5px;

  width: 70%;
}
#search-button
{
  width: 30%;
  border: none;
  padding: 8px 10px;
  background: #333;
  color: white;
  cursor: pointer;
  border-radius: 8px;
}
#search-button:hover {
  background-color: #373737b1;
}

/* ===============================
  SITE MAIN AREAS MAIN
  =============================== */
main {
  grid-area: main;
}

/* articles */
.topic-box {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  background: #ffffffd0;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);

  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
  margin-left: 10px;

  padding: 3px 10px;
}
.topic-box h2 {
  font-size: 21px;
  font-weight: 600;
  color: #050a18d4;
}
.topic-box a {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
}
.topic-box a:hover {
  color: #0b5ed7;
}

/* ===============================
  MAIN - PRIVACY POILACY
  =============================== */

  

/* ===============================
  MAIN - TEARM AND CONDITIONS
  =============================== */
.terms-conditions-box
{
  background: #ffffffd0;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);

  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
  margin-left: 10px;

  padding: 3px 10px;
}
.privacy-policy-box h2
{
  font-size: 21px;
  font-weight: 600;
  color: #050a18d4;
}

/* ===============================
  MAIN - ERROR PAGE
  =============================== */
  .video-unavailable-wrapper {
  max-width: 720px;
  margin: 30px auto;
  padding: 30px 20px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

.video-unavailable-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.video-unavailable-message {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* ===============================
  MAIN - CONTACT US
  =============================== */
.simple-form
{
  margin: 30px;
}
.simple-form h1{
  text-align: center;
}
.simple-form input
{
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  width: 100%;
}
.simple-form textarea
{
  box-sizing: border-box;
  min-height: 100px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  width: 100%;
}
.simple-form button {
  cursor: pointer;
  font-size: 15px;
  width: 100%;
  padding: 8px 10px;
  background: #333;
  color: white;
  cursor: pointer;
  border: none;
  border-radius: 8px;
}
.simple-form button:hover {
  background-color: #373737b1;
}

/* ===============================
  MAIN - CONTACT US
  =============================== */
.about-us ul {
  margin: 15px 0 25px 20px;
  padding: 0;
  list-style: none;
}
.about-us ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
  line-height: 1.6;
  font-size: 15px;
  color: #333;
}
.about-us ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #373737b1;
  font-size: 18px;
  line-height: 1;
}



/* ===============================
  AREAS ASIDE
  =============================== */
aside {
  grid-area: aside;
}
/* articles links*/
.aside-article-popular-box
{
  background: #ffffffd0;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);

  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
  margin-left: 10px;

  padding: 3px 10px;
}
.aside-article-popular-box h2 {
  font-size: 21px;
  font-weight: 600;
  color: #050a18d4;
}
.aside-article-popular-box ol {
  padding-left: 18px;   /* number ke liye space */
}
.aside-article-popular-box li {
  margin-top: 10px;
}
.aside-article-popular-box p {
  text-align: center;
}
.aside-article-popular-box a {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
}
.aside-article-popular-box a:hover {
  color: #0b5ed7;
}

/* ===============================
  aside-follow-links
  =============================== */
#aside-follow-links
{
  grid-area: aside-follow-links;

}
/* subscribe - input field */
.aside-subscribe-box {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  background: #ffffffd0;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);

  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
  margin-left: 10px;

  padding: 3px 10px;
}
.aside-subscribe-box input{
  margin-top: 5px;
  margin-bottom: 5px;

  display: block;
  width: 100%;
  height: 30px;
  
  border-radius: 6px;
}
#subscribe-button{
  margin-top: 5px;
  margin-bottom: 5px;

  display: block;
  width: 100%;
  height: 30px;

  background: #0f172a;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  border-radius: 6px;
}
/* Hover effect */
#subscribe-button:hover {
  background-color: #373737b1;
}



#continue-ad
{
  grid-area: continue-ad;
}
/* footer-next-page-link */
.continue-next-page-link
{
  display: flex;
  align-items: center;
  justify-content: center;
}
.continue-next-page-link a
{
  margin-left: 10px;
}

/* ===============================
  AREAS FOOTER
  =============================== */
footer {
  grid-area: footer;

  min-height: 100px;
}
/* main footer layout */
#footer-main {
  display: grid;

  grid-template-areas:
  "footer-basic-info          footer-links                footer-dev-info"
  "footer-lastupdate-info     footer-lastupdate-info      footer-lastupdate-info";

  grid-template-columns: 1fr 1fr 1fr;
}
#footer-basic-info {
  grid-area: footer-basic-info;
}
#footer-links{
  grid-area: footer-links;
}
#footer-dev-info{
  grid-area: footer-dev-info;
}
#footer-lastupdate-info{
  grid-area: footer-lastupdate-info;
}

.footer-box-style{
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
  margin-left: 10px;

  padding: 3px 10px;
}

/* footer-basic-info */
#footer-basic-info h2{
  font-size: 21px;
  font-weight: 600;
  color: #050a18d4;
}
#footer-basic-info p{
  
}
/* Footer links style */
#footer-links h2 {
  font-size: 21px;
  font-weight: 600;
  color: #050a18d4;
}
#footer-links nav a {
  margin-top: 10px;
  margin-bottom: 5px;
  display: block;
  font-size: 15px;
  color: #0f172a;
  text-decoration: none;
}
/* Hover effect (soft) */
#footer-links nav a:hover {
  color: #0b5ed7;
  text-decoration: underline;
}
/* footer-dev-info */
#footer-dev-info h2 {
  font-size: 21px;
  font-weight: 600;
  color: #050a18d4;
}
#footer-dev-info p {

}
/* footer-lastupdate-info */
#footer-lastupdate-info {
  border-top: 2px solid rgba(0, 0, 0, 0.08);
}
/* last update section (subtle look) */
#footer-lastupdate-info p {
  font-size: 13px;
  color: #666;
}



/* ===============================
  AREAS AD
  =============================== */
#ad1 {
  grid-area: ad1;
}
#ad2 {
  grid-area: ad2;
}
#ad3 {}
#ad4 {}
#ad5 {}



/* ===============================
  COMMON AD STYLE, AREAS COMMENT FOR ALL TAGS/ELEMENTS
  =============================== */

.box-style {
  background: #ffffffd0;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);

  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
  margin-left: 10px;
}

.source-note
{
  background: #f5f7fa;
  border-left: 4px solid #0b5ed7;
  padding: 12px 15px;
  margin: 20px 0;
  font-size: 0.95rem;
}
.highlight
{
  font-weight: bold;
}


/* ONLY FOR AD AREAS */
/* =====================================================
   IMPORTANT – AD CONTAINER (DO NOT REMOVE)
   Ye sirf ad ke BOX / jagah ko control karta hai.
   Real ad lagne ke baad bhi ye safe rahega.
   ===================================================== */
  .ad-box {

  /* container positioning */
  margin-top: 10px;
  margin-bottom: 10px;
  
  text-align: center;

  /* safe visuals (optional but OK) */
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 14px 16px;
}

/* =====================================================
   TESTING ONLY – REMOVE FOR REAL ADS
   Ye sirf dummy content (text / label) ke liye hai.
   Real ads iframe ke andar hote hain,
   is CSS ka koi effect nahi padega.
   ===================================================== */
/* fake "ADVERTISEMENT" label */
.ad-label {
  display: block;
  font-size: 11px;
  color: #888;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

/* dummy ad title */
.ad-box strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  color: #111;
}

/* dummy ad text */
.ad-box p {
  margin: 0;
  line-height: 1.5;
  color: #555;
}




/* Tablet default */
/* screen chhoti hui → yeh chalega */
@media (max-width: 850px)
{
  #header-logo-nav-holder
  {
    grid-template-areas:
      "header-websitename header-websitename"
      "header-nav header-searchbar";

    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile default */
/* screen chhoti hui → yeh chalega */
@media (max-width: 750px)
{
  #layout
  {
    grid-template-areas:
      "header header"
      "ad1 ad1"
      "main main"
      "aside aside"
      "aside-follow-links aside-follow-links"
      "ad2 ad2"
      "continue-ad  continue-ad"
      "footer footer";

    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile default */
/* screen chhoti hui → yeh chalega */
@media (max-width: 650px)
{
  #layout
  {
    grid-template-areas:
      "header"
      "ad1"
      "main"
      "aside"
      "aside-follow-links"
      "ad2"
      "continue-ad"
      "footer";

    grid-template-columns: 1fr;
  }

  #header-logo-nav-holder
  {
    grid-template-areas:
      "header-websitename"
      "header-nav"
      "header-searchbar";

    grid-template-columns: 1fr;
  }

  #footer-main 
  {
    grid-template-areas:
      "footer-basic-info"
      "footer-links"
      "footer-dev-info"
      "footer-lastupdate-info";

    grid-template-columns: 1fr;
  }
  
}