/* Coirle activity cards: keep these scoped to the favorites collection. */
body .fav-activities-container .fav-view-toggle {border:1px solid #cbd0e7;border-radius:10px;background:#eef0fa;padding:4px;gap:4px;width:fit-content;}
body .fav-activities-container .fav-view-btn {background:#eef0fa!important;color:#353b70!important;-webkit-text-fill-color:#353b70;border:0!important;border-radius:6px;min-height:44px;line-height:1.3;box-shadow:none;text-transform:none;}
body .fav-activities-container .fav-view-btn.active {background:#4c60ce!important;color:#fff!important;-webkit-text-fill-color:#fff;}
body .fav-activities-container .fav-view-btn:hover {background:#dde2fa!important;color:#273264!important;-webkit-text-fill-color:#273264;}
body .fav-activities-container button:focus-visible,body .fav-activities-container a:focus-visible {outline:3px solid #243eae;outline-offset:4px;}
body .fav-activities-container .fav-activity-item {position:relative;padding:0;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;min-width:0;gap:0;}
body .fav-activities-container .fav-activity-item:hover {box-shadow:none;transform:none;}
body .fav-activities-container .fav-activity-image {box-sizing:border-box;border:3px solid #ce28db;border-radius:26px;background-color:#fff;overflow:hidden;}
.fav-grid-view .fav-activity-image {height:auto;aspect-ratio:4/3;}
body .fav-activities-container .fav-activity-image img {display:block;width:100%;height:100%;object-fit:contain;transform:none!important;}
body .fav-activities-container .fav-card-favorite {position:absolute;top:14px;right:14px;z-index:2;}
body .fav-activities-container .fav-card-favorite .fav-button {display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:64px;height:64px;min-width:44px;padding:0;border:1px solid #527ecb;border-radius:50%;background:#fff!important;color:#4276c4!important;-webkit-text-fill-color:#4276c4;font-size:28px;line-height:1;box-shadow:0 3px 10px #24376b24;}
body .fav-activities-container .fav-card-favorite .fav-remove {background:#fff!important;color:#b023a5!important;-webkit-text-fill-color:#b023a5;}
body .fav-activities-container .fav-card-favorite .fav-button:hover {background:#f0f3ff!important;}
.fav-grid-view .fav-activity-content {box-sizing:border-box;width:100%;margin:0;padding:28px 12px 18px;text-align:center;}
body .fav-activities-container .fav-activity-title {margin:0;font-size:clamp(20px,2vw,28px);font-weight:600;line-height:1.35;overflow-wrap:anywhere;}
body .fav-activities-container .fav-activity-title a {color:#505bab!important;-webkit-text-fill-color:#505bab;text-decoration:none;}
.fav-grid-view .fav-activity-actions {box-sizing:border-box;width:100%;padding:10px 12px 24px;border:0;justify-content:center;margin-top:auto;}
body .fav-activities-container .fav-play-btn-large {display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:12px 22px;border:0;border-radius:5px;background:#5475f5!important;color:#fff!important;-webkit-text-fill-color:#fff;font-size:22px;font-weight:500;line-height:1.3;text-transform:uppercase;box-shadow:none;}
body .fav-activities-container .fav-play-btn-large:hover {background:#3e58cc!important;transform:none;}
.fav-activities-list.fav-grid-view {grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:32px 26px;}
.fav-list-view .fav-activity-item {align-items:center;gap:20px;}
.fav-list-view .fav-activity-image {width:200px;height:150px;}
.fav-list-view .fav-card-favorite {top:8px;right:8px;}
.fav-list-view .fav-card-favorite .fav-button {width:44px;height:44px;font-size:22px;}
.fav-list-view .fav-activity-content {margin:0;padding:12px 0;}
.fav-list-view .fav-activity-actions {padding:12px 0;}
@media(max-width:768px){
 .fav-list-view .fav-activity-item {flex-direction:row;flex-wrap:wrap;gap:12px;}
 .fav-list-view .fav-activity-image {width:140px;height:105px;}
 .fav-list-view .fav-activity-content {flex:1;min-width:120px;}
 .fav-list-view .fav-activity-actions {width:100%;justify-content:center;}
 .fav-grid-view .fav-card-favorite .fav-button {width:52px;height:52px;font-size:25px;}
 .fav-view-controls {align-items:flex-start;}
}
@media(prefers-reduced-motion:reduce){body .fav-activities-container * {transition:none!important;}}

/* Isolate the collection from Elementor/Jupiter button and heading presets. */
body .fav-activities-container .fav-activity-title,
body .fav-activities-container .fav-activity-title a {font-family:system-ui,-apple-system,Segoe UI,sans-serif!important;font-weight:600!important;}
body .fav-activities-container .fav-view-btn,
body .fav-activities-container .fav-play-btn-large {font-family:system-ui,-apple-system,Segoe UI,sans-serif!important;opacity:1!important;background-image:none!important;}
body .fav-activities-container .fav-view-btn .dashicons {color:inherit!important;-webkit-text-fill-color:inherit;}
body .fav-activities-container .fav-activity-item {padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;}
body .fav-activities-container .fav-activity-image {border:3px solid #ce28db!important;border-radius:26px!important;}
body .fav-activities-container .fav-activity-actions {border:0!important;background:transparent!important;}
/* Compact favorites grid: five columns when the collection is wide enough. */
body .fav-activities-container { container-type:inline-size; }
body .fav-activities-container .fav-activities-list.fav-grid-view { grid-template-columns:minmax(0,1fr);gap:28px 18px; }
body .fav-activities-container .fav-grid-view .fav-activity-content { padding:18px 8px 10px; }
body .fav-activities-container .fav-grid-view .fav-activity-title { font-size:20px;line-height:1.3; }
body .fav-activities-container .fav-grid-view .fav-activity-actions { padding:8px 8px 18px; }
body .fav-activities-container .fav-grid-view .fav-card-favorite { top:10px;right:10px; }
body .fav-activities-container .fav-grid-view .fav-card-favorite .fav-button { width:44px;height:44px;font-size:23px; }
body .fav-activities-container .fav-grid-view .fav-play-btn-large { min-height:44px;padding:10px 18px;font-size:18px; }
@container(min-width:400px){body .fav-activities-container .fav-activities-list.fav-grid-view {grid-template-columns:repeat(2,minmax(0,1fr));}}
@container(min-width:600px){body .fav-activities-container .fav-activities-list.fav-grid-view {grid-template-columns:repeat(3,minmax(0,1fr));}}
@container(min-width:800px){body .fav-activities-container .fav-activities-list.fav-grid-view {grid-template-columns:repeat(4,minmax(0,1fr));}}
@container(min-width:1000px){body .fav-activities-container .fav-activities-list.fav-grid-view {grid-template-columns:repeat(5,minmax(0,1fr));}}
@supports not (container-type:inline-size){
 @media(min-width:450px){body .fav-activities-container .fav-activities-list.fav-grid-view {grid-template-columns:repeat(2,minmax(0,1fr));}}
 @media(min-width:700px){body .fav-activities-container .fav-activities-list.fav-grid-view {grid-template-columns:repeat(3,minmax(0,1fr));}}
 @media(min-width:950px){body .fav-activities-container .fav-activities-list.fav-grid-view {grid-template-columns:repeat(4,minmax(0,1fr));}}
 @media(min-width:1100px){body .fav-activities-container .fav-activities-list.fav-grid-view {grid-template-columns:repeat(5,minmax(0,1fr));}}
}
