/* ==========================================================================
   WEBSITES PAGE STYLES
   Extracted from main style.css for modular architecture
   Nuclear grid fixes with ultra high specificity for reliable layout
   ========================================================================== */

/* ==========================================================================
   RESPONSIVE SITE TITLE POSITIONING
   Fix site title positioning at mobile breakpoints
   ========================================================================== */

@media (max-width: 768px) {
  .page-template-page-websites .site-title {
    top: 20px !important;
    left: 20px !important;
    position: fixed !important;
  }
}



/* ==========================================================================
   WEBSITES RESPONSIVE LAYOUT SUPPORT
   Additional responsive fixes for websites-2x2-grid container
   ========================================================================== */

/* Ensure website cards never overflow container */
body .website-card-2x2,
html body .website-card-2x2,
.site .website-card-2x2,
#page .website-card-2x2 {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  /* Remove min-width that causes overflow */
}

/* Force stable card sizing inside websites page containers */
body.page-template-page-websites .websites-2x2-grid,
body.page-template-page-websites .dashboard-gallery-grid {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

body.page-template-page-websites .websites-2x2-grid>* {
  min-width: 0 !important;
  max-width: 100% !important;
}

/* Backup responsive rules in case inline CSS fails */
@media (max-width: 900px) {
  .page-template-page-websites .websites-2x2-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    max-width: 600px !important;
    margin: 30px auto !important;
    padding: 0 15px !important;
  }

  body.page-template-page-websites .dashboard-section {
    padding: 24px 18px !important;
  }
}

@media (max-width: 550px) {
  .page-template-page-websites .websites-2x2-grid {
    gap: 15px !important;
    padding: 0 8px !important;
    margin: 16px auto !important;
  }

  .page-template-page-websites .website-card-2x2 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    min-height: 320px !important;
    aspect-ratio: auto !important;
  }

  body.page-template-page-websites .dashboard-content {
    padding: 8px !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.page-template-page-websites .dashboard-section {
    padding: 18px 12px !important;
    margin: 0 !important;
    overflow-x: hidden !important;
  }

  body.page-template-page-websites .card-info {
    padding: 14px !important;
  }

  body.page-template-page-websites .card-title {
    font-size: 1.08em !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere !important;
  }

  body.page-template-page-websites .card-description {
    font-size: 0.9em !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
  }

  body.page-template-page-websites .card-preview {
    height: 190px !important;
  }
}

@media (max-width: 320px) {
  .page-template-page-websites .websites-2x2-grid {
    gap: 10px !important;
    padding: 0 4px !important;
    margin: 10px auto !important;
  }

  .page-template-page-websites .website-card-2x2 {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    aspect-ratio: auto !important;
  }

  body.page-template-page-websites .dashboard-content {
    padding: 6px !important;
  }

  body.page-template-page-websites .dashboard-section {
    padding: 14px 10px !important;
  }

  .page-template-page-websites .card-preview {
    height: 170px !important;
  }

  body.page-template-page-websites .card-info {
    padding: 12px !important;
  }

  body.page-template-page-websites .card-title {
    font-size: 1em !important;
  }

  body.page-template-page-websites .card-description {
    font-size: 0.85em !important;
  }
}

/* ==========================================================================
   WEBSITES PAGE TITLE CONSISTENCY
   Match Gallery page title size for consistency across pages
   ========================================================================== */

/* Websites page title size to match Gallery */
.page-template-page-websites .dashboard-title h1 {
  font-size: 3.5em !important;
}

@media (max-width: 768px) {
  .page-template-page-websites .dashboard-header {
    padding: 22px 10px !important;
    margin-bottom: 20px !important;
  }

  .page-template-page-websites .dashboard-title h1 {
    font-size: 2.4em !important;
    line-height: 1.15 !important;
  }

  .page-template-page-websites .dashboard-subtitle {
    font-size: 1.08em !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 550px) {
  .page-template-page-websites .dashboard-title h1 {
    font-size: 2.05em !important;
  }

  .page-template-page-websites .dashboard-subtitle {
    font-size: 0.98em !important;
  }
}

@media (max-width: 320px) {
  .page-template-page-websites .dashboard-title h1 {
    font-size: 1.75em !important;
    line-height: 1.16 !important;
  }
}

/* ==========================================================================
   WEBSITE CARD PREVIEW ENHANCEMENT
   Increase preview area to show more website content like gallery cards
   ========================================================================== */

/* Increase website preview area for better visibility */
.page-template-page-websites .card-preview {
  height: 250px !important;
}

/* Card height determined by content, not aspect ratio */
.page-template-page-websites .website-card-2x2 {
  min-height: 450px !important;
}

/* ==========================================================================
   FINAL MOBILE SAFETY OVERRIDES
   Keep these at file end so they win over inline/template defaults.
   ========================================================================== */

@media (max-width: 550px) {
  .page-template-page-websites .website-card-2x2 {
    min-height: 320px !important;
    aspect-ratio: auto !important;
  }

  .page-template-page-websites .card-preview {
    height: 190px !important;
  }
}

@media (max-width: 320px) {
  .page-template-page-websites .website-card-2x2 {
    min-height: auto !important;
    aspect-ratio: auto !important;
  }

  .page-template-page-websites .card-preview {
    height: 170px !important;
  }

  .page-template-page-websites .card-info {
    min-height: auto !important;
    overflow: visible !important;
  }

  .page-template-page-websites .card-description {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    margin-bottom: 10px !important;
  }
}

/* Websites preview modal responsive safeguards */
@media (max-width: 560px) {
  .page-template-page-websites .preview-modal-content {
    width: 98% !important;
    height: 98% !important;
    border-radius: 14px !important;
  }

  .page-template-page-websites .preview-modal-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 8px !important;
    padding: 14px 12px !important;
  }

  .page-template-page-websites .preview-info {
    min-width: 0;
  }

  .page-template-page-websites .preview-info h3 {
    font-size: 1.2em !important;
    line-height: 1.2 !important;
  }

  .page-template-page-websites .preview-url {
    font-size: 0.82em !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page-template-page-websites .preview-controls {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 8px !important;
  }

  .page-template-page-websites .control-btn {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    font-size: 1em !important;
    flex: 0 0 36px !important;
    padding: 0 !important;
    line-height: 1 !important;
  }
}

@media (max-width: 440px) {
  .page-template-page-websites .preview-modal-header {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 8px !important;
    align-items: start !important;
  }

  .page-template-page-websites .preview-controls {
    gap: 6px !important;
  }

  .page-template-page-websites .control-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.95em !important;
    flex: 0 0 32px;
  }

  .page-template-page-websites .preview-iframe-container.mobile-view #sitePreviewFrame {
    width: 100% !important;
    border-left-width: 2px !important;
    border-right-width: 2px !important;
    border-radius: 18px !important;
  }
}

@media (max-width: 320px) {
  .page-template-page-websites .preview-modal-header {
    padding: 12px 10px !important;
  }

  .page-template-page-websites .preview-info h3 {
    font-size: 1.05em !important;
  }

  .page-template-page-websites .preview-url {
    font-size: 0.76em !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page-template-page-websites .preview-controls {
    gap: 4px !important;
  }

  .page-template-page-websites .control-btn {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    font-size: 0.85em !important;
    flex: 0 0 28px !important;
    padding: 0 !important;
    line-height: 1 !important;
  }
}

/* ===== Extracted from page-websites.php ===== */

/* Prevent viewport-edge white bleed on this page during hover/compositing. */
html,
body.page-template-page-websites,
body.page-template-page-websites #page,
body.page-template-page-websites .site {
  background-color: #0b1321 !important;
}

body.page-template-page-websites {
  overscroll-behavior-y: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

/* Global Body Styling for Proper Background Rendering */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

/* ==========================================================================
   FUTURE TECH ICE STONE BACKGROUND - SOPHISTICATED AESTHETIC
   Low-key future tech ice cold stone look with animated lines
   ========================================================================== */

/* Future Tech Ice Stone Background */
.future-tech-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg,
      #f8f9fa 0%,
      /* Clean ice white */
      #e9ecef 25%,
      /* Subtle grey */
      #dee2e6 50%,
      /* Stone grey */
      #ced4da 75%,
      /* Darker stone */
      #adb5bd 100%
      /* Steel finish */
    );
  overflow: hidden;
}

.tech-stripes {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  opacity: 0.6;
  /* More pronounced as requested */
}

.tech-stripe {
  position: absolute;
  background: linear-gradient(45deg,
      transparent 0%,
      rgba(33, 150, 243, 0.4) 15%,
      /* Strong blue */
      rgba(76, 175, 80, 0.5) 25%,
      /* Vibrant green */
      rgba(244, 67, 54, 0.4) 35%,
      /* Bold red */
      rgba(255, 255, 255, 0.8) 50%,
      /* Bright center */
      rgba(244, 67, 54, 0.4) 65%,
      /* Bold red */
      rgba(76, 175, 80, 0.5) 75%,
      /* Vibrant green */
      rgba(33, 150, 243, 0.4) 85%,
      /* Strong blue */
      transparent 100%);
  height: 2px;
  /* Thicker for more pronounced effect */
  width: 100%;
  /* animation: techStripeMove 25s linear infinite; - DISABLED FOR PERFORMANCE */
  box-shadow:
    0 0 4px rgba(33, 150, 243, 0.3),
    0 0 8px rgba(76, 175, 80, 0.2),
    0 0 6px rgba(244, 67, 54, 0.2);
}

/* Tech stripe positioning - ANIMATIONS DISABLED FOR PERFORMANCE */
/*.tech-stripe.stripe-1 { top: 8%; animation-delay: 0s; }
.tech-stripe.stripe-2 { top: 22%; animation-delay: -5s; }
.tech-stripe.stripe-3 { top: 36%; animation-delay: -10s; }
.tech-stripe.stripe-4 { top: 52%; animation-delay: -15s; }
.tech-stripe.stripe-5 { top: 68%; animation-delay: -20s; }
.tech-stripe.stripe-6 { top: 84%; animation-delay: -3s; }*/

/* @keyframes techStripeMove - DISABLED FOR PERFORMANCE
@keyframes techStripeMove {
    0% { transform: translateX(-100%) rotate(45deg) scaleY(1); opacity: 0; }
    10% { opacity: 0.3; }
    50% { opacity: 0.6; transform: translateX(0%) rotate(45deg) scaleY(1.2); }
    90% { opacity: 0.3; }
    100% { transform: translateX(100%) rotate(45deg) scaleY(1); opacity: 0; }
}*/

/* Enhanced body styling for tech aesthetic */
body.page-template-page-websites {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100vh;
  position: relative;
}

/* DASHBOARD LAYOUT - COPY FROM WORKING GALLERY */
.dashboard-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  color: white;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px;
}

.dashboard-title h1 {
  color: #ffffff;
  font-size: 3em;
  margin: 0 0 15px 0;
  font-weight: 600;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.dashboard-subtitle {
  color: #f0f0f0;
  font-size: 1.4em;
  margin: 0;
  font-weight: 400;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Dashboard Sections */
.dashboard-section {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.dashboard-section h2 {
  color: #ffffff;
  font-size: 1.8em;
  margin: 0 0 10px 0;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.dashboard-section p {
  color: #e8e8e8;
  font-size: 1.1em;
  margin-bottom: 30px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Gallery Grid - DASHBOARD STYLE */
.dashboard-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

/* 2x2 Website Portfolio Grid - NEW LAYOUT */
.websites-2x2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 30px;
  margin-top: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.website-card-2x2 {
  aspect-ratio: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Dashboard Cards - WORKING LAYOUT */
.dashboard-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.dashboard-card:hover {
  transform: translate3d(0, -5px, 0);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.2);
}

.dashboard-card:hover .card-preview {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 2px 6px rgba(0, 0, 0, 0.15);
}

.featured-site {
  border-color: rgba(103, 126, 234, 0.5);
  box-shadow: 0 8px 32px rgba(103, 126, 234, 0.2);
}

.featured-site:hover {
  border-color: rgba(103, 126, 234, 0.8);
  box-shadow: 0 20px 60px rgba(103, 126, 234, 0.3);
}

.card-preview {
  position: relative;
  height: clamp(250px, 30vh, 340px);
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  /* Round top corners */
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 4px 15px rgba(0, 0, 0, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(2px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.card-image,
.site-preview-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  background-size: cover;
  background-position: center;
  filter: brightness(1) contrast(1.05) saturate(1.1);
}

.dashboard-card:hover .card-image,
.dashboard-card:hover .site-preview-thumb {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dashboard-card:hover .card-overlay {
  opacity: 1;
}

.card-action-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  color: #333;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-action-btn:hover {
  background: white;
  transform: translateY(-2px);
  color: #333;
  text-decoration: none;
}

.card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 0 auto;
}

.card-title {
  color: #ffffff;
  font-size: 1.3em;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.card-description {
  color: #e0e0e0;
  font-size: 0.95em;
  line-height: 1.5;
  margin: 0;
}

.card-practices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.practice-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.76em;
  font-weight: 500;
  color: #dbeafe;
  background: rgba(96, 165, 250, 0.16);
  border: 1px solid rgba(147, 197, 253, 0.35);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85em;
  margin-top: auto;
}

@media (min-width: 1250px) {
  .website-card-2x2 {
    min-height: clamp(430px, 48vh, 560px);
  }

  .card-preview {
    height: auto;
    min-height: 240px;
    flex: 1 1 auto;
  }

  .card-info {
    flex: 0 0 auto;
    min-height: auto;
    padding: 16px 18px;
    gap: 10px;
  }
}

@media (min-width: 1500px) {
  .websites-2x2-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    gap: 24px;
  }

  .card-info {
    flex-basis: auto;
    min-height: auto;
  }
}

.update-status {
  color: #81d4fa;
  font-weight: 500;
}

.update-time {
  color: #d1d5db;
}

/* Website Screenshot Backgrounds */
.dragica-preview {
  background-image: url('../../../images/dragica-screenshot.jpg') !important;
}

.ben-preview {
  background-image: url('../../../images/ben-screenshot.jpg') !important;
}

.reds-preview {
  background-image: url('../../../images/reds-plastering-large.png') !important;
}

.digital-preview {
  background-image: url('../../../images/digital-screenshot.jpg') !important;
}

.urban-preview {
  background-image: url('../../../images/urban-screenshot.jpg') !important;
}

.austen-preview {
  background-image: url('../../../images/austen-screenshot.jpg') !important;
}

.images-1976-preview {
  background-image: url('../../../images/1976.london - image-theme.png') !important;
}

.videos-1976-preview {
  background-image: url('../../../images/1976.london - video-theme.png') !important;
}

/* Modal Styles - Enhanced for websites */
.site-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  pointer-events: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(10px);
}

.site-preview-modal[style*='display:flex'],
.site-preview-modal[style*='display: flex'] {
  pointer-events: auto;
}

.preview-modal-content {
  width: 96%;
  height: 96%;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.preview-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: rgba(0, 0, 0, 0.05);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.preview-info h3 {
  margin: 0;
  color: #333;
  font-size: 1.4em;
  font-weight: 600;
}

.preview-url {
  color: #666;
  font-size: 0.9em;
  margin-top: 5px;
  display: block;
  font-weight: 500;
}

.preview-controls {
  display: flex;
  gap: 12px;
}

.control-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.3em;
}

.control-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
  border-color: rgba(0, 0, 0, 0.2);
}

.close-btn:hover {
  background: rgba(255, 82, 82, 0.9);
  color: white;
  border-color: rgba(255, 82, 82, 0.8);
}

.preview-iframe-container {
  flex: 1;
  position: relative;
  background: #f8f9fa;
}

#sitePreviewFrame {
  width: 100%;
  height: 100%;
  border: none;
  background: white;
}

.preview-iframe-container.mobile-view #sitePreviewFrame {
  width: 375px;
  height: 100%;
  margin: 0 auto;
  display: block;
  border-left: 3px solid #333;
  border-right: 3px solid #333;
  border-radius: 25px;
}

.loading-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: white;
  z-index: 10;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #f3f3f3;
  border-top: 6px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading-indicator p {
  margin-top: 25px;
  color: #666;
  font-size: 1.2em;
  font-weight: 500;
}

/* Screenshot Preview Styles for sites that can't be embedded */
.screenshot-preview {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  padding: 20px;
  box-sizing: border-box;
}

.reds-screenshot {
  max-width: 90%;
  max-height: 80%;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 15px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.reds-screenshot.mobile-view {
  max-width: 50%;
  max-height: 70%;
}

.screenshot-note {
  color: #666;
  font-size: 0.9em;
  text-align: center;
  margin: 0;
  max-width: 80%;
}

.screenshot-note a {
  color: #007cba;
  text-decoration: none;
  font-weight: 500;
}

.screenshot-note a:hover {
  text-decoration: underline;
}

/* Responsive layout rules are now managed in assets/css/pages/websites.css */