body {
  margin: 0;
  padding: 0;
  height: 100vh;
  max-height: 400px;
  overflow: hidden;
}

.content-landscape {
  width: 100vw;
  height: 100% !important;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
}

.section-landscape {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  min-height: 100%;
  padding: 20px;
  border-right: 1px solid #eee;
  background-color: #fff;
  overflow-y: auto;
  flex-shrink: 0;
  box-sizing: border-box;
  gap: 10px;
}

.search-ad-section-landscape h2 {
  align-items: center;
  justify-content: center;
}

.section-landscape h2 {
  background-color: #fff;
  display: flex;
  transition: all 0.3s;
  margin: 0;
  padding: 0;
}

.search-ad-section-landscape {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-container-landscape {
  display: flex;
  gap: 8px;
  width: 100%;
}

.search-input-landscape {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  outline: none;
}

.search-input-landscape:focus {
  border-color: #007bff;
}

.search-button-landscape {
  padding: 12px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
}

.search-button-landscape:hover {
  background-color: #0056b3;
}

.ad-section-landscape {
  display: flex;
  flex-direction: column;
}

.ad-placeholder-landscape {
  width: 100%;
  height: 300px;
  background-color: #f5f5f5;
  border: 2px dashed #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-weight: bold;
  font-size: 0.8rem;
}

.search-ad-placeholder-landscape {
  width: 100%;
  height: 200px;
  background-color: #f5f5f5;
  border: 2px dashed #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-weight: bold;
  font-size: 0.8rem;
}

.rankings-section-landscape {
  /* Grid container styling handled by parent */
  height: 100%;
}

.tabs-landscape {
  display: flex;
  border-bottom: 2px solid #eee;
  margin-bottom: 10px;
}

.tab-button-landscape {
  flex: 1;
  padding: 12px 20px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 2px solid transparent;
}

.tab-button-landscape.active {
  color: #007bff;
  border-bottom-color: #007bff;
  background-color: #f8f9fa;
}

.tab-button-landscape:hover {
  color: #007bff;
  background-color: #f8f9fa;
}

.tab-content-landscape {
  position: relative;
}

.tab-panel-landscape {
  display: none;
}

.tab-panel-landscape.active {
  display: block;
}

.app-grid-landscape {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  height: calc(100% - 40px); /* Account for tabs height */
  width: 100%;
}

.app-item-landscape {
  display: flex;
  align-items: center;
  padding: 4px;
  background-color: #f8f9fa;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  border: 1px solid #eee;
  width: 100%;
  box-sizing: border-box;
}

.app-item-landscape:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.app-rank {
  font-size: 1.2rem;
  font-weight: bold;
  color: #666;
  min-width: 30px;
  text-align: center;
}

.app-icon-landscape {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  margin-right: 15px;
  object-fit: cover;
}

.app-info-landscape {
  flex: 1;
}

.app-title-landscape {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
  line-height: 1.2;
}

.app-developer-landscape {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 4px;
}

.app-category-landscape {
  font-size: 0.75rem;
  color: #999;
}

.app-rating-landscape {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #666;
  margin-top: 4px;
}

.rating-star {
  color: #ffa500;
}

.editors-section-landscape {
  height: 100%;
  max-height: 100%;
  max-width: 300px;
}

.editors-title-landscape {
  font-size: 1.3rem;
  margin-bottom: 10px;
  margin-top: 0;
  padding: 0;
  color: #333;
  font-weight: 600;
}

.editors-grid-landscape {
  display: grid;
  height: calc(100% - 50px);
  grid-template-rows: 50% 50%;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.editor-app-landscape {
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  border: 1px solid #eee;
  height: 100%;
  box-sizing: border-box;
}

.editor-app-landscape:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.editor-app-icon-landscape {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.editor-app-info-landscape {
  padding: 0;
  margin: 0;
}

.editor-app-title-landscape {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.2;
}

.editor-app-rating-landscape {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #666;
}

.footer-landscape {
  max-width: 500px;
  width: 50%;
}

.footer-content-landscape {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-section-landscape {
  flex: 1;
}

.footer-section-landscape h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  padding: 0;
}

.footer-section-landscape p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

.footer-section-landscape p:last-child {
  margin-bottom: 0;
}
