/* Style for the Read More Tweets button and section */
.twitter-read-more-btn {
  display: inline-block;
  padding: 10px 24px;
  background: #1da1f2;
  color: #fff !important;
  border-radius: 24px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none !important;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(29, 161, 242, 0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
.twitter-read-more-btn:hover {
  background: #0d8ddb;
  color: #fff;
  box-shadow: 0 4px 16px rgba(29, 161, 242, 0.15);
}
.twitter-read-more-section {
  text-align: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e1e8ed;
}

/* Ensure the widget container is scrollable if content overflows */
#twitter-container-main {
  overflow-y: auto;
  max-height: 500px;
  min-height: 200px;
}

/* Twitter container styling */
#twitter-timeline-container,
#static-tweet-container {
  width: 100%;
  margin-bottom: 10px;
}

/* Ensure blockquote styling */
.twitter-tweet {
  margin: 0 auto !important;
  max-width: 100% !important;
}

/* Force visibility and proper sizing for Twitter iframes */
iframe[id^="twitter-widget"] {
  width: 100% !important;
  min-height: 200px !important;
  border: none !important;
  overflow: visible !important;
}

/* Loading state styling */
.twitter-timeline {
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  background: #f8f9fa;
  color: #1da1f2;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}

.twitter-timeline:hover {
  background: #f0f3f5;
}
