/* content.css — shared styling for article-style pages on LondonHotel.com */

html, body { margin:0; padding:0; }
body { overflow-x: hidden; }

/* Page wrapper */
main.page {
  display: block;
  padding: 24px 16px;
}

/* Article body */
article.content {
  max-width: 1100px;   /* match homepage container */
  width: 100%;
  margin: 0 auto;
  font-size: 18px;     /* larger text for readability */
  line-height: 1.75;
  color: #111;
}

article.content h1 {
  margin-top:0;
  font-size:2.2rem;
}

article.content h2 {
  margin-top:1.8rem;
  font-size:1.4rem;
}

article.content p {
  margin:0 0 1.2em;
}

.placeholder {
  background:#f3f4f6;
  color:#9ca3af;
  text-align:center;
  padding:20px;
  margin:24px 0;
  border-radius:8px;
}

article.content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* Style inline article links in content pages */
article.content a {
  color: #0056b3;                   /* readable blue */
  text-decoration: none;            /* remove default underline */
  border-bottom: 1px dotted #0056b3;/* dotted underline */
  transition: color 0.2s, border 0.2s;
}

article.content a:hover {
  color: #003d80;                   /* darker blue on hover */
  border-bottom: 1px solid #003d80; /* switch to solid underline */
}
/* Float an image right inside article text */
article.content .float-right {
  float: right;
  max-width: 40%;       /* stops it from being too huge */
  margin: 0 0 1em 1.5em;/* top, right, bottom, left spacing */
  border: 3px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
/* Float an image left inside article text */
article.content .float-left {
  float: left;
  max-width: 40%;        /* keeps it from dominating the page */
  margin: 0 1.5em 1em 0; /* top, right, bottom, left spacing */
  border: 3px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
/* Responsive override for floated images */
@media (max-width: 768px) {
  article.content .float-left,
  article.content .float-right {
    float: none;          /* cancel float */
    display: block;       /* behave like a block */
    max-width: 100%;      /* take full width */
    margin: 1em auto;     /* center it with vertical spacing */
  }
}