/* === GLOBAL STYLES === */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: #fff;
  color: #222;
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0;
}

p {
  font-weight: 400;
  margin-bottom: 1em;
}

a {
  color: #0073e6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === HEADER === */
header {
  background: #000;
  color: #fff;
  padding: 15px 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  height: 70px; /* bigger on desktop */
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .logo {
    height: 50px; /* smaller on mobile */
  }
}

nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

/* === LAYOUT CONTAINERS === */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.hero {
  text-align: center;
  margin-bottom: 50px;
}

.hero img {
  max-width: 100%;
  height: auto;
  border: 1px solid #eee;
}

/* === CARTOON GRID === */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
  gap: 30px;
}

.cartoon {
  border: 1px solid #eee;
  padding: 15px;
  background: #fafafa;
}

.cartoon img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

/* === LICENSE DROPDOWN === */
.license-container {
  position: relative;
  display: inline-block;
  margin-top: 12px;
}

.license-btn {
  background-color: #000;
  color: #fff;
  padding: 8px 14px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 500;
}

.license-btn:hover {
  background-color: #444;
}

.license-dropdown {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 260px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.15);
  padding: 12px;
  z-index: 1;
  border-radius: 4px;
}

.license-dropdown p {
  font-size: 13px;
  margin: 0 0 8px;
  color: #333;
}

.license-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 6px;
}

.license-option a {
  background: #000;
  color: #fff;
  padding: 4px 8px;
  text-decoration: none;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
}

.license-option a:hover {
  background: #444;
}

.license-more {
  font-size: 12px;
  margin-top: 8px;
}

.license-more a {
  color: #0073e6;
  text-decoration: none;
}

.license-more a:hover {
  text-decoration: underline;
}

/* === CONTACT PAGE BUTTON === */
.email-btn {
  background-color: #000;
  color: #fff;
  padding: 10px 18px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

.email-btn:hover {
  background-color: #444;
}

/* === FOOTER === */
footer {
  background: #111;
  color: #eee;
  padding: 40px 20px 20px;
  font-size: 0.95em;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto 20px;
  gap: 40px;
}

.footer-inner h3 {
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.footer-inner p {
  margin: 0;
  line-height: 1.5;
}

.footer-links ul,
.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-social li {
  margin-bottom: 6px;
}

.footer-links a,
.footer-social a {
  color: #ccc;
  text-decoration: none;
}

.footer-links a:hover,
.footer-social a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85em;
  color: #777;
  border-top: 1px solid #333;
  padding-top: 10px;
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
  }
}

/* === PAGINATION === */
.pagination {
  text-align: center;
  margin-top: 40px;
}

.pagination a {
  margin: 0 10px;
  color: #0073e6;
  text-decoration: none;
}

.pagination a:hover {
  text-decoration: underline;
}

.disabled-link {
  margin: 0 10px;
  color: #aaa;
  cursor: default;
  text-decoration: none;
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* === IMAGE PROTECTION === */
.image-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 5;
  pointer-events: none;
}